org.eclipse.gef
Class GEFPlugin
java.lang.Object
|
+--org.eclipse.core.runtime.Plugin
|
+--org.eclipse.gef.GEFPlugin
- All Implemented Interfaces:
- SharedImageConstants
- public final class GEFPlugin
- extends Plugin
- implements SharedImageConstants
Provides shared Images
and ImageDescriptors.
- See Also:
SharedImageConstants,
getImage(String),
getImageDescriptor(String)
| Methods inherited from class org.eclipse.core.runtime.Plugin |
find, find, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString |
GEFPlugin
public GEFPlugin(IPluginDescriptor descriptor)
- Creates the singleton instance of the GEF plugin.
getDefault
public static GEFPlugin getDefault()
- Gets the plugin singleton.
- Returns:
- the default GEFPlugin singleton
getImage
public static Image getImage(String imageName)
- Returns the Image as defined in
SharedImageConstants.
Only constants starting with ICON are available as Images.
getImageDescriptor
public static ImageDescriptor getImageDescriptor(String imageName)
- Returns an ImageDescriptor as defined in
SharedImageConstants.
Only constants starting with DESC are available as descriptors.
createUndoablePropertySheetEntry
public static IPropertySheetEntry createUndoablePropertySheetEntry(CommandStack stack)
- Create a root undoable property sheet entry.