Skip to main content

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 09:42
Daniel Krügler is currently offline Daniel KrüglerFriend
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 Jun 19 14:35:28 GMT 2018

Powered by FUDForum. Page generated in 0.02173 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top