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
-
Method Summary
Modifier and TypeMethodDescriptionabstract NonSymbolDiagramContent<C>
createDiagramContent
(DiagramPresentationElement diagramPresentationElement) Create diagram content for givenDiagramPresentationElement
.abstract AMConfigurator
Get diagram command toolbar configurator.Diagram has no popup menu.final AMConfigurator
Diagram has no toolbar.final String
UML Class diagram is used as super type.final boolean
This 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:
getSuperType
in classDiagramDescriptor
- Returns:
DiagramTypes.UML_CLASS_DIAGRAM
-
isUsedForSymbols
public final boolean isUsedForSymbols()This diagrams is not used for symbols.- Overrides:
isUsedForSymbols
in classDiagramDescriptor
- Returns:
false
.
-
getDiagramToolbarConfigurator
Diagram has no toolbar.- Specified by:
getDiagramToolbarConfigurator
in classDiagramDescriptor
- Returns:
null
.
-
getDiagramContextConfigurator
Diagram has no popup menu.- Specified by:
getDiagramContextConfigurator
in 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.
-