Class TransitionView

  • All Implemented Interfaces:
    BaseElement, com.nomagic.magicdraw.uml.CompartmentSupport, MDElement, ModelElementProvider, com.nomagic.magicdraw.uml.symbols.LabelOwner, com.nomagic.magicdraw.uml.symbols.LineJumpDrawer, StereotypesDisplayModeOwner, com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider, NameOwner, java.beans.PropertyChangeListener, java.lang.Cloneable, java.lang.Comparable, java.util.EventListener

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

      • OPAQUE_BEHAVIOR_DISPLAY_MODE_NAME

        public static final java.lang.String OPAQUE_BEHAVIOR_DISPLAY_MODE_NAME
        See Also:
        Constant Field Values
      • OPAQUE_BEHAVIOR_DISPLAY_MODE_BODY

        public static final java.lang.String OPAQUE_BEHAVIOR_DISPLAY_MODE_BODY
        See Also:
        Constant Field Values
      • OPAQUE_BEHAVIOR_DISPLAY_MODES

        public static final java.util.List<java.lang.String> OPAQUE_BEHAVIOR_DISPLAY_MODES
    • Constructor Detail

      • TransitionView

        public TransitionView()
    • Method Detail

      • accept

        public void accept​(Visitor visitor)
                    throws java.lang.Exception
        Description copied from interface: MDElement
        Method accepts visitor, and calls method visit<class name>(this) of 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:
        java.lang.Exception
      • updateNameBox

        public void updateNameBox()
        Overrides:
        updateNameBox in class com.nomagic.magicdraw.uml.symbols.paths.ContainerLinkView
      • 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​(java.util.List<SmartListenerConfig> configurations)
        Overrides:
        createSmartListenerConfig in class com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
      • checkShowsProxy

        protected boolean checkShowsProxy()
      • 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​(PropertyManager manager)
        Description copied from class: PathElement
        Applies properties
        Overrides:
        internalApplyProperties in class com.nomagic.magicdraw.uml.symbols.paths.LinkWithStereotype
        Parameters:
        manager - new properties
      • getOpaqueBehaviorDisplayMode

        public java.lang.String getOpaqueBehaviorDisplayMode()
      • sSetOpaqueBehaviorDisplayMode

        public void sSetOpaqueBehaviorDisplayMode​(java.lang.String mode)
      • setOpaqueBehaviorDisplayMode

        public void setOpaqueBehaviorDisplayMode​(java.lang.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
        Returns:
        confirmation status -- true if asking is necessary, false otherwise