Eclipse Platform
Release 3.1

org.eclipse.core.commands
Class CategoryEvent

java.lang.Object
  extended byorg.eclipse.core.commands.common.AbstractBitSetEvent
      extended byorg.eclipse.core.commands.common.AbstractNamedHandleEvent
          extended byorg.eclipse.core.commands.CategoryEvent

public final class CategoryEvent
extends AbstractNamedHandleEvent

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:
ICategoryListener.categoryChanged(CategoryEvent)

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
CategoryEvent(Category category, boolean definedChanged, boolean descriptionChanged, boolean nameChanged)
          Creates a new instance of this class.
 
Method Summary
 Category getCategory()
          Returns the instance of the interface that 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

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 Detail

getCategory

public final Category getCategory()
Returns the instance of the interface that changed.

Returns:
the instance of the interface that changed. Guaranteed not to be null.

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2000, 2005. All rights reserved.