|
|
|
Re: How to disable palette [message #1823345 is a reply to message #1823332] |
Wed, 25 March 2020 10:31 |
|
The palette component is part of the editor itself, not inside the diagram's content. See org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette.createPaletteRoot(PaletteRoot existingPaletteRoot) for example (it is overriden in Sirius but the overall palette creation is defined in GMF). The only way to avoid the creation of the palette would be to define a custom editor implementation for your specific diagrams, but this is not supported. Even if you found a way to subclass Sirius's DDiagramEditorImpl to be used in your case, I'm not confident that other parts of the Sirius would not break in non-obvious and unpredicatble ways if the palette component was not created.
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Powered by
FUDForum. Page generated in 0.03482 seconds