Class PseudoNodeView

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

    @OpenApi
    public class PseudoNodeView
    extends com.nomagic.magicdraw.uml.symbols.shapes.ShapeWithLabels
    • Constructor Detail

      • PseudoNodeView

        public PseudoNodeView()
    • Method Detail

      • getType

        public int getType()
        Returns:
        the shape type
      • paintSelf

        public void paintSelf​(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context)
      • 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.ShapeWithLabels
        Parameters:
        visitor - which visits this element.
        Throws:
        java.lang.Exception
      • isInitialNode

        public boolean isInitialNode()
        Indicates if this symbol represents initial node.
        Returns:
        true if this symbol represents initial node, false otherwise.
      • isFlowFinalNode

        public boolean isFlowFinalNode()
        Indicates if this symbol represents flow final node.
        Returns:
        true if this symbol represents flow final node, false otherwise.
      • isActivityFinalNode

        public boolean isActivityFinalNode()
        Indicates if this symbol represents activity final node.
        Returns:
        true if this symbol represents activity final node, false otherwise.
      • sSetElement

        public void sSetElement​(Element element)
        Sets data type according to type of this view.
        Overrides:
        sSetElement in class com.nomagic.magicdraw.uml.symbols.shapes.ShapeWithLabels
      • createBoundsShape

        public ContainerShape createBoundsShape​(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.AbstractHeaderShapeView
        Parameters:
        path - path
        transformation - transformation
        Returns:
        shape
      • findParentForData

        public Element findParentForData​(PresentationElement parent,
                                         com.nomagic.uml2.ext.jmi.helpers.ElementAddContext addContext)
      • minimumSizeIgnoringOrientation

        protected void minimumSizeIgnoringOrientation​(java.awt.Dimension min)
        Overrides:
        minimumSizeIgnoringOrientation in class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
      • 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.