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.Plugin
The activator class controls the plug-in life cycle.
-
Field Summary
Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic EMFCompareIDEPlugin
Returns the shared instance.Returns the ModelInclusionTesterRegistry.Returns theResourceSetHookRegistry
.void
Log the given message with the given severity to the logger of this plugin.void
Log the given exception to the logger of this plugin.void
start
(BundleContext context) void
stop
(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 Details
-
PLUGIN_ID
The plug-in ID.- See Also:
-
-
Constructor Details
-
EMFCompareIDEPlugin
public EMFCompareIDEPlugin()
-
-
Method Details
-
start
- Specified by:
start
in interfaceBundleActivator
- Overrides:
start
in classorg.eclipse.core.runtime.Plugin
- Throws:
Exception
- See Also:
-
stop
- Specified by:
stop
in interfaceBundleActivator
- Overrides:
stop
in classorg.eclipse.core.runtime.Plugin
- Throws:
Exception
- See Also:
-
Plugin.stop(org.osgi.framework.BundleContext)
-
log
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
Log the given exception to the logger of this plugin.- Parameters:
throwable
- the throwable to log.
-
getDefault
Returns the shared instance.- Returns:
- the shared instance
-
getResourceSetHookRegistry
Returns theResourceSetHookRegistry
.It contains all hooks registered against the ResourceSetHook extension point.
- Returns:
ResourceSetHookRegistry
.- Since:
- 3.2
-
getModelInclusionTesterRegistry
Returns the ModelInclusionTesterRegistry.It contains all hooks registered against the ResourceSetHook extension point.
- Returns:
ResourceSetHookRegistry
.- Since:
- 3.4.2
-