public class RemoteUIPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PLUGIN_ID |
Constructor and Description |
---|
RemoteUIPlugin()
The constructor
|
Modifier and Type | Method and Description |
---|---|
static RemoteUIPlugin |
getDefault()
Returns the shared instance
|
static <T> T |
getService(java.lang.Class<T> service)
Return the OSGi service with the given service interface.
|
static java.lang.String |
getUniqueIdentifier()
Get unique identifier for this plugin
|
static void |
log(org.eclipse.core.runtime.IStatus status)
Generate a log message given an IStatus object
|
static void |
log(java.lang.String msg)
Generate a log message
|
static void |
log(java.lang.Throwable e)
Generate a log message for an exception
|
void |
start(org.osgi.framework.BundleContext context) |
void |
stop(org.osgi.framework.BundleContext context) |
createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
public static final java.lang.String PLUGIN_ID
public static RemoteUIPlugin getDefault()
public static java.lang.String getUniqueIdentifier()
public static void log(org.eclipse.core.runtime.IStatus status)
status
- IStatus objectpublic static void log(java.lang.String msg)
msg
- message to logpublic static void log(java.lang.Throwable e)
e
- exception used to generate messagepublic static <T> T getService(java.lang.Class<T> service)
service
- service interfacepublic void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
java.lang.Exception
public void stop(org.osgi.framework.BundleContext context) throws java.lang.Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
java.lang.Exception