public class RemoteCorePlugin
extends org.eclipse.core.runtime.Plugin
Constructor and Description |
---|
RemoteCorePlugin()
The constructor
|
Modifier and Type | Method and Description |
---|---|
static RemoteCorePlugin |
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)
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) |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
public static RemoteCorePlugin 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 void start(org.osgi.framework.BundleContext context) throws java.lang.Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.core.runtime.Plugin
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.core.runtime.Plugin
java.lang.Exception