Eclipse Platform
Release 3.1

org.eclipse.jface.bindings
Class SchemeEvent

java.lang.Object
  extended byorg.eclipse.core.commands.common.AbstractBitSetEvent
      extended byorg.eclipse.core.commands.common.AbstractNamedHandleEvent
          extended byorg.eclipse.jface.bindings.SchemeEvent

public final class SchemeEvent
extends AbstractNamedHandleEvent

An instance of this class describes changes to an instance of IScheme.

This class is not intended to be extended by clients.

Since:
3.1
See Also:
ISchemeListener.schemeChanged(SchemeEvent)

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
SchemeEvent(Scheme scheme, boolean definedChanged, boolean nameChanged, boolean descriptionChanged, boolean parentIdChanged)
          Creates a new instance of this class.
 
Method Summary
 Scheme getScheme()
          Returns the instance of the scheme 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

SchemeEvent

public SchemeEvent(Scheme scheme,
                   boolean definedChanged,
                   boolean nameChanged,
                   boolean descriptionChanged,
                   boolean parentIdChanged)
Creates a new instance of this class.

Parameters:
scheme - 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 if the description property changed; false otherwise.
parentIdChanged - true, iff the parentId property changed.
Method Detail

getScheme

public final Scheme getScheme()
Returns the instance of the scheme that changed.

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

isParentIdChanged

public final boolean isParentIdChanged()
Returns whether or not the parentId property changed.

Returns:
true, iff the parentId property changed.

Eclipse Platform
Release 3.1

Guidelines for using Eclipse APIs.

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