Class LostMessageView

java.lang.Object
com.nomagic.magicdraw.uml.MDElementImpl
com.nomagic.magicdraw.uml.symbols.PresentationElement
com.nomagic.magicdraw.uml.symbols.paths.PathConnector
com.nomagic.magicdraw.uml.symbols.paths.PathElement
com.nomagic.magicdraw.uml.symbols.paths.ContainerLinkView
com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
com.nomagic.magicdraw.uml.symbols.paths.SeqBaseMessageView
com.nomagic.magicdraw.uml.symbols.paths.LostFoundMessageView
com.nomagic.magicdraw.uml.symbols.paths.LostMessageView
All Implemented Interfaces:
BaseElement, com.nomagic.magicdraw.uml.CompartmentSupport, MDElement, ModelElementProvider, com.nomagic.magicdraw.uml.symbols.LabelOwner, com.nomagic.magicdraw.uml.symbols.LineJumpDrawer, NumberedMessageView, com.nomagic.magicdraw.uml.symbols.PropertyBasedPresentationElement, StereotypesDisplayModeOwner, com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider, NameOwner, PropertyChangeListener, Cloneable, Comparable, EventListener

@OpenApi public class LostMessageView extends com.nomagic.magicdraw.uml.symbols.paths.LostFoundMessageView

Represents lost message symbol.

Lost message does not have a receiver in the model, but the sender is known. Message symbol has an arrow and a black "bubble" at the receiving end.

  • Constructor Details

    • LostMessageView

      public LostMessageView()
    • LostMessageView

      public LostMessageView(@CheckForNull PresentationElement parent)
  • Method Details

    • accept

      public void accept(Visitor visitor) throws Exception
      Description copied from interface: MDElement
      Method accepts a visitor, and calls method "visit<class name>(this)" of a visitor. See "Visitor" pattern for more details.
      Specified by:
      accept in interface MDElement
      Overrides:
      accept in class com.nomagic.magicdraw.uml.symbols.paths.LostFoundMessageView
      Parameters:
      visitor - which visits this element.
      Throws:
      Exception
    • getSupplierDrawPoint

      public Point getSupplierDrawPoint()
      Description copied from class: PathElement
      Returns point where path drawing should start
      Overrides:
      getSupplierDrawPoint in class PathElement
      Returns:
      point
    • setInitialStartupPosition

      public void setInitialStartupPosition(Point p)
      Description copied from class: com.nomagic.magicdraw.uml.symbols.paths.LostFoundMessageView
      Sets initial position of the lost/found message.
      Specified by:
      setInitialStartupPosition in class com.nomagic.magicdraw.uml.symbols.paths.LostFoundMessageView
      Parameters:
      p - point at which to place the message.
    • setSupplierPoint

      public void setSupplierPoint(Point pt)
      Description copied from class: PathElement
      Sets first point. Sets new location for text boxes if a point is changed, text boxes must be moved too.
      Overrides:
      setSupplierPoint in class PathElement
      Parameters:
      pt - new 1st point
    • setBounds

      public void setBounds(Rectangle r)
      Description copied from class: PathElement
      Moves link to new location.
      Overrides:
      setBounds in class PathElement
      Parameters:
      r - new location of a path
    • isToLeft

      public boolean isToLeft(Point clientPoint, Point supplierPoint)
      Overrides:
      isToLeft in class com.nomagic.magicdraw.uml.symbols.paths.SeqBaseMessageView
    • isToRight

      public boolean isToRight(Point clientPoint, Point supplierPoint)
      Overrides:
      isToRight in class com.nomagic.magicdraw.uml.symbols.paths.SeqBaseMessageView