Class SignalActionView

java.lang.Object
com.nomagic.magicdraw.uml.MDElementImpl
com.nomagic.magicdraw.uml.symbols.PresentationElement
com.nomagic.magicdraw.uml.symbols.paths.PathConnector
com.nomagic.magicdraw.uml.symbols.shapes.ShapeElement
com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
com.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
com.nomagic.magicdraw.uml.symbols.shapes.ActionView
com.nomagic.magicdraw.uml.symbols.shapes.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.PropertyBasedPresentationElement, com.nomagic.magicdraw.uml.symbols.shapes.QualifiedNameLabelOwner, StereotypesDisplayModeOwner, com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider, com.nomagic.magicdraw.uml.symbols.Wrapable, NameOwner, PropertyChangeListener, Cloneable, Comparable, EventListener

@OpenApi public class SignalActionView extends ActionView
  • Field Details

  • Constructor Details

    • SignalActionView

      public SignalActionView()
    • SignalActionView

      public SignalActionView(@CheckForNull PresentationElement parent)
  • Method Details

    • getDefaultDimension

      protected UnmodifiableDimension getDefaultDimension()
      Overrides:
      getDefaultDimension in class ActionView
    • internalGetHeaderInsets

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

      protected void selfSpecificHeaderShapeDraw(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context)
      Overrides:
      selfSpecificHeaderShapeDraw in class ActionView
    • 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.
      Overrides:
      initialize in class ShapeElement
    • accept

      public void accept(Visitor visitor) throws Exception
      Description copied from interface: MDElement
      Method accepts a visitor, and calls method "visit<class name>(this)" of a visitor. See "Visitor" pattern for more details.
      Specified by:
      accept in interface MDElement
      Overrides:
      accept in class ActionView
      Parameters:
      visitor - which visits this element.
      Throws:
      Exception
    • isSendSignalAction

      public boolean isSendSignalAction()
    • setDirection

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

      public void sSetDirection(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
      Overrides:
      internalSilentApply in class ActionView
    • internalApplyProperties

      public void internalApplyProperties(com.dassault_systemes.modeler.magic.diagram.styledelegates.PresentationElementStyleChanger changer)
      Description copied from class: PresentationElement
      Applies properties from given property manager
      Overrides:
      internalApplyProperties in class ActionView
      Parameters:
      changer - new properties
    • getDirection

      public 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
    • createBoundsShape

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

      protected void createSmartListenerConfig(List<SmartListenerConfig> configurations)
      Overrides:
      createSmartListenerConfig in class ActionView
    • createAnyActionConfig

      protected void createAnyActionConfig(Collection configurations)
      Overrides:
      createAnyActionConfig in class ActionView
    • registerConfigurator

      public static void registerConfigurator(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