Community
Participate
Working Groups
Graphiti's diagram context menu contains menus contributed by other plugins such as "Run As", "Debug As", "Profile As", "Validate" etc. If I don't care those menus and want to have total control about what goes to the context menu, currently there is no way to do that. Graphiti could provide an easy way to allow subclasses of DiagramEditorInternal to do that. I'll provide a patch.
Created attachment 195284 [details] Disallow context menu contributions from other plugins.
By default no of the entries you mentioned is entered into the context menu, but nevertheless you are right: tools should be able to prevent others from extending the context menu. I have submitted your patch in head. Just a remark: we want to clean-up the diagram editor API for the next release, so there might be some changes in the future to this as well. For details see https://bugs.eclipse.org/bugs/show_bug.cgi?id=336488 Michael
Comment on attachment 195284 [details] Disallow context menu contributions from other plugins. Marked as IPlog relevant
Verified in install
Part of Graphiti Indigo 0.8.0