public class ComPlugin extends AbstractUIPlugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
Constructor and Description |
---|
ComPlugin()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
BrowserHistory |
getBrowserHistory() |
static ComPlugin |
getDefault()
Returns the shared instance.
|
IKeyHook |
newKeyHook(IKeyHookListener listener) |
ResourceManager |
newResourceManager(ResourceManager parent) |
ISendEvent |
newSendEvent() |
void |
start(org.osgi.framework.BundleContext context)
This method is called upon plug-in activation
|
void |
stop(org.osgi.framework.BundleContext context)
This method is called when the plug-in is stopped
|
getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, shutdown, startup
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
start
in class AbstractUIPlugin
Exception
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class AbstractUIPlugin
Exception
public static ComPlugin getDefault()
public ResourceManager newResourceManager(ResourceManager parent)
public BrowserHistory getBrowserHistory()
public IKeyHook newKeyHook(IKeyHookListener listener)
listener
- The IKeyHookListener to handle the events raised by IKeyHook.IKeyHook
public ISendEvent newSendEvent()
ISendEvent