Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » CommandHandler and HandlerProxy
CommandHandler and HandlerProxy [message #1090474] Tue, 20 August 2013 07:24
Marc-Florian Wendland is currently offline Marc-Florian WendlandFriend
Messages: 81
Registered: January 2013
Hi all,

I migrating our software from Indigo to Kepler and have encountered a
deviating behavior regarding IHandler and HandlerProxy.

In Indigo I could get the IHandler from a Command and resolve the IHandler
to a concrete Handler-Implementation. We used this as a pattern to
parametrize the corresponding Handler instead of the Command directly. This
worked well in Indigo.

Now, giong to Kepler, the IHandler I retrieve from a Command is no longer a
HandlerProxy, thus, I cannot cast it to my IHandler-Implementation. Does
anybody know how to circumvent this? The main idea behind this is to reuse
the very same handler (which in turn configures a complex EMF command) from
all possible situations, but under slightly different circumstances.

Any help would be highly appreciate, because otherwise this would mean for
us to change large parts of a complex and working functionality, which we
would like to avoid, of course.

Previous Topic:Re-use built jars (buildDirectory/buildRepo) for other product build
Next Topic:How to dis-associate Text Editor from Custom Content type
Goto Forum:

Current Time: Mon May 21 11:20:40 GMT 2018

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

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

Back to the top