Package org.eclipse.ease.ui
Class Activator
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.eclipse.ease.ui.Activator
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
public class Activator
extends org.eclipse.ui.plugin.AbstractUIPlugin
-
Field Summary
Fields Modifier and Type Field Description static String
ICON_FIELD
static String
ICON_METHOD
static int
JAVA_CLASSES_MAX_VERSION
static String
PLUGIN_ID
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
-
Constructor Summary
Constructors Constructor Description Activator()
-
Method Summary
Modifier and Type Method Description org.osgi.framework.BundleContext
getContext()
static Activator
getDefault()
static org.eclipse.swt.graphics.Image
getImage(String bundleID, String path, boolean storeToImageRegistry)
static org.eclipse.jface.resource.ImageDescriptor
getImageDescriptor(String path)
Returns an image descriptor for the image file at the given plug-in relative pathstatic org.eclipse.jface.resource.ImageDescriptor
getImageDescriptor(String bundleID, String path)
static org.eclipse.jface.resource.ImageDescriptor
getLocalImageDescriptor(String iconPath)
static org.eclipse.swt.graphics.Image
getLocalPluginIconImage(String iconPath)
static org.eclipse.swt.graphics.Image
getPluginIconImage(String pluginId, String iconPath)
This method returns anorg.eclipse.swt.graphics.Image
identified by its pluginId and iconPath.static InputStream
getResource(String path)
void
start(org.osgi.framework.BundleContext context)
void
stop(org.osgi.framework.BundleContext context)
Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, shutdown, startup
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
-
Field Details
-
PLUGIN_ID
- See Also:
- Constant Field Values
-
ICON_FIELD
- See Also:
- Constant Field Values
-
ICON_METHOD
- See Also:
- Constant Field Values
-
JAVA_CLASSES_MAX_VERSION
public static final int JAVA_CLASSES_MAX_VERSION- See Also:
- Constant Field Values
-
-
Constructor Details
-
Activator
public Activator()
-
-
Method Details
-
getDefault
-
start
- Specified by:
start
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
start
in classorg.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
Exception
-
stop
- Specified by:
stop
in interfaceorg.osgi.framework.BundleActivator
- Overrides:
stop
in classorg.eclipse.ui.plugin.AbstractUIPlugin
- Throws:
Exception
-
getContext
public org.osgi.framework.BundleContext getContext() -
getImageDescriptor
Returns an image descriptor for the image file at the given plug-in relative path- Parameters:
path
- the path- Returns:
- the image descriptor
-
getImageDescriptor
-
getImage
-
getPluginIconImage
This method returns anorg.eclipse.swt.graphics.Image
identified by its pluginId and iconPath. -
getLocalPluginIconImage
-
getLocalImageDescriptor
-
getResource
-