Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » IHandlerService query for best-matching handler for given context
IHandlerService query for best-matching handler for given context [message #736036] Thu, 13 October 2011 12:21
Adam Domanski is currently offline Adam DomanskiFriend
Messages: 1
Registered: October 2011
Junior Member

I'm writing some "wrapper" commands over existing Cut/Copy ones. Due to the dynamic and contextual nature of command handlers, I would like to determine the best-matching handler against provided context snapshot and then determine if cut/copy operation is enabled at all.

It looks like the best method for me would be
org.eclipse.ui.internal.handlers.HandlerService.findHandler(String, IEvaluationContext)
, but it is not exposed through the API. Could it be exposed in the API someday? Are there some constraints?

Previous Topic:Is there a hook into the startup processing?
Next Topic:Substitute values at runtime
Goto Forum:

Current Time: Thu Jun 21 18:33:31 GMT 2018

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

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

Back to the top