Package org.eclipse.help.ui.internal
Class HelpUIResources
java.lang.Object
org.eclipse.help.ui.internal.HelpUIResources
Uses a resource bundle to load images and strings from a property file. This
 class needs to properly use the desired locale.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic ImagegetIconImage(String key) Returns an icon image from a property filestatic ImageDescriptorgetIconImageDescriptor(String bundleId, String path, String key) static ImageReturns an image from a property filestatic Imagestatic ImageDescriptorgetImageDescriptor(String name) Returns an image descriptor from a property filestatic ImageDescriptorgetImageDescriptor(String bundleId, String name) static ImagegetImageFromId(String iconId, boolean isOpen, boolean isLeaf) Get the image for an icon based upon the idstatic URLgetImagePath(String name) Returns a string from a property file
- 
Constructor Details- 
HelpUIResourcespublic HelpUIResources()WorkbenchResources constructor comment.
 
- 
- 
Method Details- 
getImagePathReturns a string from a property file
- 
getImageDescriptorReturns an image descriptor from a property file- Parameters:
- name- simple image file name
- Returns:
- the descriptor
 
- 
getImageDescriptor
- 
getIconImageDescriptor
- 
getIconImageReturns an icon image from a property file- Parameters:
- key- simple image file name
- Returns:
- the new image or nullif image could not be created
 
- 
getImageFromIdGet the image for an icon based upon the id- Parameters:
- iconId- The id of the icon, may be null, if so a null image is returned
- isOpen- true if this is an expanded container
- isLeaf- true if this node has no children
- Returns:
- a valid image or null if no image found
 
- 
getImageReturns an image from a property file- Parameters:
- name- simple image file name
- Returns:
- the new image or nullif image could not be created
 
- 
getImage
 
-