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, wait
getDynamicDecorator
public void fillPalette(PaletteRoot paletteRoot)
IDiagramCustomizer
fillPalette
in interface IDiagramCustomizer
protected java.lang.String getParameter(java.lang.String key)
public java.util.Map<java.lang.String,java.lang.String> getParameters()
getParameters
in interface IDiagramCustomizer
public void initialize(IModule aModule, java.util.List<PaletteEntry> paletteTools, java.util.Map<java.lang.String,java.lang.String> hParameters, boolean keepPalette)
IDiagramCustomizer
initialize
in interface IDiagramCustomizer
aModule
- 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()
IDiagramCustomizer
keepBasePalette
in interface IDiagramCustomizer
true
when the 'standard' content of the diagram palette must be kept.