Class TransitionView

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.TransitionView
All Implemented Interfaces:
BaseElement, com.nomagic.magicdraw.uml.CompartmentSupport, MDElement, ModelElementProvider, com.nomagic.magicdraw.uml.symbols.LabelOwner, com.nomagic.magicdraw.uml.symbols.LineJumpDrawer, com.nomagic.magicdraw.uml.symbols.PropertyBasedPresentationElement, StereotypesDisplayModeOwner, com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider, NameOwner, PropertyChangeListener, Cloneable, Comparable, EventListener

@OpenApi public class TransitionView extends com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
  • Field Details

    • OPAQUE_BEHAVIOR_DISPLAY_MODE_NAME

      public static final String OPAQUE_BEHAVIOR_DISPLAY_MODE_NAME
      See Also:
    • OPAQUE_BEHAVIOR_DISPLAY_MODE_BODY

      public static final String OPAQUE_BEHAVIOR_DISPLAY_MODE_BODY
      See Also:
    • OPAQUE_BEHAVIOR_DISPLAY_MODES

      public static final List<String> OPAQUE_BEHAVIOR_DISPLAY_MODES
  • Constructor Details

    • TransitionView

      public TransitionView()
    • TransitionView

      public TransitionView(@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.LinkWithStereotype
      Parameters:
      visitor - which visits this element.
      Throws:
      Exception
    • constructNameTextToDisplay

      @CheckForNull public String constructNameTextToDisplay()
      Overrides:
      constructNameTextToDisplay in class com.nomagic.magicdraw.uml.symbols.paths.ContainerLinkView
      Returns:
      pure name text for displaying
    • getElement

      public Transition getElement()
      Description copied from class: PresentationElement
      Returns model element of this presentation element. Some presentation elements (for example TextBoxes) do not have model elements.
      Specified by:
      getElement in interface com.nomagic.magicdraw.uml.symbols.LabelOwner
      Specified by:
      getElement in interface ModelElementProvider
      Overrides:
      getElement in class PresentationElement
      Returns:
      model element of this presentation element.
    • createSmartListenerConfig

      protected void createSmartListenerConfig(List<SmartListenerConfig> configurations)
      Overrides:
      createSmartListenerConfig in class com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
    • checkShowsProxy

      protected boolean checkShowsProxy()
      Overrides:
      checkShowsProxy in class PathConnector
    • isShowPort

      public boolean isShowPort()
      Returns value of the "Show Port" symbol property.
      Returns:
      value of the "Show Port" property.
    • setShowPort

      public void setShowPort(boolean showPort)
      Sets value of the "Show Port" symbol property.
      Parameters:
      showPort - value of the "Show Port" property.
    • sSetShowPort

      public void sSetShowPort(boolean showPort)
      Sets value of the "Show Port" symbol property.
      Parameters:
      showPort - value of the "Show Port" property.
    • internalSilentApply

      public void internalSilentApply()
      Description copied from class: PresentationElement
      Silently applies all properties after initialization
      Overrides:
      internalSilentApply in class com.nomagic.magicdraw.uml.symbols.paths.ContainerLinkView
    • internalApplyProperties

      public void internalApplyProperties(com.dassault_systemes.modeler.magic.diagram.styledelegates.PresentationElementStyleChanger changer)
      Description copied from class: PathElement
      Applies properties
      Overrides:
      internalApplyProperties in class com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
      Parameters:
      changer - new properties
    • getOpaqueBehaviorDisplayMode

      public String getOpaqueBehaviorDisplayMode()
    • sSetOpaqueBehaviorDisplayMode

      public void sSetOpaqueBehaviorDisplayMode(String mode)
    • setOpaqueBehaviorDisplayMode

      public void setOpaqueBehaviorDisplayMode(String mode)
    • isShowOperationsSignature

      public boolean isShowOperationsSignature()
      Returns:
      is trigger event operation signature shown
    • sSetShowOperationsSignature

      public void sSetShowOperationsSignature(boolean showSignature)
      Sets if trigger event operation signature should be shown
      Parameters:
      showSignature - new value
    • setShowOperationsSignature

      public void setShowOperationsSignature(boolean showSignature)
      Sets if trigger event operation signature should be shown
      Parameters:
      showSignature - new value
    • isUseAdvancedColoring

      public boolean isUseAdvancedColoring()
      Returns:
      true if advanced coloring should be used
    • sSetUseAdvancedColoring

      public void sSetUseAdvancedColoring(boolean use)
      Sets if operation should be colored using advanced coloring
      Parameters:
      use - new value
    • setUseAdvancedColoring

      public void setUseAdvancedColoring(boolean use)
      Sets if operation should be colored using advanced coloring
      Parameters:
      use - new value
    • askDeleteDataConfirmation

      public boolean askDeleteDataConfirmation()
      Description copied from class: PathElement
      Return true, because while deleting link view user must be prompt about deleting data
      Overrides:
      askDeleteDataConfirmation in class PathElement
      Returns:
      confirmation status -- true if asking is necessary, false otherwise