Class ActionView

  • 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
    Direct Known Subclasses:
    CallBehaviorActionView, CallOperationActionView, OpaqueActionView, SignalActionView, StructuredActivityNodeView

    @OpenApi
    public class ActionView
    extends com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
    Represents action model element.
    • Constructor Detail

      • ActionView

        public ActionView()
    • Method Detail

      • findParentForData

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

        protected com.nomagic.magicdraw.uml.symbols.shapes.ActionHeaderView constructHeaderView()
      • getHeaderView

        public com.nomagic.magicdraw.uml.symbols.shapes.ActionHeaderView getHeaderView()
        Overrides:
        getHeaderView in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • createBoundsShape

        public ContainerShape createBoundsShape​(@CheckForNull
                                                PathElement path,
                                                BoundsTransformation transformation)
        Description copied from class: ShapeElement
        Creates bounding shape for intersection calculation.
        Overrides:
        createBoundsShape in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
        Parameters:
        path - path
        transformation - transformation
        Returns:
        shape
      • selfSpecificHeaderShapeDraw

        protected void selfSpecificHeaderShapeDraw​(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context)
        Overrides:
        selfSpecificHeaderShapeDraw in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • canAddInstance

        public boolean canAddInstance​(PresentationElement obj)
        Description copied from class: PresentationElement
        Object view has no children.
        Overrides:
        canAddInstance in class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
      • 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.HeaderShapeView
        Parameters:
        visitor - which visits this element.
        Throws:
        java.lang.Exception
      • getProxyPresentationElementsStream

        protected java.util.stream.Stream<PresentationElement> getProxyPresentationElementsStream()
        Overrides:
        getProxyPresentationElementsStream in class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
      • createSmartListenerConfig

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

        protected void createAnyActionConfig​(java.util.Collection<SmartListenerConfig> configurations)
      • getPinSymbol

        @CheckForNull
        public PinView getPinSymbol​(Pin pin)
        Find owned symbol for a given pin
        Parameters:
        pin - pin for which symbol existence should be checked.
        Returns:
        found symbol or null
      • getPinViews

        public java.util.List<PinView> getPinViews()
        Gets pin symbols lying on this action.
        Returns:
        pin symbols lying on this action.
      • 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.
      • internalPostUpdatePresentationElement

        protected void internalPostUpdatePresentationElement()
        Overrides:
        internalPostUpdatePresentationElement in class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
      • 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.shapes.HeaderShapeView
      • internalApplyProperties

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