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
FieldsFields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EMFCompareIDEPluginReturns the shared instance.Returns the ModelInclusionTesterRegistry.Returns theResourceSetHookRegistry.voidLog the given message with the given severity to the logger of this plugin.voidLog 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 Details
-
PLUGIN_ID
The plug-in ID.- See Also:
-
-
Constructor Details
-
EMFCompareIDEPlugin
public EMFCompareIDEPlugin()
-
-
Method Details
-
start
- Specified by:
startin interfaceBundleActivator- Overrides:
startin classorg.eclipse.core.runtime.Plugin- Throws:
Exception- See Also:
-
stop
- Specified by:
stopin interfaceBundleActivator- Overrides:
stopin 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
-