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 StringICON_FIELDstatic StringICON_METHODstatic intJAVA_CLASSES_MAX_VERSIONstatic StringPLUGIN_IDFields 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.BundleContextgetContext()static ActivatorgetDefault()static org.eclipse.swt.graphics.ImagegetImage(String bundleID, String path, boolean storeToImageRegistry)static org.eclipse.jface.resource.ImageDescriptorgetImageDescriptor(String path)Returns an image descriptor for the image file at the given plug-in relative pathstatic org.eclipse.jface.resource.ImageDescriptorgetImageDescriptor(String bundleID, String path)static org.eclipse.jface.resource.ImageDescriptorgetLocalImageDescriptor(String iconPath)static org.eclipse.swt.graphics.ImagegetLocalPluginIconImage(String iconPath)static org.eclipse.swt.graphics.ImagegetPluginIconImage(String pluginId, String iconPath)This method returns anorg.eclipse.swt.graphics.Imageidentified by its pluginId and iconPath.static InputStreamgetResource(String path)voidstart(org.osgi.framework.BundleContext context)voidstop(org.osgi.framework.BundleContext context)Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, shutdown, startupMethods 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:
startin interfaceorg.osgi.framework.BundleActivator- Overrides:
startin classorg.eclipse.ui.plugin.AbstractUIPlugin- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Overrides:
stopin 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.Imageidentified by its pluginId and iconPath. -
getLocalPluginIconImage
-
getLocalImageDescriptor
-
getResource
-