public class Activator
extends org.eclipse.core.runtime.Plugin
Constructor and Description |
---|
Activator() |
Modifier and Type | Method and Description |
---|---|
static Activator |
getInstance()
Returns the instance.
|
void |
log(int severity,
String message)
Logs a message with the given
IStatus . |
void |
log(Throwable t)
Logs a
Throwable . |
void |
start(org.osgi.framework.BundleContext bundleContext) |
void |
stop(org.osgi.framework.BundleContext bundleContext) |
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
public static Activator getInstance()
Activator
instance.public void start(org.osgi.framework.BundleContext bundleContext) throws Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.core.runtime.Plugin
Exception
public void stop(org.osgi.framework.BundleContext bundleContext) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.core.runtime.Plugin
Exception
public void log(int severity, String message)
IStatus
.severity
- the IStatus
severity to logmessage
- the message to logCopyright © 2019. All rights reserved.