org.eclipse.xtend.shared.ui.expression.editor
Class EditorImages
java.lang.Object
org.eclipse.xtend.shared.ui.expression.editor.EditorImages
public class EditorImages
- extends java.lang.Object
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 |
EXTENSION
public static final java.lang.String EXTENSION
- See Also:
- Constant Field Values
PRIVATE_EXTENSION
public static final java.lang.String PRIVATE_EXTENSION
- See Also:
- Constant Field Values
CREATE_EXTENSION
public static final java.lang.String CREATE_EXTENSION
- See Also:
- Constant Field Values
PRIVATE_CREATE_EXTENSION
public static final java.lang.String PRIVATE_CREATE_EXTENSION
- See Also:
- Constant Field Values
OPERATION
public static final java.lang.String OPERATION
- See Also:
- Constant Field Values
PROPERTY
public static final java.lang.String PROPERTY
- See Also:
- Constant Field Values
STATICPROPERTY
public static final java.lang.String STATICPROPERTY
- See Also:
- Constant Field Values
VARIABLE
public static final java.lang.String VARIABLE
- See Also:
- Constant Field Values
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
PACKAGE
public static final java.lang.String PACKAGE
- See Also:
- Constant Field Values
STATEMENT
public static final java.lang.String STATEMENT
- See Also:
- Constant Field Values
ERROR_CHECK
public static final java.lang.String ERROR_CHECK
- See Also:
- Constant Field Values
WARNING_CHECK
public static final java.lang.String WARNING_CHECK
- See Also:
- Constant Field Values
XPAND_TEMPLATE
public static final java.lang.String XPAND_TEMPLATE
- See Also:
- Constant Field Values
XPAND_DEFINE
public static final java.lang.String XPAND_DEFINE
- See Also:
- Constant Field Values
XPAND_AROUND
public static final java.lang.String XPAND_AROUND
- See Also:
- Constant Field Values
NS_IMPORT
public static final java.lang.String NS_IMPORT
- See Also:
- Constant Field Values
EXT_IMPORT
public static final java.lang.String EXT_IMPORT
- See Also:
- Constant Field Values
SEARCH_DECLARATIONS
public static final java.lang.String SEARCH_DECLARATIONS
- See Also:
- Constant Field Values
SEARCH_REFERENCES
public static final java.lang.String SEARCH_REFERENCES
- 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.