public class Activator
extends org.eclipse.ui.plugin.AbstractUIPlugin
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
IMG_CONNECTION_TYPE |
| Constructor and Description |
|---|
Activator()
The constructor
|
| Modifier and Type | Method and Description |
|---|---|
static Activator |
getDefault()
Returns the shared instance
|
org.eclipse.jsch.core.IJSchService |
getService() |
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
|
static void |
log(org.eclipse.core.runtime.IStatus status)
Logs the specified status with this plug-in's log.
|
static void |
log(java.lang.String message)
Logs an internal error with the specified message.
|
static void |
log(java.lang.Throwable e)
Logs an internal error with the specified throwable
|
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, startuppublic static final java.lang.String IMG_CONNECTION_TYPE
public static Activator getDefault()
public static java.lang.String getUniqueIdentifier()
public static void log(org.eclipse.core.runtime.IStatus status)
status - status to logpublic static void log(java.lang.String message)
message - the error message to logpublic static void log(java.lang.Throwable e)
e - the exception to be loggedpublic static <T> T getService(java.lang.Class<T> service)
service - service interfacepublic org.eclipse.jsch.core.IJSchService getService()
public void start(org.osgi.framework.BundleContext context)
throws java.lang.Exception
start in interface org.osgi.framework.BundleActivatorstart in class org.eclipse.ui.plugin.AbstractUIPluginjava.lang.Exceptionpublic void stop(org.osgi.framework.BundleContext context)
throws java.lang.Exception
stop in interface org.osgi.framework.BundleActivatorstop in class org.eclipse.ui.plugin.AbstractUIPluginjava.lang.Exception