Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » How to listen for an activation of a successor IEclipseContext?
How to listen for an activation of a successor IEclipseContext? [message #990262] Tue, 11 December 2012 16:16 Go to next message
Alex Kipling is currently offline Alex KiplingFriend
Messages: 260
Registered: July 2012
Senior Member
I would like to bind the UI to some Object, which will be stored in the context-hierarchy below of the UI's context.

Then I would like to exchange the active content below in the hierarchy and by doing that enforce the UI to update all values, which have changed, as the result of exchaning the context.

Is there a way to listen for activation of EclipseContext's below, in the context hierarchy?
Re: How to listen for an activation of a successor IEclipseContext? [message #990265 is a reply to message #990262] Tue, 11 December 2012 16:22 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Why not simply annotating the value with @Active then whenever the
active subcontext relative to the context that was used to create the
object changes you get the value reinjected.

Tom

Am 11.12.12 17:16, schrieb Alex Kipling:
> I would like to bind the UI to some Object, which will be stored in the
> context-hierarchy below of the UI's context.
>
> Then I would like to exchange the active content below in the hierarchy
> and by doing that enforce the UI to update all values, which have
> changed, as the result of exchaning the context.
>
> Is there a way to listen for activation of EclipseContext's below, in
> the context hierarchy?
Re: How to listen for an activation of a successor IEclipseContext? [message #990272 is a reply to message #990265] Tue, 11 December 2012 16:40 Go to previous message
Alex Kipling is currently offline Alex KiplingFriend
Messages: 260
Registered: July 2012
Senior Member
Tom - I luv you!
Previous Topic:HandledMenuItem/Handled Tool Item with parameter disables KeyBindings
Next Topic:Passing final static variables to @Named annotation not possible?
Goto Forum:
  


Current Time: Fri Mar 29 13:51:06 GMT 2024

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

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

Back to the top