| java.lang.Object org.eclipse.ui.internal.commands.CommandImageManagerEvent
CommandImageManagerEvent | final public class CommandImageManagerEvent (Code) | |
An event indicating that the image bindings have changed.
Clients must neither instantiate nor extend.
PROVISIONAL. This class or interface has been added as
part of a work in progress. There is a guarantee neither that this API will
work nor that it will remain the same. Please do not use this API without
consulting with the Platform/UI team.
This class is eventually intended to exist in
org.eclipse.jface.commands .
since: 3.2 See Also: ICommandImageManagerListener.commandImageManagerChanged(CommandImageManagerEvent) |
Constructor Summary | |
| CommandImageManagerEvent(CommandImageManager commandImageManager, String[] changedCommandIds, int type, String style) Creates a new instance of this class.
Parameters: commandImageManager - the instance of the manager that changed; must not benull . Parameters: changedCommandIds - The identifiers of the commands whose image bindings havechanged; this value must not be null and mustnot be empty. |
CommandImageManagerEvent | CommandImageManagerEvent(CommandImageManager commandImageManager, String[] changedCommandIds, int type, String style)(Code) | | Creates a new instance of this class.
Parameters: commandImageManager - the instance of the manager that changed; must not benull . Parameters: changedCommandIds - The identifiers of the commands whose image bindings havechanged; this value must not be null and mustnot be empty. This value is not copied. |
getChangedCommandIds | final public String[] getChangedCommandIds()(Code) | | Returns the identifiers of the commands whose bindings have changed.
The identifiers of the commands whose bindings have changed;neither null nor empty. |
getCommandImageManager | final public CommandImageManager getCommandImageManager()(Code) | | Returns the instance of the interface that changed.
the instance of the interface that changed. Guaranteed not to benull . |
isCommandIdChanged | final public boolean isCommandIdChanged(String commandId)(Code) | | Returns whether one of the images of the given command has changed.
Parameters: commandId - The identifier of the command to check; must not benull . true if one of the command's images has changed;false otherwise. |
isCommandImageChanged | final public boolean isCommandImageChanged(String commandId)(Code) | | Returns whether the image for the command has changed.
Parameters: commandId - The identifier of the command to check; must not benull . true if the command's image has changed See Also: CommandImageManager.getImageDescriptor(String) |
isCommandImageChanged | final public boolean isCommandImageChanged(String commandId, String style)(Code) | | Returns whether the image of the given style for the command has changed.
Parameters: commandId - The identifier of the command to check; must not benull . Parameters: style - The style of the image; may be anything. true if the command's image of the given style haschanged. See Also: CommandImageManager.getImageDescriptor(StringString) |
|
|