Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Searching for a value in all active contexts?
Searching for a value in all active contexts? [message #990778] Fri, 14 December 2012 09:09 Go to next message
Alex Kipling is currently offline Alex Kipling
Messages: 257
Registered: July 2012
Senior Member
I have an instance of a IEclipseContext.
I know, that there is a subcontext, which contains a value I need, and this subcontext is active.

Can I somehow search the whole active context chain (incl. the active subcontext) for the value?
Re: Searching for a value in all active contexts? [message #990779 is a reply to message #990778] Fri, 14 December 2012 09:13 Go to previous messageGo to next message
Alex Kipling is currently offline Alex Kipling
Messages: 257
Registered: July 2012
Senior Member
IEclipseContext..getActive()
was what i looked for!
Re: Searching for a value in all active contexts? [message #990782 is a reply to message #990778] Fri, 14 December 2012 09:20 Go to previous message
Sopot Cela is currently offline Sopot Cela
Messages: 597
Registered: December 2010
Senior Member

getActive() for the value or get manually on .getActiveLeaf()
Previous Topic:Transitioning to Eclipse 4
Next Topic:Dynamically installed bundle and workbench
Goto Forum:
  


Current Time: Sat Oct 25 19:47:14 GMT 2014

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

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