Class ObjectNodeView

  • All Implemented Interfaces:
    BaseElement, com.nomagic.magicdraw.uml.CompartmentSupport, MDElement, ModelElementProvider, com.nomagic.magicdraw.uml.symbols.CompartmentContainer, com.nomagic.magicdraw.uml.symbols.CompartmentOwner, com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape, com.nomagic.magicdraw.uml.symbols.shapes.QualifiedNameLabelOwner, StereotypesDisplayModeOwner, com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider, com.nomagic.magicdraw.uml.symbols.Wrapable, NameOwner, java.beans.PropertyChangeListener, java.lang.Cloneable, java.lang.Comparable, java.util.EventListener

    @OpenApi
    public class ObjectNodeView
    extends com.nomagic.magicdraw.uml.symbols.shapes.TypedElementView
    • Field Detail

      • SHOW_PARAMETER_NAME

        public static final java.lang.String SHOW_PARAMETER_NAME
        See Also:
        Constant Field Values
      • SHOW_NAME_MODES

        public static final java.util.List SHOW_NAME_MODES
    • Constructor Detail

      • ObjectNodeView

        public ObjectNodeView()
    • Method Detail

      • getInStateText

        public static java.lang.String getInStateText​(ObjectNode objectNode)
      • getStateView

        protected com.nomagic.magicdraw.uml.symbols.shapes.TextObject getStateView()
      • getStreamView

        protected com.nomagic.magicdraw.uml.symbols.shapes.TextObject getStreamView()
      • internalSpecificUpdate

        protected void internalSpecificUpdate()
        Overrides:
        internalSpecificUpdate in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • updateChildrenVisibility

        public void updateChildrenVisibility()
        Overrides:
        updateChildrenVisibility in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • updateStateVisibility

        private void updateStateVisibility()
      • updatePropertiesVisibility

        private void updatePropertiesVisibility()
      • setShowActivityParameterNodeNameMode

        private void setShowActivityParameterNodeNameMode​(java.lang.String mode)
      • getShowActivityParameterNodeNameMode

        public java.lang.String getShowActivityParameterNodeNameMode()
      • internalApplyProperties

        public void internalApplyProperties​(PropertyManager manager)
        Description copied from class: PresentationElement
        Applies properties from given property manager
        Overrides:
        internalApplyProperties in class com.nomagic.magicdraw.uml.symbols.shapes.TypedElementView
        Parameters:
        manager - new properties
      • internalSilentApply

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

        public boolean isShowDirection()
      • sSetShowDirection

        public void sSetShowDirection​(boolean showDirection)
      • setShowDirection

        public void setShowDirection​(boolean showDirection)
      • isShowState

        public boolean isShowState()
      • sSetShowState

        public void sSetShowState​(boolean showState)
      • setShowState

        public void setShowState​(boolean showState)
      • isShowProperties

        public boolean isShowProperties()
      • setShowProperties

        public void setShowProperties​(boolean showProperties)
      • sSetShowProperties

        public void sSetShowProperties​(boolean showProperties)
      • 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.shapes.TypedElementView
        Parameters:
        visitor - which visits this element.
        Throws:
        java.lang.Exception
      • getStereotypesToDisplay

        protected com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView.StereotypeDisplayData getStereotypesToDisplay()
        Overrides:
        getStereotypesToDisplay in class com.nomagic.magicdraw.uml.symbols.shapes.TypedElementView
      • sSetClassifiers

        public void sSetClassifiers​(java.util.List<Classifier> type)
        Specified by:
        sSetClassifiers in class com.nomagic.magicdraw.uml.symbols.shapes.TypedElementView
      • getMetaClassifiersQPropertyName

        public java.lang.String getMetaClassifiersQPropertyName()
        Specified by:
        getMetaClassifiersQPropertyName in class com.nomagic.magicdraw.uml.symbols.shapes.TypedElementView
      • getClassifier

        public Classifier getClassifier()
        Specified by:
        getClassifier in class com.nomagic.magicdraw.uml.symbols.shapes.TypedElementView
      • findParentForData

        public Element findParentForData​(PresentationElement parent,
                                         com.nomagic.uml2.ElementAddContext addContext)
      • getOutgoingToActionObjectFlow

        @CheckForNull
        public ObjectFlowView getOutgoingToActionObjectFlow()
      • getIncomingFromActionObjectFlow

        @CheckForNull
        public ObjectFlowView getIncomingFromActionObjectFlow()
      • doConvertObjectNodeToPin

        private static void doConvertObjectNodeToPin​(ObjectNodeView nodeView,
                                                     boolean toInput)
      • createSmartListenerConfig

        protected void createSmartListenerConfig​(java.util.List<SmartListenerConfig> configurations)
        Overrides:
        createSmartListenerConfig in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • hasSharedData

        public boolean hasSharedData()
        Description copied from class: PresentationElement
        Returns true if data of this object can be shared. If data is not shared data can be deleted with del key. Or it must be deleted with CRL+D
        Returns:
        true if data of this object can be shared.
      • addConnectedPathElement

        public boolean addConnectedPathElement​(PathElement element)
        Description copied from class: PathConnector
        Adds new path element, and recalculates its position.
        Parameters:
        element - element to be added.
        Returns:
        true if element was added
      • removeConnectedPathElement

        public boolean removeConnectedPathElement​(PathElement link)
        Description copied from class: PathConnector
        Removes path element.
        Parameters:
        link - element to remove.
        Returns:
        true if element was removed
      • shouldDrawShadow

        protected boolean shouldDrawShadow()
      • getHeaderView

        public com.nomagic.magicdraw.uml.symbols.shapes.ObjectNodeViewHeaderView getHeaderView()
        Overrides:
        getHeaderView in class com.nomagic.magicdraw.uml.symbols.shapes.TypedElementView