Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Removing actions from Subversive view pop-up menu
Removing actions from Subversive view pop-up menu [message #485288] Fri, 11 September 2009 08:32
Jean-Marie Damas is currently offline Jean-Marie Damas
Messages: 29
Registered: July 2009
Junior Member
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, but I don't need its 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.technology.subversive forum.
Thanks you for your help.
JM.D
Previous Topic:Description for extension point can't be found
Next Topic:CompareUI with Syntax Colouring
Goto Forum:
  


Current Time: Wed Sep 03 02:10:02 GMT 2014

Powered by FUDForum. Page generated in 0.01420 seconds