|
Re: Customization of sirius editor tab bar and palette toolbar [message #1786864 is a reply to message #1786490] |
Mon, 14 May 2018 13:24 |
|
Hello,
You can edit the Sirius Editor Tab bar using this guide [1].
The toolbar of the palette is default by the GMF framework, you can add new tools using the "org.eclipse.gmf.runtime.diagram.ui.paletteProviders" extension point but I do not know if you can remove tools from the palette.
To add context menu on the diagram, you just need to add "popup menu" tools in your diagram description. However, removing existing contextual menu is painful as they are contributed by different framework (Sirius, GMF, EMF, GEF...). You can look at plugin.xml in org.eclipse.sirius.diagram.ui where we used the extension point "org.eclipse.gmf.runtime.common.ui.service.action.contributionItemProviders" where we contributed a new provider that removes some contribution (find the treeRouterAction) but those menus are identified by a path made from ids...you will then need to find these ids from where the contextual menus are contributed.
Regards,
Steve
[1] https://www.eclipse.org/sirius/doc/developer/extensions-provide_tabbar_extensions.html
Steve Monnier - Obeo Canada
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
Powered by
FUDForum. Page generated in 0.03472 seconds