Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Selection with tools.compat wrappers
Selection with tools.compat wrappers [message #897252] Mon, 23 July 2012 08:21 Go to previous message
Jonas Helming is currently offline Jonas Helming
Messages: 179
Registered: July 2009
Senior Member
Hi,
I am using the compat DIViewPart implementation form the tools project
to include e4 views into a 3.x application (compat layer). I want to set
and retrieve the selection from two different views. Retrieving the
selection via @named(serviceconstats.activeselection) works fine, as
long as the selection is set by a 3.x view. If I want to set the
selection from a e4 view via @Inject ESelectionService service,
service.setSelection(), the retrieveing views does not get the selection
injected. During debugging, I also found out, the two different e4 views
get different instances of ESelectionService injected.
Any ideas?
Cheers
Jonas
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:PartDescriptor in fragments
Next Topic:How do I start with eclipse4 API
Goto Forum:
  


Current Time: Fri May 24 20:09:18 EDT 2013

Powered by FUDForum. Page generated in 0.01813 seconds