@Deprecated public final class ContextManagerEvent extends Object
IContextManager
.
This class is not intended to be extended by clients.
IContextManagerListener.contextManagerChanged(ContextManagerEvent)
,
ContextManagerEvent
Constructor and Description |
---|
ContextManagerEvent(IContextManager contextManager,
boolean definedContextIdsChanged,
boolean enabledContextIdsChanged,
Set previouslyDefinedContextIds,
Set previouslyEnabledContextIds)
Deprecated.
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
.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()
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.