|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A context manager tracks the sets of defined and enabled contexts within the application. The manager sends notification events to listeners when these sets change. It is also possible to retrieve any given context with its identifier.
This interface is not intended to be extended or implemented by clients.
Method Summary | |
void | addContextManagerListener(IContextManagerListener contextManagerListener)
Registers an instance of IContextManagerListener to listen for changes to properties of this instance. |
IContext | getContext(String contextId)
Returns an instance of IContext given an identifier. |
SortedSet | getDefinedContextIds()
Returns the set of identifiers to defined contexts. |
SortedSet | getEnabledContextIds()
Returns the set of identifiers to enabled contexts. |
void | removeContextManagerListener(IContextManagerListener contextManagerListener)
Unregisters an instance of IContextManagerListener listening for changes to properties of this instance. |
Method Detail |
public void addContextManagerListener(IContextManagerListener contextManagerListener)
public IContext getContext(String contextId)
public SortedSet getDefinedContextIds()
Notification is sent to all registered listeners if this property changes.
public SortedSet getEnabledContextIds()
Notification is sent to all registered listeners if this property changes.
public void removeContextManagerListener(IContextManagerListener contextManagerListener)
|
Eclipse Platform Release 3.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2004. All rights reserved.