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 AMConfiguratorgetDiagramCommandBarConfigurator()Get diagram command toolbar configurator.DiagramContextAMConfiguratorgetDiagramContextConfigurator()Diagram has no popup menu.AMConfiguratorgetDiagramToolbarConfigurator()Diagram has no toolbar.java.lang.StringgetSuperType()UML Class diagram is used as super type.booleanisUsedForSymbols()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:
 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
@CheckForNull public final AMConfigurator getDiagramToolbarConfigurator()
Diagram has no toolbar.- Specified by:
 getDiagramToolbarConfiguratorin classDiagramDescriptor- Returns:
 null.
 
- 
getDiagramContextConfigurator
@CheckForNull public final DiagramContextAMConfigurator getDiagramContextConfigurator()
Diagram has no popup menu.- Specified by:
 getDiagramContextConfiguratorin 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.
 
 
 - 
 
 -