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 03:24
Marc-Florian Wendland is currently offline Marc-Florian Wendland
Messages: 60
Registered: January 2013
Member
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.

Marc-Florian
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: Thu Aug 28 07:22:37 EDT 2014

Powered by FUDForum. Page generated in 0.14107 seconds