Class SignalActionView

  • 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 SignalActionView
    extends ActionView
    • Field Detail

      • DIRECTION

        public static final java.util.List<java.lang.String> DIRECTION
      • mStep

        private int mStep
      • configurators

        private static java.util.List<java.util.function.Predicate<PresentationElement>> configurators
    • Constructor Detail

      • SignalActionView

        public SignalActionView()
    • Method Detail

      • internalGetHeaderInsets

        protected com.nomagic.ui.UnmodifiableInsets internalGetHeaderInsets()
        Overrides:
        internalGetHeaderInsets in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • selfSpecificHeaderShapeDraw

        protected void selfSpecificHeaderShapeDraw​(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context)
      • initialize

        public void initialize()
        Description copied from class: PresentationElement
        Initialize symbol and its children state. Symbol must be initialized before doing any resize, painting and etc. These operations can lead to unpredictable results otherwise.
      • 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
        Parameters:
        visitor - which visits this element.
        Throws:
        java.lang.Exception
      • isSendSignalAction

        public boolean isSendSignalAction()
      • setDirection

        public void setDirection​(java.lang.String direction)
        Sets direction of the icon.
        Parameters:
        direction - direction of the icon.
      • sSetDirection

        public void sSetDirection​(java.lang.String direction)
        Simple sets direction of the icon.
        Parameters:
        direction - direction of the icon.
      • internalSilentApply

        public void internalSilentApply()
        Description copied from class: PresentationElement
        Silently applies all properties after initialization
      • internalApplyProperties

        public void internalApplyProperties​(PropertyManager man)
        Description copied from class: PresentationElement
        Applies properties from given property manager
        Parameters:
        man - new properties
      • getDirection

        public java.lang.String getDirection()
        Returns the direction of the icon
      • isAcceptTimeEventActionNotation

        public boolean isAcceptTimeEventActionNotation()
      • getFirstTimeEvent

        @CheckForNull
        public TimeEvent getFirstTimeEvent()
        Returns:
        Get first time event, appearing in the TriggerList
      • setPolygonPoints

        private void setPolygonPoints​(int[] x,
                                      int[] y,
                                      BoundsTransformation transformation)
      • createBoundsShape

        public ContainerShape createBoundsShape​(@CheckForNull
                                                PathElement path,
                                                BoundsTransformation transformation)
        Description copied from class: ShapeElement
        Creates bounding shape for intersection calculation.
        Parameters:
        path - path
        transformation - transformation
        Returns:
        shape
      • createSmartListenerConfig

        protected void createSmartListenerConfig​(java.util.List<SmartListenerConfig> configurations)
      • createAnyActionConfig

        protected void createAnyActionConfig​(java.util.Collection configurations)
      • registerConfigurator

        public static void registerConfigurator​(java.util.function.Predicate<PresentationElement> configurator)
        Registers configurator
        Parameters:
        configurator - to register
      • isSignal

        public static boolean isSignal​(@CheckForNull
                                       PresentationElement element)
        Checks if symbol is shown as signal
        Returns:
        true if SignalActionView style should be applied