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()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Activator |
getDefault()
Returns the shared instance.
|
static org.eclipse.swt.graphics.Image |
getImage(URL url)
Loads an image based on the provided
URL form this bundle. |
static void |
log(Throwable throwable)
Log an Exception.
|
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, toStringpublic static final String PLUGIN_ID
public void start(org.osgi.framework.BundleContext context)
throws Exception
start in interface org.osgi.framework.BundleActivatorstart in class org.eclipse.core.runtime.PluginExceptionpublic void stop(org.osgi.framework.BundleContext context)
throws Exception
stop in interface org.osgi.framework.BundleActivatorstop in class org.eclipse.core.runtime.PluginExceptionpublic static Activator getDefault()
public static void log(Throwable throwable)
throwable - the Throwable to logCopyright © 2018. All rights reserved.