Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.ui.commands
Class CommandEvent

java.lang.Object
  extended by 
org.eclipse.ui.commands.CommandEvent

Deprecated. Please use the "org.eclipse.core.commands" plug-in instead.

public final class CommandEvent
extends Object

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

This class is not intended to be extended by clients.

Since:
3.0
See Also:
ICommandListener.commandChanged(CommandEvent), CommandEvent

Constructor Summary
CommandEvent ( ICommand command, boolean attributeValuesByNameChanged, boolean categoryIdChanged, boolean definedChanged, boolean descriptionChanged, boolean handledChanged, boolean keySequenceBindingsChanged, boolean nameChanged, Map previousAttributeValuesByName)
          Deprecated. Creates a new instance of this class.
 
Method Summary
  ICommand getCommand ()
          Deprecated. Returns the instance of the interface that changed.
  Map getPreviousAttributeValuesByName ()
          Deprecated. Returns the map of previous attribute values by name.
 boolean hasCategoryIdChanged ()
          Deprecated. Returns whether or not the categoryId property changed.
 boolean hasDefinedChanged ()
          Deprecated. Returns whether or not the defined property changed.
 boolean hasDescriptionChanged ()
          Deprecated. Returns whether or not the description property changed.
 boolean hasHandledChanged ()
          Deprecated. Returns whether or not the handled property changed.
 boolean hasNameChanged ()
          Deprecated. Returns whether or not the name property changed.
 boolean haveAttributeValuesByNameChanged ()
          Deprecated. Returns whether or not the attributeValuesByName property changed.
 boolean haveKeySequenceBindingsChanged ()
          Deprecated. Returns whether or not the keySequenceBindings property changed.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandEvent

public CommandEvent(
ICommand command,
                    boolean attributeValuesByNameChanged,
                    boolean categoryIdChanged,
                    boolean definedChanged,
                    boolean descriptionChanged,
                    boolean handledChanged,
                    boolean keySequenceBindingsChanged,
                    boolean nameChanged,
                    
Map previousAttributeValuesByName)
Deprecated. 
Creates a new instance of this class.

Parameters:
command - the instance of the interface that changed.
attributeValuesByNameChanged - true, iff the attributeValuesByName property changed.
categoryIdChanged - true, iff the categoryId property changed.
definedChanged - true, iff the defined property changed.
descriptionChanged - true, iff the description property changed.
handledChanged - true, iff the handled property changed.
keySequenceBindingsChanged - true, iff the keySequenceBindings property changed.
nameChanged - true, iff the name property changed.
previousAttributeValuesByName - the map of previous attribute values by name. This map may be empty. If this map is not empty, it's collection of keys must only contain instances of String. This map must be null if attributeValuesByNameChanged is false and must not be null if attributeValuesByNameChanged is true.
Method Detail

getCommand

public 
ICommand getCommand()
Deprecated. 
Returns the instance of the interface that changed.

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

getPreviousAttributeValuesByName

public 
Map getPreviousAttributeValuesByName()
Deprecated. 
Returns the map of previous attribute values by name.

Returns:
the map of previous attribute values by name. This map may be empty. If this map is not empty, it's collection of keys is guaranteed to only contain instances of String. This map is guaranteed to be null if haveAttributeValuesByNameChanged() is false and is guaranteed to not be null if haveAttributeValuesByNameChanged() is true.

hasCategoryIdChanged

public boolean hasCategoryIdChanged()
Deprecated. 
Returns whether or not the categoryId property changed.

Returns:
true, iff the categoryId property changed.

hasDefinedChanged

public boolean hasDefinedChanged()
Deprecated. 
Returns whether or not the defined property changed.

Returns:
true, iff the defined property changed.

hasDescriptionChanged

public boolean hasDescriptionChanged()
Deprecated. 
Returns whether or not the description property changed.

Returns:
true, iff the description property changed.

hasHandledChanged

public boolean hasHandledChanged()
Deprecated. 
Returns whether or not the handled property changed.

Returns:
true, iff the handled property changed.

hasNameChanged

public boolean hasNameChanged()
Deprecated. 
Returns whether or not the name property changed.

Returns:
true, iff the name property changed.

haveAttributeValuesByNameChanged

public boolean haveAttributeValuesByNameChanged()
Deprecated. 
Returns whether or not the attributeValuesByName property changed.

Returns:
true, iff the attributeValuesByName property changed.

haveKeySequenceBindingsChanged

public boolean haveKeySequenceBindingsChanged()
Deprecated. 
Returns whether or not the keySequenceBindings property changed.

Returns:
true, iff the keySequenceBindings property changed.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire