Class NonSymbolDiagramDescriptor<C extends Component>
java.lang.Object
com.nomagic.magicdraw.uml.DiagramDescriptor
com.nomagic.magicdraw.uml.diagrams.NonSymbolDiagramDescriptor<C>
- All Implemented Interfaces:
Cloneable
@OpenApiAll
public abstract class NonSymbolDiagramDescriptor<C extends Component>
extends DiagramDescriptor
Descriptor of non symbol diagram - diagram that represents custom
Component.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract NonSymbolDiagramContent<C>createDiagramContent(DiagramPresentationElement diagramPresentationElement) Create diagram content for givenDiagramPresentationElement.abstract AMConfiguratorGet diagram command toolbar configurator.Diagram has no popup menu.final AMConfiguratorDiagram has no toolbar.final StringUML Class diagram is used as super type.final booleanThis diagrams is not used for symbols.Methods inherited from class com.nomagic.magicdraw.uml.DiagramDescriptor
getCategory, getDiagramActions, getDiagramShortcutsConfigurator, getDiagramTypeId, getPluralDiagramTypeHumanName, getSingularDiagramTypeHumanName, getSmallIconURL, getSVGIcon, isCreatable, setCategory
-
Constructor Details
-
NonSymbolDiagramDescriptor
public NonSymbolDiagramDescriptor()
-
-
Method Details
-
getSuperType
UML Class diagram is used as super type.- Specified by:
getSuperTypein classDiagramDescriptor- Returns:
DiagramTypes.UML_CLASS_DIAGRAM
-
isUsedForSymbols
public final boolean isUsedForSymbols()This diagrams is not used for symbols.- Overrides:
isUsedForSymbolsin classDiagramDescriptor- Returns:
false.
-
getDiagramToolbarConfigurator
Diagram has no toolbar.- Specified by:
getDiagramToolbarConfiguratorin classDiagramDescriptor- Returns:
null.
-
getDiagramContextConfigurator
Diagram has no popup menu.- Specified by:
getDiagramContextConfiguratorin classDiagramDescriptor- Returns:
null.
-
getDiagramCommandBarConfigurator
Get diagram command toolbar configurator. Toolbar is presented above the custom component.- Returns:
- configurator.
-
createDiagramContent
public abstract NonSymbolDiagramContent<C> createDiagramContent(DiagramPresentationElement diagramPresentationElement) Create diagram content for givenDiagramPresentationElement.- Parameters:
diagramPresentationElement- diagram presentation element to create content.- Returns:
- diagram content.
-