Package org.eclipse.core.commands
Class CategoryEvent
java.lang.Object
org.eclipse.core.commands.common.AbstractBitSetEvent
org.eclipse.core.commands.common.AbstractHandleObjectEvent
org.eclipse.core.commands.common.AbstractNamedHandleEvent
org.eclipse.core.commands.CategoryEvent
An instance of this class describes changes to an instance of
Category
.
This class is not intended to be extended by clients.
- Since:
- 3.1
- See Also:
-
Field Summary
Fields inherited from class org.eclipse.core.commands.common.AbstractNamedHandleEvent
CHANGED_DESCRIPTION, CHANGED_NAME, LAST_USED_BIT
Fields inherited from class org.eclipse.core.commands.common.AbstractHandleObjectEvent
CHANGED_DEFINED, LAST_BIT_USED_ABSTRACT_HANDLE
Fields inherited from class org.eclipse.core.commands.common.AbstractBitSetEvent
changedValues
-
Constructor Summary
ConstructorDescriptionCategoryEvent
(Category category, boolean definedChanged, boolean descriptionChanged, boolean nameChanged) Creates a new instance of this class. -
Method Summary
Modifier and TypeMethodDescriptionfinal Category
Returns the instance of the interface that changed.Methods inherited from class org.eclipse.core.commands.common.AbstractNamedHandleEvent
isDescriptionChanged, isNameChanged
Methods inherited from class org.eclipse.core.commands.common.AbstractHandleObjectEvent
isDefinedChanged
-
Constructor Details
-
CategoryEvent
public CategoryEvent(Category category, boolean definedChanged, boolean descriptionChanged, boolean nameChanged) Creates a new instance of this class.- Parameters:
category
- the instance of the interface that changed.definedChanged
- true, iff the defined property changed.descriptionChanged
- true, iff the description property changed.nameChanged
- true, iff the name property changed.
-
-
Method Details
-
getCategory
Returns the instance of the interface that changed.- Returns:
- the instance of the interface that changed. Guaranteed not to be
null
.
-