My objective is (trying) to disable some Action contributions in the
pop-up menu of a contributed view, all by the same plugin (Subversive).
I used the Subversive Capability and it disabled a lot of UI
contributions, but not these actions in context menus. Subversive plugin
adds directly these actions in the pop-up menu and does not define any
"ActionDefinitionId".
I integrate this plugin in my application and use some "team" views
(History and Synchronize), but I don't need its SVN actions contributions
in menus because I've redefined my proper actions (commands) in my proper
sub-menu and then calling the Subversive API, the job is done.
So, I need to remove the unnecessary SVN actions added by the Subversive
plugin in the pop-up menu of one view.
Is there a workbench API to do that ?
Should I associate the Actions to "Command Ids" and they will be disabled
by the Capability ? But how can I get these actions to set their
"ActionDefinitionId" ?
In cross posted this article in the eclipse.platform forum.
Thanks you for your help.
JM.D