|DrillDownAdapter and org.eclipse.ui.menus extensions [message #882356]
||Wed, 06 June 2012 05:42
| Daniel KrÃ¼gler
Registered: July 2009
Has anyone tried to mix a DrillDownAdapter with otherwise purely |
extension-based menus (via org.eclipse.ui.menus)? The problem I'm
noticing is, that there is no much choice *where* to add the adapter.
Actually I would prefer to link it into at some group position that is
defined in plugin.xml (as invisible separator) to make it integrate
better with extension-based contributions.
The only way to position menu contributions declaratively around the
adapter actions that I can imagine in the moment is to define two
bracketing separators programmatically around the DrillDownAdapter and
to require that extension-based menu contributions do specify before or
after queries in the corresponding locationURIs, but that would
unfortunately make the DrillAdapter directly "visible" for other
extension-based contribution providers.
Does there exist some contribution equivalent of DrillDownAdapter that
is better suited for org.eclipse.ui.menus extensions? Unfortunately the
relevant classes DrillStack and DrillFrame are non-public, so I don't
see how to implement something like this without copying all these types.
I would appreciate any suggestions or ideas!
Thanks & Greetings from Bremen,
Powered by FUDForum
. Page generated in 0.05858 seconds