Contributing Actions to an action set [message #329831] |
Mon, 07 July 2008 15:35 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Is it possible for one plugin to contribute an action to the actionSet
defined in a different plugin?
I've got a "base" ui plugin, "UIBase" that defines an action set and
associates it with a perspective (via the perspectiveExtensions
extension point). Now I have a secondary plugin, "ExtensionUI" that
needs to add an action to the UIBase action set.
I tried defining a new action set, using the same toolbarPath for its
action as BaseUI's actions, and associating it with the perspective, but
Eclipse treats this as two different toolbars.
I also tried defining an action set in ExtensionUI that had the same ID
as the one in BaseUI, but that just confused Eclipse (the added action
did not show up initially, and the Commands tab of Customize Perspective
got confused with the two action sets sharing an ID).
Is there no way to contribute actions to an existing action set?
Any help appreciated,
Eric
|
|
|
|
Re: Contributing Actions to an action set [message #329860 is a reply to message #329851] |
Tue, 08 July 2008 17:06 |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Paul Webster wrote:
> Eric Rizzo wrote:
>>
>> Is there no way to contribute actions to an existing action set?
>
> No, and it should be mentioned in the extension point description.
> Action Sets cannot depend on other action sets.
So is there any other way to have a perspective-wide toolbar that can
have items contributed to it by downstream plugins?
Eric
|
|
|
|
Powered by
FUDForum. Page generated in 0.04398 seconds