public final class ContextEvent extends AbstractNamedHandleEvent
IContext.
This class is not intended to be extended by clients.
IContextListener.contextChanged(ContextEvent)CHANGED_DESCRIPTION, CHANGED_NAME, LAST_USED_BITCHANGED_DEFINED, LAST_BIT_USED_ABSTRACT_HANDLEchangedValues| Constructor and Description |
|---|
ContextEvent(Context context,
boolean definedChanged,
boolean nameChanged,
boolean descriptionChanged,
boolean parentIdChanged)
Creates a new instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
Context |
getContext()
Returns the instance of the interface that changed.
|
boolean |
isParentIdChanged()
Returns whether or not the parentId property changed.
|
isDescriptionChanged, isNameChangedisDefinedChangedpublic ContextEvent(Context context, boolean definedChanged, boolean nameChanged, boolean descriptionChanged, boolean parentIdChanged)
context - the instance of the interface that changed; must not be
null.definedChanged - true, iff the defined property changed.nameChanged - true, iff the name property changed.descriptionChanged - true, iff the description property changed.parentIdChanged - true, iff the parentId property changed.public final Context getContext()
null.public final boolean isParentIdChanged()
true, iff the parentId property changed.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.