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_BIT
CHANGED_DEFINED, LAST_BIT_USED_ABSTRACT_HANDLE
changedValues
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, isNameChanged
isDefinedChanged
public 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.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.