@Deprecated public final class CommandEvent extends Object
ICommand
.
This class is not intended to be extended by clients.
ICommandListener.commandChanged(CommandEvent)
,
CommandEvent
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
ICommand |
getCommand()
Deprecated.
|
Map |
getPreviousAttributeValuesByName()
Deprecated.
|
boolean |
hasCategoryIdChanged()
Deprecated.
|
boolean |
hasDefinedChanged()
Deprecated.
|
boolean |
hasDescriptionChanged()
Deprecated.
|
boolean |
hasHandledChanged()
Deprecated.
|
boolean |
hasNameChanged()
Deprecated.
|
boolean |
haveAttributeValuesByNameChanged()
Deprecated.
|
boolean |
haveKeySequenceBindingsChanged()
Deprecated.
|
public CommandEvent(ICommand command, boolean attributeValuesByNameChanged, boolean categoryIdChanged, boolean definedChanged, boolean descriptionChanged, boolean handledChanged, boolean keySequenceBindingsChanged, boolean nameChanged, Map previousAttributeValuesByName)
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
.@Deprecated public ICommand getCommand()
null
.@Deprecated public Map getPreviousAttributeValuesByName()
String
.
This map is guaranteed to be null
if
haveAttributeValuesByNameChanged() is false
and is
guaranteed to not be null if haveAttributeValuesByNameChanged()
is true
.@Deprecated public boolean hasCategoryIdChanged()
@Deprecated public boolean hasDefinedChanged()
@Deprecated public boolean hasDescriptionChanged()
@Deprecated public boolean hasHandledChanged()
@Deprecated public boolean hasNameChanged()
@Deprecated public boolean haveAttributeValuesByNameChanged()
@Deprecated public boolean haveKeySequenceBindingsChanged()
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.