|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.commands.CommandManagerEvent
public final class CommandManagerEvent
An event indicating that the set of defined command identifiers has changed.
ICommandManagerListener.commandManagerChanged(CommandManagerEvent)
Constructor Summary | |
---|---|
CommandManagerEvent(CommandManager commandManager,
java.lang.String parameterTypeId,
boolean parameterTypeIdAdded,
boolean parameterTypeIdChanged)
Creates a new CommandManagerEvent instance to describe
changes to command parameter types. |
|
CommandManagerEvent(CommandManager commandManager,
java.lang.String commandId,
boolean commandIdAdded,
boolean commandIdChanged,
java.lang.String categoryId,
boolean categoryIdAdded,
boolean categoryIdChanged)
Creates a new CommandManagerEvent instance to describe
changes to commands and/or categories. |
Method Summary | |
---|---|
java.lang.String |
getCategoryId()
Returns the category identifier that was added or removed. |
java.lang.String |
getCommandId()
Returns the command identifier that was added or removed. |
CommandManager |
getCommandManager()
Returns the instance of the interface that changed. |
java.lang.String |
getParameterTypeId()
Returns the command parameter type identifier that was added or removed. |
boolean |
isCategoryChanged()
Returns whether the list of defined category identifiers has changed. |
boolean |
isCategoryDefined()
Returns whether the category identifier became defined. |
boolean |
isCommandChanged()
Returns whether the list of defined command identifiers has changed. |
boolean |
isCommandDefined()
Returns whether the command identifier became defined. |
boolean |
isParameterTypeChanged()
Returns whether the list of defined command parameter type identifiers has changed. |
boolean |
isParameterTypeDefined()
Returns whether the command parameter type identifier became defined. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommandManagerEvent(CommandManager commandManager, java.lang.String commandId, boolean commandIdAdded, boolean commandIdChanged, java.lang.String categoryId, boolean categoryIdAdded, boolean categoryIdChanged)
CommandManagerEvent
instance to describe
changes to commands and/or categories.
commandManager
- the instance of the interface that changed; must not be
null
.commandId
- The command identifier that was added or removed; must not be
null
if commandIdChanged is true
.commandIdAdded
- Whether the command identifier became defined (otherwise, it
became undefined).commandIdChanged
- Whether the list of defined command identifiers has changed.categoryId
- The category identifier that was added or removed; must not be
null
if categoryIdChanged is true
.categoryIdAdded
- Whether the category identifier became defined (otherwise, it
became undefined).categoryIdChanged
- Whether the list of defined category identifiers has changed.public CommandManagerEvent(CommandManager commandManager, java.lang.String parameterTypeId, boolean parameterTypeIdAdded, boolean parameterTypeIdChanged)
CommandManagerEvent
instance to describe
changes to command parameter types.
commandManager
- the instance of the interface that changed; must not be
null
.parameterTypeId
- The command parameter type identifier that was added or
removed; must not be null
if
parameterTypeIdChanged is true
.parameterTypeIdAdded
- Whether the parameter type identifier became defined
(otherwise, it became undefined).parameterTypeIdChanged
- Whether the list of defined parameter type identifiers has
changed.Method Detail |
---|
public final java.lang.String getCategoryId()
null
.public final java.lang.String getCommandId()
null
.public final CommandManager getCommandManager()
null
.public final java.lang.String getParameterTypeId()
null
.public final boolean isCategoryChanged()
true
if the list of category identifiers has
changed; false
otherwise.public final boolean isCategoryDefined()
true
if the category identifier became defined;
false
if the category identifier became undefined.public final boolean isCommandChanged()
true
if the list of command identifiers has
changed; false
otherwise.public final boolean isCommandDefined()
true
if the command identifier became defined;
false
if the command identifier became undefined.public final boolean isParameterTypeChanged()
true
if the list of command parameter type
identifiers has changed; false
otherwise.public final boolean isParameterTypeDefined()
true
if the command parameter type identifier
became defined; false
if the command parameter
type identifier became undefined.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |