Class CallBehaviorActionView

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

      • SHOW_ACTION_NAME

        public static final java.lang.String SHOW_ACTION_NAME
        See Also:
        Constant Field Values
      • SHOW_BEHAVIOR_NAME

        public static final java.lang.String SHOW_BEHAVIOR_NAME
        See Also:
        Constant Field Values
      • SHOW_BOTH_OR_BEHAVIOR_NAME

        public static final java.lang.String SHOW_BOTH_OR_BEHAVIOR_NAME
        See Also:
        Constant Field Values
      • SHOW_NAME_MODES

        public static final java.util.List SHOW_NAME_MODES
    • Constructor Detail

      • CallBehaviorActionView

        public CallBehaviorActionView()
      • CallBehaviorActionView

        public CallBehaviorActionView​(@CheckForNull
                                      PresentationElement parent)
    • 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
      • getElement

        public CallBehaviorAction 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.
      • constructHeaderView

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

        protected com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView.StereotypeDisplayData getStereotypesToDisplay()
        Overrides:
        getStereotypesToDisplay in class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
      • isShowRakeIcon

        public boolean isShowRakeIcon()
        Overrides:
        isShowRakeIcon in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • createSmartListenerConfig

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

        protected void createAnyActionConfig​(java.util.Collection configurations)
        Do nothing here, as this action is a leaf and have its own specific properties to listen
        Parameters:
        configurations - configurations
      • internalSilentApply

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

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

        public java.lang.String getShowActionBehaviorNameMode()
      • setShowNameMode

        private void setShowNameMode​(java.lang.String mode)
      • sSetShowNameMode

        private void sSetShowNameMode​(java.lang.String mode)
      • getHeaderView

        public com.nomagic.magicdraw.uml.symbols.shapes.CallBehaviorActionHeaderView getHeaderView()