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.BaseTreeShape
com.nomagic.magicdraw.uml.symbols.shapes.TreeView
All Implemented Interfaces:
com.dassault_systemes.modeler.magic.diagram.filter.FilteredSymbolsChangeListener, BaseElement, MDElement, ModelElementProvider, com.nomagic.magicdraw.uml.symbols.LabelOwner, com.nomagic.magicdraw.uml.symbols.LineJumpDrawer, com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape, com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider, NameOwner, PropertyChangeListener, Cloneable, Comparable, EventListener

@OpenApi public class TreeView extends com.nomagic.magicdraw.uml.symbols.shapes.BaseTreeShape
This class represents tree header (part of tree symbol).
  • Constructor Details

    • TreeView

      public TreeView()
    • TreeView

      public TreeView(@CheckForNull PresentationElement parent)
  • Method Details

    • clone

      public TreeView clone()
      Specified by:
      clone in interface BaseElement
      Overrides:
      clone in class com.nomagic.magicdraw.uml.symbols.shapes.BaseTreeShape
    • 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.BaseTreeShape
      Parameters:
      visitor - which visits this element.
      Throws:
      Exception
    • internalGetModelElementToConnectRelationship

      @CheckForNull public com.dassault_systemes.modeler.foundation.model.ModelElement internalGetModelElementToConnectRelationship(@CheckForNull com.dassault_systemes.modeler.foundation.model.ModelElement relationship, boolean asClient)
      Description copied from class: PresentationElement
      Returns element that should be used for given relationship connecting. All possible elements are returned by method PresentationElement.getModelElementsForRelationshipConnecting().
      Overrides:
      internalGetModelElementToConnectRelationship in class PresentationElement
      Returns:
      all possible elements
      See Also:
    • sSetElement

      public void sSetElement(@CheckForNull Element element)
      Overrides:
      sSetElement in class PresentationElement
    • getGeneralizationSetView

      @CheckForNull public GeneralizationSetView getGeneralizationSetView()
    • getGeneralizationSetLabelWrapper

      public com.nomagic.magicdraw.uml.symbols.shapes.GeneralizationSetLabelWrapper getGeneralizationSetLabelWrapper()
    • isShowGeneralizationSet

      public boolean isShowGeneralizationSet()
      Indicates if a generalization set should be displayed.
      Returns:
      show generalization property value.
    • sSetShowGeneralizationSet

      public void sSetShowGeneralizationSet(boolean show)
      Simple sets (no updates) show generalization set property value.
      Parameters:
      show - - show generalization set property value.
    • setShowGeneralizationSet

      public void setShowGeneralizationSet(boolean show)
      Sets show generalization set property value.
      Parameters:
      show - - show generalization set property value.
    • removeConnectedPathElement

      public boolean removeConnectedPathElement(PathElement pathElement)
      Description copied from class: PathConnector
      Removes path element.
      Overrides:
      removeConnectedPathElement in class com.nomagic.magicdraw.uml.symbols.shapes.BaseTreeShape
      Parameters:
      pathElement - element to remove.
      Returns:
      true if an element was removed
    • isNoteAnchor

      protected boolean isNoteAnchor(PathElement path)
      Overrides:
      isNoteAnchor in class com.nomagic.magicdraw.uml.symbols.shapes.BaseTreeShape