| java.lang.Object org.eclipse.ui.internal.commands.CommandImageService
CommandImageService | final public class CommandImageService implements ICommandImageService(Code) | |
Provides services related to the command architecture within the workbench.
This service can be used to access the set of commands and handlers.
since: 3.2 |
Method Summary | |
final public void | bind(String commandId, int type, String style, ImageDescriptor descriptor) | final public void | bind(String commandId, int type, String style, URL url) | final public void | dispose() | final public String | generateUnusedStyle(String commandId) | final public ImageDescriptor | getImageDescriptor(String commandId) | final public ImageDescriptor | getImageDescriptor(String commandId, int type) | final public ImageDescriptor | getImageDescriptor(String commandId, int type, String style) | final public ImageDescriptor | getImageDescriptor(String commandId, String style) | final public void | readRegistry() |
CommandImageService | public CommandImageService(CommandImageManager commandImageManager, ICommandService commandService)(Code) | | Constructs a new instance of CommandService using a
command image manager.
Parameters: commandImageManager - The command image manager to use; must not benull . Parameters: commandService - The workbench command service; must not be null .This is used for checking whether a command is defined whenreading the registry. |
bind | final public void bind(String commandId, int type, String style, ImageDescriptor descriptor)(Code) | | |
dispose | final public void dispose()(Code) | | |
getImageDescriptor | final public ImageDescriptor getImageDescriptor(String commandId)(Code) | | |
getImageDescriptor | final public ImageDescriptor getImageDescriptor(String commandId, int type)(Code) | | |
getImageDescriptor | final public ImageDescriptor getImageDescriptor(String commandId, int type, String style)(Code) | | |
getImageDescriptor | final public ImageDescriptor getImageDescriptor(String commandId, String style)(Code) | | |
readRegistry | final public void readRegistry()(Code) | | |
|
|