|
Eclipse Platform Release 3.1 |
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.ui.contexts.ContextManagerEvent
An instance of this class describes changes to an instance of
IContextManager
.
This class is not intended to be extended by clients.
IContextManagerListener.contextManagerChanged(ContextManagerEvent)
,
ContextManagerEvent
Constructor Summary | |
---|---|
ContextManagerEvent(IContextManager contextManager,
boolean definedContextIdsChanged,
boolean enabledContextIdsChanged,
Set previouslyDefinedContextIds,
Set previouslyEnabledContextIds)
Deprecated. Creates a new instance of this class. |
Method Summary | |
---|---|
IContextManager |
getContextManager()
Deprecated. Returns the instance of the interface that changed. |
Set |
getPreviouslyDefinedContextIds()
Deprecated. Returns the set of identifiers to previously defined contexts. |
Set |
getPreviouslyEnabledContextIds()
Deprecated. Returns the set of identifiers to previously enabled contexts. |
boolean |
haveDefinedContextIdsChanged()
Deprecated. Returns whether or not the definedContextIds property changed. |
boolean |
haveEnabledContextIdsChanged()
Deprecated. Returns whether or not the enabledContextIds property changed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ContextManagerEvent(IContextManager contextManager, boolean definedContextIdsChanged, boolean enabledContextIdsChanged, Set previouslyDefinedContextIds, Set previouslyEnabledContextIds)
contextManager
- the instance of the interface that changed.definedContextIdsChanged
- true, iff the definedContextIds property changed.enabledContextIdsChanged
- true, iff the enabledContextIds property changed.previouslyDefinedContextIds
- the set of identifiers to previously defined contexts. This
set may be empty. If this set is not empty, it must only
contain instances of String
. This set must be
null
if definedContextIdsChanged is
false
and must not be null if
definedContextIdsChanged is true
.previouslyEnabledContextIds
- the set of identifiers to previously enabled contexts. This
set may be empty. If this set is not empty, it must only
contain instances of String
. This set must be
null
if enabledContextIdsChanged is
false
and must not be null if
enabledContextIdsChanged is true
.Method Detail |
public IContextManager getContextManager()
null
.public Set getPreviouslyDefinedContextIds()
String
. This set is
guaranteed to be null
if
haveDefinedContextIdsChanged() is false
and is
guaranteed to not be null if haveDefinedContextIdsChanged() is
true
.public Set getPreviouslyEnabledContextIds()
String
. This set is
guaranteed to be null
if
haveEnabledContextIdsChanged() is false
and is
guaranteed to not be null if haveEnabledContextIdsChanged() is
true
.public boolean haveDefinedContextIdsChanged()
public boolean haveEnabledContextIdsChanged()
|
Eclipse Platform Release 3.1 |
|||||||||||
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, 2005. All rights reserved.