Class UseCaseView

  • 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 UseCaseView
    extends com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
    Use case model element symbolic representation on the diagram.
    • Field Detail

      • behaviorsCompartmentHelper

        private com.nomagic.magicdraw.uml.symbols.shapes.BehaviorsCompartmentHelper behaviorsCompartmentHelper
    • Constructor Detail

      • UseCaseView

        public UseCaseView()
    • Method Detail

      • selfSpecificHeaderShapeDraw

        protected void selfSpecificHeaderShapeDraw​(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context)
        Overrides:
        selfSpecificHeaderShapeDraw in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • isShowRakeIcon

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

        protected boolean isOvalShape()
        Overrides:
        isOvalShape in class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
      • 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
        Overrides:
        accept in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
        Parameters:
        visitor - which visits this element.
        Throws:
        java.lang.Exception
      • setSuppressExtensionsCompartment

        public void setSuppressExtensionsCompartment​(boolean b)
      • sSetSuppressExtensionsCompartment

        public void sSetSuppressExtensionsCompartment​(boolean b)
      • isSuppressExtensionsCompartment

        public boolean isSuppressExtensionsCompartment()
      • isShowExtensionPointsCompartmentName

        public boolean isShowExtensionPointsCompartmentName()
      • sSetShowExtensionPointsCompartmentName

        public void sSetShowExtensionPointsCompartmentName​(boolean show)
      • setShowExtensionPointsCompartmentName

        public void setShowExtensionPointsCompartmentName​(boolean show)
      • internalApplyProperties

        public void internalApplyProperties​(PropertyManager man)
        Description copied from class: PresentationElement
        Applies properties from given property manager
        Overrides:
        internalApplyProperties in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
        Parameters:
        man - new properties
      • internalSilentApply

        public void internalSilentApply()
        Description copied from class: PresentationElement
        Silently applies all properties after initialization
        Overrides:
        internalSilentApply in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • getExtensionsCompartment

        public com.nomagic.magicdraw.uml.symbols.shapes.ExtensionPointsCompartmentView getExtensionsCompartment()
      • getExtensionPointsColor

        public java.awt.Color getExtensionPointsColor()
      • getExtensionPointsFont

        public java.awt.Font getExtensionPointsFont()
      • sSetExtensionPointsColor

        public void sSetExtensionPointsColor​(java.awt.Color color)
      • setExtensionPointsColor

        public void setExtensionPointsColor​(java.awt.Color color)
      • sSetExtensionPointsFont

        public void sSetExtensionPointsFont​(java.awt.Font font)
      • setExtensionPointsFont

        public void setExtensionPointsFont​(java.awt.Font font)
      • createSmartListenerConfig

        protected void createSmartListenerConfig​(java.util.List<SmartListenerConfig> configurations)
        Overrides:
        createSmartListenerConfig in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      • clone

        public UseCaseView clone()
        Description copied from class: ElementImpl
        Returns a copy of the Element.
        Specified by:
        clone in interface BaseElement
        Overrides:
        clone in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
        Returns:
        the cloned object
      • isShowInherited

        public boolean isShowInherited()
      • sSetShowInherited

        public void sSetShowInherited​(boolean showInherited)
      • setShowInherited

        public void setShowInherited​(boolean showInherited)
      • isShowExtensionPointsInheritedSign

        public boolean isShowExtensionPointsInheritedSign()
      • sSetShowExtensionPointsInheritedSign

        public void sSetShowExtensionPointsInheritedSign​(boolean showInherited)
      • setShowExtensionPointsInheritedSign

        public void setShowExtensionPointsInheritedSign​(boolean showInherited)
      • getHeaderView

        public com.nomagic.magicdraw.uml.symbols.shapes.UseCaseHeaderView getHeaderView()
        Overrides:
        getHeaderView in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView