public final class CategoryEvent extends Object
ICategory
. This class does not give details as to the
specifics of a change, only that the given property on the source object has
changed.
This class is not intended to be extended by clients.
ICategoryListener.categoryChanged(CategoryEvent)
Constructor and Description |
---|
CategoryEvent(ICategory category,
boolean categoryActivityBindingsChanged,
boolean definedChanged,
boolean descriptionChanged,
boolean nameChanged)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
ICategory |
getCategory()
Returns the instance of the interface that changed.
|
boolean |
hasDefinedChanged()
Returns whether or not the defined property changed.
|
boolean |
hasDescriptionChanged()
Returns whether or not the description property changed.
|
boolean |
hasNameChanged()
Returns whether or not the name property changed.
|
boolean |
haveCategoryActivityBindingsChanged()
Returns whether or not the categoryActivityBindings property changed.
|
public CategoryEvent(ICategory category, boolean categoryActivityBindingsChanged, boolean definedChanged, boolean descriptionChanged, boolean nameChanged)
category
- the instance of the interface that changed.categoryActivityBindingsChanged
- true
, iff the categoryActivityBindings property changed.definedChanged
- true
, iff the defined property changed.descriptionChanged
- true
, iff the description property changed.nameChanged
- true
, iff the name property changed.public ICategory getCategory()
null
.public boolean hasDefinedChanged()
true
, iff the defined property changed.public boolean hasNameChanged()
true
, iff the name property changed.public boolean hasDescriptionChanged()
true
, iff the description property changed.public boolean haveCategoryActivityBindingsChanged()
true
, iff the categoryActivityBindings property changed.
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.