public class Activator
extends org.eclipse.core.runtime.Plugin
Modifier and Type | Field and Description |
---|---|
static String |
PLUGIN_ID
The plug-in ID.
|
Constructor and Description |
---|
Activator() |
Modifier and Type | Method and Description |
---|---|
static Activator |
getInstance()
Returns the shared instance.
|
static void |
log(String message)
Logs and Info message.
|
static String |
log(Throwable t)
Logs a
Throwable . |
void |
start(org.osgi.framework.BundleContext bundleContext) |
void |
stop(org.osgi.framework.BundleContext bundleContext) |
find, find, getBundle, getDescriptor, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
public static final String PLUGIN_ID
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 static final Activator getInstance()
public static void log(String message)
message
- the message to logCopyright © 2019. All rights reserved.