Class NonSymbolDiagramDescriptor<C extends java.awt.Component>
- java.lang.Object
-
- com.nomagic.magicdraw.uml.DiagramDescriptor
-
- com.nomagic.magicdraw.uml.diagrams.NonSymbolDiagramDescriptor<C>
-
- All Implemented Interfaces:
java.lang.Cloneable
@OpenApiAll public abstract class NonSymbolDiagramDescriptor<C extends java.awt.Component> extends DiagramDescriptor
Descriptor of non symbol diagram - diagram that represents customComponent
.
-
-
Constructor Summary
Constructors Constructor Description NonSymbolDiagramDescriptor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract NonSymbolDiagramContent<C>
createDiagramContent(DiagramPresentationElement diagramPresentationElement)
Create diagram content for givenDiagramPresentationElement
.abstract AMConfigurator
getDiagramCommandBarConfigurator()
Get diagram command toolbar configurator.DiagramContextAMConfigurator
getDiagramContextConfigurator()
Diagram has no popup menu.AMConfigurator
getDiagramToolbarConfigurator()
Diagram has no toolbar.java.lang.String
getSuperType()
UML Class diagram is used as super type.boolean
isUsedForSymbols()
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
-
-
-
-
Method Detail
-
getSuperType
public final java.lang.String 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
@CheckForNull public final AMConfigurator getDiagramToolbarConfigurator()
Diagram has no toolbar.- Specified by:
getDiagramToolbarConfigurator
in classDiagramDescriptor
- Returns:
null
.
-
getDiagramContextConfigurator
@CheckForNull public final DiagramContextAMConfigurator getDiagramContextConfigurator()
Diagram has no popup menu.- Specified by:
getDiagramContextConfigurator
in classDiagramDescriptor
- Returns:
null
.
-
getDiagramCommandBarConfigurator
@CheckForNull public abstract AMConfigurator 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.
-
-