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

      • SHOW_ACTION_NAME

        public static final java.lang.String SHOW_ACTION_NAME
        Display action name on symbol option.
        See Also:
        Constant Field Values
      • SHOW_BODY

        public static final java.lang.String SHOW_BODY
        Display action body on symbol option.
        See Also:
        Constant Field Values
      • SHOW_NAME_MODES

        public static final java.util.List SHOW_NAME_MODES
        A list of possible name display options for this action
    • Constructor Detail

      • OpaqueActionView

        public OpaqueActionView()
    • Method Detail

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

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

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

        protected void createAnyActionConfig​(java.util.Collection configurations)
      • 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
      • getShowNameMode

        public java.lang.String getShowNameMode()
        Show name mode option - name or body.
        Returns:
        name mode
        See Also:
        SHOW_ACTION_NAME, SHOW_BODY
      • sSetShowNameMode

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

        public void setShowNameMode​(java.lang.String mode)
        Set name mode option and update symbol.
        Parameters:
        mode - new mode
        See Also:
        SHOW_ACTION_NAME, SHOW_BODY
      • 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
        Returns:
        model element of this presentation element.
      • getHeaderView

        public com.nomagic.magicdraw.uml.symbols.shapes.OpaqueActionView.OpaqueActionHeaderView getHeaderView()