de.cau.cs.kieler.kwebs.client
Class KwebsClientPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
de.cau.cs.kieler.kwebs.client.KwebsClientPlugin
- All Implemented Interfaces:
- org.osgi.framework.BundleActivator
public class KwebsClientPlugin
- extends Plugin
Activator for the client plug-in. It provides storage management for the user defined provider list.
- Rating

- (2011-08-02) reviewed by ckru, mri, msp
Methods inherited from class org.eclipse.core.runtime.Plugin |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, stop, toString |
PLUGIN_ID
public static final String PLUGIN_ID
- The ID of this plug-in.
- See Also:
- Constant Field Values
KwebsClientPlugin
public KwebsClientPlugin()
start
public final void start(org.osgi.framework.BundleContext context)
throws Exception
-
- Specified by:
start
in interface org.osgi.framework.BundleActivator
- Overrides:
start
in class Plugin
- Throws:
Exception
getInstance
public static KwebsClientPlugin getInstance()
- Returns the instance of this activator.
- Returns:
- the instance of this activator
getPreferenceStore
public final IPreferenceStore getPreferenceStore()
- Returns the preference store associated with this plug-in.
- Returns:
- the preference store associated with this plug-in
getImageDescriptor
public static ImageDescriptor getImageDescriptor(String path)
- Returns an image descriptor to an image contained in this plug-in.
- Parameters:
path
- path to the image
- Returns:
- the image descriptor or
null
if the specified path is not
contained in this bundle