Returns the image managed under the given key in this registry.
Parameters: key - the image's key the image managed under the given key
getDescriptor
public static ImageDescriptor getDescriptor(String key)(Code)
Returns the image descriptor for the given key in this registry. Might be called in a non-UI thread.
Parameters: key - the image's key the image descriptor for the given key
public static void setLocalImageDescriptors(IAction action, String iconName)(Code)
Sets the three image descriptors for enabled, disabled, and hovered to an action. The actions
are retrieved from the *lcl16 folders.
Parameters: action - the action Parameters: iconName - the icon name
setToolImageDescriptors
public static void setToolImageDescriptors(IAction action, String iconName)(Code)
Sets the three image descriptors for enabled, disabled, and hovered to an action. The actions
are retrieved from the *tool16 folders.
Parameters: action - the action Parameters: iconName - the icon name