Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » ICommandService and ExecutionEvent
ICommandService and ExecutionEvent [message #1066533] Wed, 03 July 2013 00:01 Go to next message
Jeeeyul Lee is currently offline Jeeeyul Lee
Messages: 108
Registered: July 2009
Location: Seoul
Senior Member

In Juno, ICommandService#addExecutionListener delivers ExecutionEvent which contains IEvaluationContext as an application context. So legacy(e3) plugins works well with this service. (ex: HandlerUtil.getCurrentSelection(event))

However with Kepler, delivered event contains IEclipseContext as an application context.
As a result, HandlerUtil.getXXX() will not work against of this event properly.

I think ICommandService is legacy component since it is included in workbench, Not e4. So events in ICommandService must be provide comparability for e3.

Any Idea?
Re: ICommandService and ExecutionEvent [message #1067440 is a reply to message #1066533] Mon, 08 July 2013 13:34 Go to previous messageGo to next message
Paul Elder is currently offline Paul Elder
Messages: 849
Registered: July 2009
Senior Member
Jeeeyul:

This looks like a bug to me. Can you submit a bugzilla under platform UI? If you have a test case, that would be appreciated, too.

Thanks,
Paul
Re: ICommandService and ExecutionEvent [message #1067782 is a reply to message #1067440] Wed, 10 July 2013 10:42 Go to previous message
Paul Elder is currently offline Paul Elder
Messages: 849
Registered: July 2009
Senior Member
Jeeeyul:

I've done a bit more investigating, and have submitted:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=412681

Paul
Previous Topic:How add a new perspective with a pure RCP 4 plugin to Eclipse Juno IDE
Next Topic:How to create ToolControl in Eclipse 4.x
Goto Forum:
  


Current Time: Fri Aug 29 18:36:14 EDT 2014

Powered by FUDForum. Page generated in 0.03561 seconds