public class DefaultDiagramCustomizer extends java.lang.Object implements IDiagramCustomizer
| Constructor and Description |
|---|
DefaultDiagramCustomizer() |
| Modifier and Type | Method and Description |
|---|---|
void |
fillPalette(PaletteRoot paletteRoot)
Define the palette content by adding groups and tools in it.
Tools can be custom (i.e. |
protected java.lang.String |
getParameter(java.lang.String key) |
java.util.Map<java.lang.String,java.lang.String> |
getParameters() |
void |
initialize(IModule aModule,
java.util.List<PaletteEntry> paletteTools,
java.util.Map<java.lang.String,java.lang.String> hParameters,
boolean keepPalette)
Initialize the customizer.
|
boolean |
keepBasePalette()
Indicates whether the 'standard' content of the diagram palette must be kept or flushed when opening this stereotyped
diagram.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDynamicDecoratorpublic void fillPalette(PaletteRoot paletteRoot)
IDiagramCustomizerfillPalette in interface IDiagramCustomizerprotected java.lang.String getParameter(java.lang.String key)
public java.util.Map<java.lang.String,java.lang.String> getParameters()
getParameters in interface IDiagramCustomizerpublic void initialize(IModule aModule, java.util.List<PaletteEntry> paletteTools, java.util.Map<java.lang.String,java.lang.String> hParameters, boolean keepPalette)
IDiagramCustomizerinitialize in interface IDiagramCustomizeraModule - the module this diagram custimizer comes from.paletteTools - tools defined in the diagram definition.hParameters - parameters defined in the diagram definition.keepPalette - whether or not 'standard' content of the diagram palette should be kept.public boolean keepBasePalette()
IDiagramCustomizerkeepBasePalette in interface IDiagramCustomizertrue when the 'standard' content of the diagram palette must be kept.