|
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.core.commands.common.AbstractBitSetEvent
org.eclipse.core.commands.common.AbstractNamedHandleEvent
org.eclipse.core.commands.contexts.ContextEvent
public final class ContextEvent
An instance of this class describes changes to an instance of
IContext.
This class is not intended to be extended by clients.
IContextListener.contextChanged(ContextEvent)| Field Summary |
|---|
| Fields inherited from class org.eclipse.core.commands.common.AbstractNamedHandleEvent |
|---|
CHANGED_DEFINED, CHANGED_DESCRIPTION, CHANGED_NAME, LAST_USED_BIT |
| Fields inherited from class org.eclipse.core.commands.common.AbstractBitSetEvent |
|---|
changedValues |
| Constructor Summary | |
|---|---|
ContextEvent(Context context,
boolean definedChanged,
boolean nameChanged,
boolean descriptionChanged,
boolean parentIdChanged)
Creates a new instance of this class. |
|
| Method Summary | |
|---|---|
Context |
getContext()
Returns the instance of the interface that changed. |
boolean |
isParentIdChanged()
Returns whether or not the parentId property changed. |
| Methods inherited from class org.eclipse.core.commands.common.AbstractNamedHandleEvent |
|---|
isDefinedChanged, isDescriptionChanged, isNameChanged |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public final Context getContext()
null.public final boolean isParentIdChanged()
true, iff the parentId property changed.
|
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.