public interface IDiagramCustomizer
| Modifier and Type | Method and Description |
|---|---|
void |
fillPalette(org.eclipse.gef.palette.PaletteRoot paletteRoot)
Define the palette content by adding groups and tools in it.
Tools can be custom (i.e. |
default IDGDynamicDecorator |
getDynamicDecorator()
Optional decorator for diagram graphics in the customized diagram.
|
java.util.Map<java.lang.String,java.lang.String> |
getParameters() |
void |
initialize(IModule module,
java.util.List<PaletteEntry> tools,
java.util.Map<java.lang.String,java.lang.String> hParameters,
boolean keepBasePalette)
Initialize the customizer.
|
boolean |
keepBasePalette()
Indicates whether the 'standard' content of the diagram palette must be kept or flushed when opening this stereotyped
diagram.
|
boolean keepBasePalette()
true when the 'standard' content of the diagram palette must be kept.void fillPalette(org.eclipse.gef.palette.PaletteRoot paletteRoot)
root - The root PaletteEntry for the palette model.void initialize(IModule module, java.util.List<PaletteEntry> tools, java.util.Map<java.lang.String,java.lang.String> hParameters, boolean keepBasePalette)
module - the module this diagram custimizer comes from.tools - tools defined in the diagram definition.hParameters - parameters defined in the diagram definition.keepBasePalette - whether or not 'standard' content of the diagram palette should be kept.java.util.Map<java.lang.String,java.lang.String> getParameters()
default IDGDynamicDecorator getDynamicDecorator()
With a decorator, it becomes possible to dynamically overwrite graphical property on any unmasked element.
IDGDynamicDecorator.