Package org.eclipse.emf.compare.ide
Class EMFCompareIDEPlugin
- java.lang.Object
-
- org.eclipse.core.runtime.Plugin
-
- org.eclipse.emf.compare.ide.EMFCompareIDEPlugin
-
- All Implemented Interfaces:
BundleActivator
public class EMFCompareIDEPlugin extends org.eclipse.core.runtime.PluginThe activator class controls the plug-in life cycle.
-
-
Constructor Summary
Constructors Constructor Description EMFCompareIDEPlugin()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EMFCompareIDEPlugingetDefault()Returns the shared instance.ModelInclusionTesterRegistrygetModelInclusionTesterRegistry()Returns the ModelInclusionTesterRegistry.ResourceSetHookRegistrygetResourceSetHookRegistry()Returns theResourceSetHookRegistry.voidlog(int severity, String message)Log the given message with the given severity to the logger of this plugin.voidlog(Throwable throwable)Log the given exception to the logger of this plugin.voidstart(BundleContext context)voidstop(BundleContext context)-
Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
-
-
-
-
Field Detail
-
PLUGIN_ID
public static final String PLUGIN_ID
The plug-in ID.- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start(BundleContext context) throws Exception
- Specified by:
startin interfaceBundleActivator- Overrides:
startin classorg.eclipse.core.runtime.Plugin- Throws:
Exception- See Also:
BundleActivator.start(org.osgi.framework.BundleContext)
-
stop
public void stop(BundleContext context) throws Exception
- Specified by:
stopin interfaceBundleActivator- Overrides:
stopin classorg.eclipse.core.runtime.Plugin- Throws:
Exception- See Also:
Plugin.stop(org.osgi.framework.BundleContext)
-
log
public void log(int severity, String message)Log the given message with the given severity to the logger of this plugin.- Parameters:
severity- the severity of the message.message- the message to log.
-
log
public void log(Throwable throwable)
Log the given exception to the logger of this plugin.- Parameters:
throwable- the throwable to log.
-
getDefault
public static EMFCompareIDEPlugin getDefault()
Returns the shared instance.- Returns:
- the shared instance
-
getResourceSetHookRegistry
public ResourceSetHookRegistry getResourceSetHookRegistry()
Returns theResourceSetHookRegistry.It contains all hooks registered against the ResourceSetHook extension point.
- Returns:
ResourceSetHookRegistry.- Since:
- 3.2
-
getModelInclusionTesterRegistry
public ModelInclusionTesterRegistry getModelInclusionTesterRegistry()
Returns the ModelInclusionTesterRegistry.It contains all hooks registered against the ResourceSetHook extension point.
- Returns:
ResourceSetHookRegistry.- Since:
- 3.4.2
-
-