public class EMFCompareIDEPlugin
extends org.eclipse.core.runtime.Plugin
Modifier and Type | Field and Description |
---|---|
static String |
PLUGIN_ID
The plug-in ID.
|
Constructor and Description |
---|
EMFCompareIDEPlugin() |
Modifier and Type | Method and Description |
---|---|
static EMFCompareIDEPlugin |
getDefault()
Returns the shared instance.
|
ModelInclusionTesterRegistry |
getModelInclusionTesterRegistry()
Returns the ModelInclusionTesterRegistry.
|
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, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
public static final String PLUGIN_ID
public void start(BundleContext context) throws Exception
start
in interface BundleActivator
start
in class org.eclipse.core.runtime.Plugin
Exception
BundleActivator.start(org.osgi.framework.BundleContext)
public void stop(BundleContext context) throws Exception
stop
in interface BundleActivator
stop
in class org.eclipse.core.runtime.Plugin
Exception
Plugin.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
.public ModelInclusionTesterRegistry getModelInclusionTesterRegistry()
It contains all hooks registered against the ResourceSetHook extension point.
ResourceSetHookRegistry
.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.