Menu contributions from multiple plugins [message #330822] |
Thu, 14 August 2008 09:01  |
Eclipse User |
|
|
|
I have some menu contributions that are made from a base plugin using the
org.eclipse.ui.actionSets extension point.
I now wish to add to those menus from another plugin, but I can't seem to
make it work. The items in my new plugin don't appear anywhere, and I can
see no errors anywhere either.
I'm guessing that the problem is EITHER :
a) The base contributions need to expose something somewhere to allow
other things to add to them, OR
b) I need to add something to the reference to say where the base
definitions reside (ie a pointer to the base plugin), OR
c) something different entirely :-)
Can anyone point me in the right direction please?
Thanks,
Richard
|
|
|
Re: Menu contributions from multiple plugins [message #330837 is a reply to message #330822] |
Thu, 14 August 2008 13:27   |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Richard Craddock wrote:
> I have some menu contributions that are made from a base plugin using
> the org.eclipse.ui.actionSets extension point.
>
> I now wish to add to those menus from another plugin, but I can't seem
> to make it work. The items in my new plugin don't appear anywhere, and I
> can see no errors anywhere either.
>
> I'm guessing that the problem is EITHER :
>
> a) The base contributions need to expose something somewhere to allow
> other things to add to them, OR
> b) I need to add something to the reference to say where the base
> definitions reside (ie a pointer to the base plugin), OR
> c) something different entirely :-)
>
> Can anyone point me in the right direction please?
Action sets are not extensible, as I recently learned. See this message
and the rest of the thread it is part of:
http://dev.eclipse.org/newslists/news.eclipse.platform/msg76 240.html
Hope this helps,
Eric
|
|
|
Re: Menu contributions from multiple plugins [message #330843 is a reply to message #330837] |
Thu, 14 August 2008 13:55   |
Eclipse User |
|
|
|
Hi Eric,
thanks for the answer - I guess we'll have to do some redefintion of stuff
into MenuContributions....
Richard
Eric Rizzo wrote:
> Richard Craddock wrote:
>> I have some menu contributions that are made from a base plugin using
>> the org.eclipse.ui.actionSets extension point.
>>
>> I now wish to add to those menus from another plugin, but I can't seem
>> to make it work. The items in my new plugin don't appear anywhere, and I
>> can see no errors anywhere either.
>>
>> I'm guessing that the problem is EITHER :
>>
>> a) The base contributions need to expose something somewhere to allow
>> other things to add to them, OR
>> b) I need to add something to the reference to say where the base
>> definitions reside (ie a pointer to the base plugin), OR
>> c) something different entirely :-)
>>
>> Can anyone point me in the right direction please?
> Action sets are not extensible, as I recently learned. See this message
> and the rest of the thread it is part of:
> http://dev.eclipse.org/newslists/news.eclipse.platform/msg76 240.html
> Hope this helps,
> Eric
|
|
|
Re: Menu contributions from multiple plugins [message #330871 is a reply to message #330843] |
Thu, 14 August 2008 19:28   |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Richard Craddock wrote:
> Hi Eric,
>
> thanks for the answer - I guess we'll have to do some redefintion of
> stuff into MenuContributions....
If you get things to work the way you want them, please consider putting
together an article or brief description and example. I find that the
documentation and existing examples of this stuff are scarce.
I'm particularly interested in having a common toolbar that is defined
by one plugin but contributed to by others. I tried a simple example of
that but couldn't get it to work and had to move on to other things for
the time being.
Eric
> Eric Rizzo wrote:
>
>> Richard Craddock wrote:
>>> I have some menu contributions that are made from a base plugin using
>>> the org.eclipse.ui.actionSets extension point.
>>>
>>> I now wish to add to those menus from another plugin, but I can't
>>> seem to make it work. The items in my new plugin don't appear
>>> anywhere, and I can see no errors anywhere either.
>>>
>>> I'm guessing that the problem is EITHER :
>>>
>>> a) The base contributions need to expose something somewhere to allow
>>> other things to add to them, OR
>>> b) I need to add something to the reference to say where the base
>>> definitions reside (ie a pointer to the base plugin), OR
>>> c) something different entirely :-)
>>>
>>> Can anyone point me in the right direction please?
>
>> Action sets are not extensible, as I recently learned. See this
>> message and the rest of the thread it is part of:
>> http://dev.eclipse.org/newslists/news.eclipse.platform/msg76 240.html
>
>> Hope this helps,
>> Eric
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.04652 seconds