Class SwimlaneView

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.TableShapeView<ActivityPartition,SwimlaneCellView,com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderView>
com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneView
All Implemented Interfaces:
BaseElement, MDElement, ModelElementProvider, com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape, com.nomagic.magicdraw.uml.symbols.PropertyBasedPresentationElement, StereotypesDisplayModeOwner, com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider, NameOwner, PropertyChangeListener, Cloneable, Comparable, EventListener

@OpenApi public class SwimlaneView extends com.nomagic.magicdraw.uml.symbols.shapes.TableShapeView<ActivityPartition,SwimlaneCellView,com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderView> implements StereotypesDisplayModeOwner, com.nomagic.magicdraw.uml.symbols.PropertyBasedPresentationElement
  • Field Details

  • Constructor Details

    • SwimlaneView

      public SwimlaneView(@CheckForNull PresentationElement parent)
    • SwimlaneView

      public SwimlaneView()
  • Method Details

    • internalUpdatePresentationElement

      protected void internalUpdatePresentationElement()
      Description copied from class: PresentationElement
      Internal symbol update method for subclassing. It is called from update as part of full update action.
      Overrides:
      internalUpdatePresentationElement in class com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
      See Also:
    • 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.TableShapeView<ActivityPartition,SwimlaneCellView,com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderView>
      Parameters:
      visitor - which visits this element.
      Throws:
      Exception
    • canAddInstance

      public boolean canAddInstance(PresentationElement symbol)
      Description copied from class: PresentationElement
      Object view has no children.
      Overrides:
      canAddInstance in class com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
    • 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 ShapeElement
      Parameters:
      changer - new properties
    • internalSilentApply

      public void internalSilentApply()
      Description copied from class: PresentationElement
      Silently applies all properties after initialization
      Overrides:
      internalSilentApply in class ShapeElement
    • isShowElementProperties

      public boolean isShowElementProperties()
    • setShowElementProperties

      public void setShowElementProperties(boolean showElementProperties)
    • sSetShowElementProperties

      public void sSetShowElementProperties(boolean showElementProperties)
    • getStereotypesDisplayMode

      public String getStereotypesDisplayMode()
      Description copied from interface: StereotypesDisplayModeOwner
      Gets stereotype display mode.
      Specified by:
      getStereotypesDisplayMode in interface StereotypesDisplayModeOwner
      Returns:
      stereotype display mode.
    • sSetStereotypesDisplayMode

      public void sSetStereotypesDisplayMode(String mode)
      Description copied from interface: StereotypesDisplayModeOwner
      Simple sets (no updates) stereotypes display mode.
      Specified by:
      sSetStereotypesDisplayMode in interface StereotypesDisplayModeOwner
      Parameters:
      mode - stereotypes display mode value.
    • setStereotypesDisplayMode

      public void setStereotypesDisplayMode(String mode)
      Description copied from interface: StereotypesDisplayModeOwner
      Sets stereotype display mode value.
      Specified by:
      setStereotypesDisplayMode in interface StereotypesDisplayModeOwner
      Parameters:
      mode - stereotype display mode.
    • getDSLStereotypesDisplayMode

      public String getDSLStereotypesDisplayMode()
      Description copied from interface: StereotypesDisplayModeOwner
      Gets DSL stereotype display mode.
      Specified by:
      getDSLStereotypesDisplayMode in interface StereotypesDisplayModeOwner
      Returns:
      stereotype display mode.
    • sSetDSLStereotypesDisplayMode

      public void sSetDSLStereotypesDisplayMode(String mode)
      Description copied from interface: StereotypesDisplayModeOwner
      Simple sets (no updates) DSL stereotypes display mode.
      Specified by:
      sSetDSLStereotypesDisplayMode in interface StereotypesDisplayModeOwner
      Parameters:
      mode - stereotypes display mode value.
    • setDSLStereotypesDisplayMode

      public void setDSLStereotypesDisplayMode(String mode)
      Description copied from interface: StereotypesDisplayModeOwner
      Sets DSL stereotype display mode value.
      Specified by:
      setDSLStereotypesDisplayMode in interface StereotypesDisplayModeOwner
      Parameters:
      mode - stereotype display mode.
    • isVerticalCenterlineProvider

      public boolean isVerticalCenterlineProvider()
      Description copied from class: ShapeElement
      Indicates whether this shape provides vertical center-lines to other shapes.
      Overrides:
      isVerticalCenterlineProvider in class ShapeElement
      Returns:
      true if this shape provides vertical center lines, false otherwise.
    • isHorizontalCenterlineProvider

      public boolean isHorizontalCenterlineProvider()
      Description copied from class: ShapeElement
      Indicates whether this shape provides horizontal center-lines to other shapes.
      Overrides:
      isHorizontalCenterlineProvider in class ShapeElement
      Returns:
      true if this shape provides horizontal center-lines, false otherwise.
    • isShowTaggedValues

      public boolean isShowTaggedValues()
    • sSetShowTaggedValues

      public void sSetShowTaggedValues(boolean show)
    • setShowTaggedValues

      public void setShowTaggedValues(boolean show)
    • setShowConstraints

      public void setShowConstraints(boolean show)
    • sSetShowConstraints

      public void sSetShowConstraints(boolean show)
    • isShowConstraints

      public boolean isShowConstraints()
    • setConstraintTextMode

      public void setConstraintTextMode(String mode)
    • sSetConstraintTextMode

      public void sSetConstraintTextMode(String mode)
    • getConstraintTextMode

      public String getConstraintTextMode()
    • getShowPartitionNameMode

      public String getShowPartitionNameMode()
    • isUseFullRepresentedElementSignature

      public boolean isUseFullRepresentedElementSignature()
    • setShowPartitionNameMode

      public void setShowPartitionNameMode(String mode)
    • sSetShowPartitionNameMode

      public void sSetShowPartitionNameMode(String mode)
    • setUseFullRepresentedElementSignature

      public void setUseFullRepresentedElementSignature(boolean value)
    • sSetUseFullRepresentedElementSignature

      public void sSetUseFullRepresentedElementSignature(boolean value)
    • getSecondaryImageAndStereotypeDisplayMode

      public String getSecondaryImageAndStereotypeDisplayMode()
    • sSetSecondaryImageAndStereotypeDisplayMode

      public void sSetSecondaryImageAndStereotypeDisplayMode(String mode)
    • setSecondaryImageAndStereotypeDisplayMode

      public void setSecondaryImageAndStereotypeDisplayMode(String mode)
    • getCenterlineableInnerParts

      public List<com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape> getCenterlineableInnerParts(int orientation)
      Description copied from interface: com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape
      Gets shape inner parts which have centerlines.
      Specified by:
      getCenterlineableInnerParts in interface com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape
      Overrides:
      getCenterlineableInnerParts in class ShapeElement
      Parameters:
      orientation - orientation of inner parts centerlines.
      Returns:
      a list of inner parts which can have centerlines.
    • getHeaderVerticalPosition

      public com.nomagic.magicdraw.uml.symbols.shapes.TextObject.VerticalPosition getHeaderVerticalPosition()
      Returns:
      header vertical position on Y axis
    • setHeaderVerticalPosition

      public void setHeaderVerticalPosition(com.nomagic.magicdraw.uml.symbols.shapes.TextObject.VerticalPosition headerVerticalPosition)
      Set header vertical position on Y axis
      Parameters:
      headerVerticalPosition - position
    • getRemoveHeaderCommandName

      protected String getRemoveHeaderCommandName()
      Specified by:
      getRemoveHeaderCommandName in class com.nomagic.magicdraw.uml.symbols.shapes.TableShapeView<ActivityPartition,SwimlaneCellView,com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderView>
    • fillSelf

      protected void fillSelf(Graphics2D g)
      Specified by:
      fillSelf in class com.nomagic.magicdraw.uml.symbols.shapes.TableShapeView<ActivityPartition,SwimlaneCellView,com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderView>
    • createTableShapeInitializer

      protected com.nomagic.magicdraw.uml.symbols.shapes.TableShapeInitializer createTableShapeInitializer()
      Specified by:
      createTableShapeInitializer in class com.nomagic.magicdraw.uml.symbols.shapes.TableShapeView<ActivityPartition,SwimlaneCellView,com.nomagic.magicdraw.uml.symbols.shapes.SwimlaneHeaderView>
    • findOwnerForElement

      public com.dassault_systemes.modeler.foundation.model.ModelElement findOwnerForElement(PresentationElement parent, com.dassault_systemes.modeler.foundation.model.ModelElementOwnershipContext ownershipContext)
      Overrides:
      findOwnerForElement in class PresentationElement
    • createPresentationElementStyle

      protected com.dassault_systemes.modeler.foundation.diagram.style.PresentationElementStyle createPresentationElementStyle()
      Description copied from class: PresentationElement
      Creates the presentation element style for this presentation element. Override only if a specific style for a specific presentation element should be created. The default implementation is to get style though style registry
      Overrides:
      createPresentationElementStyle in class PresentationElement
    • asPresentationElement

      public PresentationElement asPresentationElement()
      Specified by:
      asPresentationElement in interface com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape
      Specified by:
      asPresentationElement in interface com.nomagic.magicdraw.uml.symbols.PropertyBasedPresentationElement