Class ShapeElement

java.lang.Object
com.nomagic.magicdraw.uml.MDElementImpl
All Implemented Interfaces:
BaseElement, MDElement, ModelElementProvider, com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape, com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider, NameOwner, PropertyChangeListener, Cloneable, Comparable, EventListener
Direct Known Subclasses:
com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView, NNaryAssociationView

@OpenApi public abstract class ShapeElement extends PathConnector implements com.nomagic.magicdraw.uml.symbols.manipulators.centerlines.CenterlineableShape, com.nomagic.magicdraw.uml.symbols.SuspendShapeAutoResizeModeProvider
Base class for all shapes. For example Class, Package is represented in diagram with some kind of rectangular shape.
  • Method Details

    • accept

      @OpenApi public void accept(Visitor visitor) throws 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 PathConnector
      Parameters:
      visitor - which visits this element.
      Throws:
      Exception