| java.lang.Object org.eclipse.ui.commands.CommandManagerEvent
Constructor Summary | |
public | CommandManagerEvent(ICommandManager commandManager, boolean activeContextIdsChanged, boolean activeKeyConfigurationIdChanged, boolean activeLocaleChanged, boolean activePlatformChanged, boolean definedCategoryIdsChanged, boolean definedCommandIdsChanged, boolean definedKeyConfigurationIdsChanged, Set previouslyDefinedCategoryIds, Set previouslyDefinedCommandIds, Set previouslyDefinedKeyConfigurationIds) Creates a new instance of this class.
Parameters: commandManager - the instance of the interface that changed. Parameters: activeContextIdsChanged - true, iff the activeContextIdsChanged property changed. Parameters: activeKeyConfigurationIdChanged - true, iff the activeKeyConfigurationIdChanged propertychanged. Parameters: activeLocaleChanged - true, iff the activeLocaleChanged property changed. Parameters: activePlatformChanged - true, iff the activePlatformChanged property changed. Parameters: definedCategoryIdsChanged - true, iff the definedCategoryIdsChanged property changed. Parameters: definedCommandIdsChanged - true, iff the definedCommandIdsChanged property changed. Parameters: definedKeyConfigurationIdsChanged - true, iff the definedKeyConfigurationIdsChanged propertychanged. Parameters: previouslyDefinedCategoryIds - the set of identifiers to previously defined categories. |
CommandManagerEvent | public CommandManagerEvent(ICommandManager commandManager, boolean activeContextIdsChanged, boolean activeKeyConfigurationIdChanged, boolean activeLocaleChanged, boolean activePlatformChanged, boolean definedCategoryIdsChanged, boolean definedCommandIdsChanged, boolean definedKeyConfigurationIdsChanged, Set previouslyDefinedCategoryIds, Set previouslyDefinedCommandIds, Set previouslyDefinedKeyConfigurationIds)(Code) | | Creates a new instance of this class.
Parameters: commandManager - the instance of the interface that changed. Parameters: activeContextIdsChanged - true, iff the activeContextIdsChanged property changed. Parameters: activeKeyConfigurationIdChanged - true, iff the activeKeyConfigurationIdChanged propertychanged. Parameters: activeLocaleChanged - true, iff the activeLocaleChanged property changed. Parameters: activePlatformChanged - true, iff the activePlatformChanged property changed. Parameters: definedCategoryIdsChanged - true, iff the definedCategoryIdsChanged property changed. Parameters: definedCommandIdsChanged - true, iff the definedCommandIdsChanged property changed. Parameters: definedKeyConfigurationIdsChanged - true, iff the definedKeyConfigurationIdsChanged propertychanged. Parameters: previouslyDefinedCategoryIds - the set of identifiers to previously defined categories. Thisset may be empty. If this set is not empty, it must onlycontain instances of String . This set must benull if definedCategoryIdsChanged isfalse and must not be null ifdefinedCategoryIdsChanged is true . Parameters: previouslyDefinedCommandIds - the set of identifiers to previously defined commands. Thisset may be empty. If this set is not empty, it must onlycontain instances of String . This set must benull if definedCommandIdsChanged isfalse and must not be null ifdefinedContextIdsChanged is true . Parameters: previouslyDefinedKeyConfigurationIds - the set of identifiers to previously defined keyconfigurations. This set may be empty. If this set is notempty, it must only contain instances of String .This set must be null ifdefinedKeyConfigurationIdsChanged is false andmust not be null if definedKeyConfigurationIdsChanged istrue . |
getCommandManager | public ICommandManager getCommandManager()(Code) | | Returns the instance of the interface that changed.
the instance of the interface that changed. Guaranteed not to benull . |
getPreviouslyDefinedCategoryIds | public Set getPreviouslyDefinedCategoryIds()(Code) | | Returns the set of identifiers to previously defined categories.
the set of identifiers to previously defined categories. This setmay be empty. If this set is not empty, it is guaranteed to onlycontain instances of String . This set isguaranteed to be null ifhaveDefinedCategoryIdsChanged() is false and isguaranteed to not be null if haveDefinedCategoryIdsChanged() istrue . |
getPreviouslyDefinedCommandIds | public Set getPreviouslyDefinedCommandIds()(Code) | | Returns the set of identifiers to previously defined commands.
the set of identifiers to previously defined commands. This setmay be empty. If this set is not empty, it is guaranteed to onlycontain instances of String . This set isguaranteed to be null ifhaveDefinedCommandIdsChanged() is false and isguaranteed to not be null if haveDefinedCommandIdsChanged() istrue . |
getPreviouslyDefinedKeyConfigurationIds | public Set getPreviouslyDefinedKeyConfigurationIds()(Code) | | Returns the set of identifiers to previously defined key conigurations.
the set of identifiers to previously defined key configurations.This set may be empty. If this set is not empty, it is guaranteedto only contain instances of String . This set isguaranteed to be null ifhaveDefinedKeyConfigurationIdsChanged() is false and is guaranteed to not be null ifhaveDefinedKeyConfigurationIdsChanged() is true . |
hasActiveKeyConfigurationIdChanged | public boolean hasActiveKeyConfigurationIdChanged()(Code) | | Returns whether or not the activeKeyConfigurationId property changed.
true, iff the activeKeyConfigurationId property changed. |
hasActiveLocaleChanged | public boolean hasActiveLocaleChanged()(Code) | | Returns whether or not the activeLocale property changed.
true, iff the activeLocale property changed. |
hasActivePlatformChanged | public boolean hasActivePlatformChanged()(Code) | | Returns whether or not the activePlatform property changed.
true, iff the activePlatform property changed. |
haveActiveContextIdsChanged | public boolean haveActiveContextIdsChanged()(Code) | | Returns whether or not the activeContextIds property changed.
true, iff the activeContextIds property changed. |
haveDefinedCategoryIdsChanged | public boolean haveDefinedCategoryIdsChanged()(Code) | | Returns whether or not the definedCategoryIds property changed.
true, iff the definedCategoryIds property changed. |
haveDefinedCommandIdsChanged | public boolean haveDefinedCommandIdsChanged()(Code) | | Returns whether or not the definedCommandIds property changed.
true, iff the definedCommandIds property changed. |
haveDefinedKeyConfigurationIdsChanged | public boolean haveDefinedKeyConfigurationIdsChanged()(Code) | | Returns whether or not the definedKeyConfigurationIds property changed.
true, iff the definedKeyConfigurationIds property changed. |
|
|