plugin.xml - popupMenus - 2 objectClasses [message #187517] |
Fri, 16 May 2008 15:16 |
Eclipse User |
|
|
|
Originally posted by: rolfes.daniel.web.de
Hi,
I added a new objectContribution to the popupMenu extension point,
specified the name of a XXX1EditPart in the objectClass attribute and
the action to perform etc.
It works fine.
Now I would like to use the exact same pop-up menu to be used for
another different XXX2EditPart. So I tried to insert a second
objectClass attribute in the same objectContribution. But it failed
because I'm only allowed to use one.
So, my question is: How to I specify 2 or more EditParts, which use the
same popup menu? I've seen an OR-Element, could that be useful?
Thanks in advance,
Daniel
|
|
|
Re: plugin.xml - popupMenus - 2 objectClasses [message #189264 is a reply to message #187517] |
Sat, 24 May 2008 10:11 |
Eclipse User |
|
|
|
Originally posted by: rolfes.daniel.web.de
anyone?
D. Rolfes schrieb:
> Hi,
> I added a new objectContribution to the popupMenu extension point,
> specified the name of a XXX1EditPart in the objectClass attribute and
> the action to perform etc.
> It works fine.
> Now I would like to use the exact same pop-up menu to be used for
> another different XXX2EditPart. So I tried to insert a second
> objectClass attribute in the same objectContribution. But it failed
> because I'm only allowed to use one.
> So, my question is: How to I specify 2 or more EditParts, which use the
> same popup menu? I've seen an OR-Element, could that be useful?
>
> Thanks in advance,
> Daniel
|
|
|
Powered by
FUDForum. Page generated in 0.03588 seconds