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
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final intstatic final StringFields 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.BundleContextstatic Activatorstatic Imagestatic ImageDescriptorgetImageDescriptor(String path) Returns an image descriptor for the image file at the given plug-in relative pathstatic ImageDescriptorgetImageDescriptor(String bundleID, String path) static ImageDescriptorgetLocalImageDescriptor(String iconPath) static ImagegetLocalPluginIconImage(String iconPath) static 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:
-
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:
startin interfaceorg.osgi.framework.BundleActivator- Overrides:
startin classAbstractUIPlugin- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.osgi.framework.BundleActivator- Overrides:
stopin classAbstractUIPlugin- 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
-