Class GeneralizationSetView

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.GeneralizationSetView
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 GeneralizationSetView extends com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
  • Constructor Details

    • GeneralizationSetView

      public GeneralizationSetView()
    • GeneralizationSetView

      public GeneralizationSetView(@CheckForNull PresentationElement parent)
  • Method Details

    • getDefaultDimension

      @CheckForNull protected UnmodifiableDimension getDefaultDimension()
      Overrides:
      getDefaultDimension in class ShapeElement
    • 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
    • isShowPowertype

      public boolean isShowPowertype()
    • sSetShowPowertype

      public void sSetShowPowertype(boolean show)
    • setShowPowertype

      public void setShowPowertype(boolean show)
    • isShowCompleteDisjoint

      public boolean isShowCompleteDisjoint()
    • sSetShowCompleteDisjoint

      public void sSetShowCompleteDisjoint(boolean show)
    • setShowCompleteDisjoint

      public void setShowCompleteDisjoint(boolean show)
    • 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
    • createSmartListenerConfig

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

      protected void internalSpecificUpdate()
      Description copied from class: com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
      Specific to every shape and model element update operation. Must be overridden in subclasses if you need to do specific tasks. !!! Important - all resizing, paths moving and so on is done in updatePresentationElement and should not be done in specific update.
      Overrides:
      internalSpecificUpdate in class com.nomagic.magicdraw.uml.symbols.shapes.HeaderShapeView
      See Also:
      • AbstractHeaderShapeView.internalUpdatePresentationElement()
    • canHavePaths

      public boolean canHavePaths()
      Overrides:
      canHavePaths in class ShapeElement
      Returns:
      true if symbol can have connected paths. Return false here.
    • sSetVisibility

      public void sSetVisibility(com.nomagic.magicdraw.uml.symbols.PresentationElementVisibility visibility)
      Description copied from class: PresentationElement
      Sets element visibility flag.
      Overrides:
      sSetVisibility in class ShapeElement
      Parameters:
      visibility - flag value
    • setVisibility

      public void setVisibility(com.nomagic.magicdraw.uml.symbols.PresentationElementVisibility visibility)
      Description copied from class: PresentationElement
      Sets element visibility flag.
      Overrides:
      setVisibility in class PathConnector
      Parameters:
      visibility - flag value
    • checkShowsProxy

      protected boolean checkShowsProxy()
      Overrides:
      checkShowsProxy in class com.nomagic.magicdraw.uml.symbols.shapes.ContainerShapeView
    • internalGetHeaderInsets

      protected com.nomagic.ui.UnmodifiableInsets internalGetHeaderInsets()
      Overrides:
      internalGetHeaderInsets in class com.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
    • setWrapEnabled

      public void setWrapEnabled(boolean b)
      Sets wrap enabled
      Specified by:
      setWrapEnabled in interface com.nomagic.magicdraw.uml.symbols.Wrapable
      Overrides:
      setWrapEnabled in class com.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
    • sSetWrapEnabled

      public void sSetWrapEnabled(boolean b)
      Sets wrap enabled
      Specified by:
      sSetWrapEnabled in interface com.nomagic.magicdraw.uml.symbols.Wrapable
      Overrides:
      sSetWrapEnabled in class com.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
    • isWrapEnabled

      public boolean isWrapEnabled()
      Returns wrap enabled
      Specified by:
      isWrapEnabled in interface com.nomagic.magicdraw.uml.symbols.Wrapable
      Overrides:
      isWrapEnabled in class com.nomagic.magicdraw.uml.symbols.shapes.BaseHeaderShapeView
    • getElement

      public GeneralizationSet 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.
    • selfSpecificHeaderShapeDraw

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

      public void draw(com.nomagic.magicdraw.uml.symbols.DiagramPaintContext context)
      Description copied from class: PresentationElement
      Draw symbol using renderer or symbol specific draw if renderer is not available. Also draw adornments.
      Overrides:
      draw in class PresentationElement
      Parameters:
      context - paint context
    • sSetHeaderOrientationVertical

      public void sSetHeaderOrientationVertical(boolean value)
    • setHeaderOrientationVertical

      public void setHeaderOrientationVertical(boolean value)
    • isHeaderOrientationVertical

      public boolean isHeaderOrientationVertical()
      Description copied from class: com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
      Indicates whether header orientation is vertical, for example text is displayed vertically in header.
      Overrides:
      isHeaderOrientationVertical in class com.nomagic.magicdraw.uml.symbols.shapes.AbstractHeaderShapeView
      Returns:
      true if header orientation is vertical, false otherwise.
    • needAdjustToMaximumDimension

      protected boolean needAdjustToMaximumDimension()
      Description copied from class: ShapeElement
      Check if shape should be resized to a maximum size.
      Overrides:
      needAdjustToMaximumDimension in class ShapeElement
      Returns:
      true if adjustments are necessary