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 04:01 Go to next message
Jeeeyul Lee is currently offline Jeeeyul Lee
Messages: 111
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 17: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 14: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: Mon Sep 22 06:27:41 GMT 2014

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

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