public class Activator
extends org.eclipse.ui.plugin.AbstractUIPlugin
| Constructor and Description |
|---|
Activator() |
| Modifier and Type | Method and Description |
|---|---|
static Activator |
getDefault()
Returns the shared instance.
|
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(String path)
Returns an image descriptor for the image file at the given
plug-in relative path.
|
Collection<MarkerHelperProvider> |
getMarkerHelperProviders()
Obtain the currently registered marker helper providers.
|
Collection<ValidationDelegateProvider> |
getValidationDelegateProviders()
Obtain the currently registered validation delegate providers.
|
static void |
log(String message,
Throwable t)
Logs an exception for this plugin.
|
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, startuppublic 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.ui.plugin.AbstractUIPluginExceptionpublic void stop(org.osgi.framework.BundleContext context)
throws Exception
stop in interface org.osgi.framework.BundleActivatorstop in class org.eclipse.ui.plugin.AbstractUIPluginExceptionpublic static Activator getDefault()
public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String path)
path - the pathpublic static void log(String message, Throwable t)
message - the specific message to logt - throwable causing this logpublic Collection<ValidationDelegateProvider> getValidationDelegateProviders()
public Collection<MarkerHelperProvider> getMarkerHelperProviders()
Copyright © 2020. All rights reserved.