org.eclipse.xtend.check.ui.editor
Class EditorImages
java.lang.Object
org.eclipse.xtend.check.ui.editor.EditorImages
public class EditorImages
- extends java.lang.Object
Field Summary |
static java.lang.String |
STATEMENT
|
Method Summary |
static org.eclipse.swt.graphics.Image |
getImage(java.lang.String key)
Returns the Image identified by the given key, or
null if it does not exist. |
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(java.lang.String key)
Returns the ImageDescriptor identified by the given key,
or null if it does not exist. |
static org.eclipse.jface.resource.ImageRegistry |
getImageRegistry()
Returns the ImageRegistry. |
static org.eclipse.jface.resource.ImageRegistry |
initializeImageRegistry()
Initialize the image registry by declaring all of the required graphics. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STATEMENT
public static final java.lang.String STATEMENT
- See Also:
- Constant Field Values
EditorImages
public EditorImages()
getImageRegistry
public static org.eclipse.jface.resource.ImageRegistry getImageRegistry()
- Returns the ImageRegistry.
initializeImageRegistry
public static org.eclipse.jface.resource.ImageRegistry initializeImageRegistry()
- Initialize the image registry by declaring all of the required graphics.
This involves creating JFace image descriptors describing how to
create/find the image should it be needed. The image is not actually
allocated until requested.
Prefix conventions Wizard Banners WIZBAN_ Preference Banners PREF_BAN_
Property Page Banners PROPBAN_ Color toolbar CTOOL_ Enable toolbar ETOOL_
Disable toolbar DTOOL_ Local enabled toolbar ELCL_ Local Disable toolbar
DLCL_ Object large OBJL_ Object small OBJS_ View VIEW_ Product images
PROD_ Misc images MISC_
Where are the images? The images (typically gifs) are found in the same
location as this plugin class. This may mean the same package directory
as the package holding this class. The images are declared using
this.getClass() to ensure they are looked up via this plugin class.
- See Also:
ImageRegistry
getImage
public static org.eclipse.swt.graphics.Image getImage(java.lang.String key)
- Returns the
Image
identified by the given key, or
null
if it does not exist.
getImageDescriptor
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(java.lang.String key)
- Returns the
ImageDescriptor
identified by the given key,
or null
if it does not exist.