Class OpaqueActionView

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.OpaqueActionView
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 OpaqueActionView extends ActionView
  • Field Details

    • SHOW_ACTION_NAME

      public static final String SHOW_ACTION_NAME
      Display action name on symbol option.
      See Also:
    • SHOW_BODY

      public static final String SHOW_BODY
      Display action body on symbol option.
      See Also:
    • SHOW_NAME_MODES

      public static final List SHOW_NAME_MODES
      A list of possible name display options for this action
  • Constructor Details

    • OpaqueActionView

      public OpaqueActionView()
    • OpaqueActionView

      public OpaqueActionView(PresentationElement parent)
  • Method Details

    • 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
    • constructHeaderView

      protected com.nomagic.magicdraw.uml.symbols.shapes.ActionHeaderView constructHeaderView()
      Overrides:
      constructHeaderView in class ActionView
    • createSmartListenerConfig

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

      protected void createAnyActionConfig(Collection configurations)
      Overrides:
      createAnyActionConfig in class ActionView
    • 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
    • getShowNameMode

      public String getShowNameMode()
      Show name mode option - name or body.
      Returns:
      name mode
      See Also:
    • sSetShowNameMode

      public void sSetShowNameMode(String mode)
      Set name mode option and do not update symbol.
      Parameters:
      mode - new mode
      See Also:
    • setShowNameMode

      public void setShowNameMode(String mode)
      Set name mode option and update symbol.
      Parameters:
      mode - new mode
      See Also:
    • getElement

      public OpaqueAction getElement()
      Description copied from class: PresentationElement
      Returns model element of this presentation element. Some presentation elements (for example TextBoxes) do not have model elements.
      Specified by:
      getElement in interface ModelElementProvider
      Overrides:
      getElement in class ActionView
      Returns:
      model element of this presentation element.
    • getHeaderView

      public com.nomagic.magicdraw.uml.symbols.shapes.OpaqueActionView.OpaqueActionHeaderView getHeaderView()
      Overrides:
      getHeaderView in class ActionView