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
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final int
static final String
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 -
Method Summary
Modifier and TypeMethodDescriptionorg.osgi.framework.BundleContext
static Activator
static org.eclipse.swt.graphics.Image
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:
-
ICON_FIELD
- See Also:
-
ICON_METHOD
- See Also:
-
JAVA_CLASSES_MAX_VERSION
public static final int JAVA_CLASSES_MAX_VERSION- See Also:
-
-
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
-