Class UseCaseView

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

    • UseCaseView

      public UseCaseView()
    • UseCaseView

      public UseCaseView(@CheckForNull PresentationElement parent)
  • Method Details

    • selfSpecificHeaderShapeDraw

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

      public boolean isShowRakeIcon()
      Description copied from class: com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      Indicated if an element should show Rake Icon
      Overrides:
      isShowRakeIcon in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      Returns:
      true in case should show, else false
    • isOvalShape

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

      public boolean isSuppressExtensionsCompartment()
    • 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 com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      Parameters:
      changer - 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()
    • getDefaultDimension

      protected UnmodifiableDimension getDefaultDimension()
      Overrides:
      getDefaultDimension in class ShapeElement
    • getExtensionPointsColor

      public Color getExtensionPointsColor()
    • getExtensionPointsFont

      public Font getExtensionPointsFont()
    • sSetExtensionPointsColor

      public void sSetExtensionPointsColor(Color color)
    • setExtensionPointsColor

      public void setExtensionPointsColor(Color color)
    • sSetExtensionPointsFont

      public void sSetExtensionPointsFont(Font font)
    • setExtensionPointsFont

      public void setExtensionPointsFont(Font font)
    • createSmartListenerConfig

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

      public UseCaseView clone()
      Specified by:
      clone in interface BaseElement
      Overrides:
      clone in class com.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
    • 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)
    • sSetParent

      public void sSetParent(@CheckForNull PresentationElement parent)
      Description copied from class: PresentationElement
      Overrides:
      sSetParent in class PresentationElement
      Parameters:
      parent - parent view
    • getElement

      public UseCase 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 PresentationElement
      Returns:
      model element of this presentation element.
    • getHeaderView

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