|
Re: Removing actions from Subversive view pop-up menu [message #487714 is a reply to message #485289] |
Thu, 24 September 2009 08:41 |
Igor Burilo Messages: 435 Registered: July 2009 |
Senior Member |
|
|
Hello Jean-Marie,
In what view do you want to disable Subversive actions, e.g. Synchronize,
History etc.? For completeness, please provide some names of actions you
want to disable.
> 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
>
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 2.09085 seconds