public class EMFCompareIDEPlugin extends Plugin
| Modifier and Type | Field and Description |
|---|---|
static String |
PLUGIN_ID
The plug-in ID.
|
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME| Constructor and Description |
|---|
EMFCompareIDEPlugin() |
| Modifier and Type | Method and Description |
|---|---|
static EMFCompareIDEPlugin |
getDefault()
Returns the shared instance.
|
ResourceSetHookRegistry |
getResourceSetHookRegistry()
Returns the
ResourceSetHookRegistry. |
void |
log(int severity,
String message)
Log the given message with the given severity to the logger of this plugin.
|
void |
log(Throwable throwable)
Log the given exception to the logger of this plugin.
|
void |
start(BundleContext context) |
void |
stop(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(BundleContext context) throws Exception
start in interface BundleActivatorstart in class PluginExceptionBundleActivator.start(org.osgi.framework.BundleContext)public void stop(BundleContext context) throws Exception
stop in interface BundleActivatorstop in class PluginExceptionPlugin.stop(org.osgi.framework.BundleContext)public void log(int severity,
String message)
severity - the severity of the message.message - the message to log.public void log(Throwable throwable)
throwable - the throwable to log.public static EMFCompareIDEPlugin getDefault()
public ResourceSetHookRegistry getResourceSetHookRegistry()
ResourceSetHookRegistry.
It contains all hooks registered against the ResourceSetHook extension point.
ResourceSetHookRegistry.
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.