Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » DrillDownAdapter and org.eclipse.ui.menus extensions
DrillDownAdapter and org.eclipse.ui.menus extensions [message #882356] Wed, 06 June 2012 05:42
Daniel Krügler is currently offline Daniel Krügler
Messages: 853
Registered: July 2009
Senior Member
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,

Daniel Krügler
Previous Topic:How to force a view programmatically open to be stacked?
Next Topic:Deleting Temp Directories While IRunnableProgress is Running
Goto Forum:
  


Current Time: Tue Jul 29 13:17:17 EDT 2014

Powered by FUDForum. Page generated in 0.16138 seconds