public final class Activator
extends org.eclipse.ui.plugin.AbstractUIPlugin
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 |
getInstance()
Returns the shared instance.
|
static org.eclipse.jface.resource.ImageDescriptor |
loadImageDescriptor(String path)
Returns an
ImageDescriptor for a path. |
static void |
log(String message)
Logs and Info message.
|
static String |
log(Throwable t)
Logs a
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, startup
public static final String PLUGIN_ID
public void start(org.osgi.framework.BundleContext context) throws Exception
start
in interface org.osgi.framework.BundleActivator
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
Exception
public void stop(org.osgi.framework.BundleContext context) throws Exception
stop
in interface org.osgi.framework.BundleActivator
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
Exception
public static Activator getInstance()
public static void log(String message)
message
- the message to logpublic static org.eclipse.jface.resource.ImageDescriptor loadImageDescriptor(String path)
ImageDescriptor
for a path.path
- the path to an imageImageDescriptor
Copyright © 2017. All rights reserved.