public abstract class AbstractNamedHandleEvent extends AbstractHandleObjectEvent
An event fired from a NamedHandleObject
. This provides
notification of changes to the defined state, the name and the description.
Modifier and Type | Field and Description |
---|---|
protected static int |
CHANGED_DESCRIPTION
The bit used to represent whether the category has changed its
description.
|
protected static int |
CHANGED_NAME
The bit used to represent whether the category has changed its name.
|
protected static int |
LAST_USED_BIT
The last used bit so that subclasses can add more properties.
|
CHANGED_DEFINED, LAST_BIT_USED_ABSTRACT_HANDLE
changedValues
Modifier | Constructor and Description |
---|---|
protected |
AbstractNamedHandleEvent(boolean definedChanged,
boolean descriptionChanged,
boolean nameChanged)
Constructs a new instance of
AbstractHandleObjectEvent . |
Modifier and Type | Method and Description |
---|---|
boolean |
isDescriptionChanged()
Returns whether or not the description property changed.
|
boolean |
isNameChanged()
Returns whether or not the name property changed.
|
isDefinedChanged
protected static final int CHANGED_DESCRIPTION
protected static final int CHANGED_NAME
protected static final int LAST_USED_BIT
protected AbstractNamedHandleEvent(boolean definedChanged, boolean descriptionChanged, boolean nameChanged)
AbstractHandleObjectEvent
.definedChanged
- true
, iff the defined property changed.descriptionChanged
- true
, iff the description property changed.nameChanged
- true
, iff the name property changed.public final boolean isDescriptionChanged()
true
, iff the description property changed.public final boolean isNameChanged()
true
, iff the name property changed.
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.