Skip to main content



      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 11:16 Go to next message
Eclipse UserFriend
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 11:22 Go to previous messageGo to next message
Eclipse UserFriend
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 11:40 Go to previous message
Eclipse UserFriend
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: Thu Jul 24 18:05:17 EDT 2025

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

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

Back to the top