Package org.eclipse.emf.compare.rcp.ui
Class EMFCompareRCPUIPlugin
java.lang.Object
org.eclipse.core.runtime.Plugin
org.eclipse.ui.plugin.AbstractUIPlugin
org.eclipse.emf.compare.rcp.ui.EMFCompareRCPUIPlugin
- All Implemented Interfaces:
BundleActivator
public class EMFCompareRCPUIPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin
The activator class controls the plug-in life cycle.
- Since:
- 3.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringThe plug-in ID.Fields 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 voiddispose system resources associated with cached images.static voiddisposeImage(String id) Dispose image with the given id.Returns the registry containing all known content merge viewer customizations.static EMFCompareRCPUIPluginReturns the shared instance.static org.eclipse.swt.graphics.Imagereturns a plugin image.static org.eclipse.jface.resource.ImageDescriptorgetImageDescriptor(String imagePath) returns a plugin image descriptor.Get the Match Engine Configurator Registryorg.eclipse.jface.preference.IPreferenceStoreProvide this plug-in's preference store, which searches values inInstanceScope, thenConfigurationScope, and thenDefaultScope.voidLog the given message with the give severity level.voidLog anExceptionin thecurrent logger.voidstart(BundleContext context) voidstop(BundleContext context) Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin
createImageRegistry, getDialogSettings, getImageRegistry, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startupMethods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
-
Field Details
-
PLUGIN_ID
The plug-in ID.- See Also:
-
GROUP_PROVIDER_PPID
- See Also:
-
FILTER_PROVIDER_PPID
- See Also:
-
ACCESSOR_FACTORY_PPID
- See Also:
-
DIFFERENCE_GROUP_EXTENDER_PPID
- Since:
- 4.0
- See Also:
-
-
Constructor Details
-
EMFCompareRCPUIPlugin
public EMFCompareRCPUIPlugin()The constructor.
-
-
Method Details
-
start
- Specified by:
startin interfaceBundleActivator- Overrides:
startin classorg.eclipse.ui.plugin.AbstractUIPlugin- Throws:
Exception
-
stop
- Specified by:
stopin interfaceBundleActivator- Overrides:
stopin classorg.eclipse.ui.plugin.AbstractUIPlugin- Throws:
Exception
-
getDefault
Returns the shared instance.- Returns:
- the shared instance
-
log
Log anExceptionin thecurrent logger.- Parameters:
e- the exception to be logged.
-
log
Log the given message with the give severity level. Severity is one ofIStatus.INFO,IStatus.WARNINGandIStatus.ERROR.- Parameters:
severity- the severity of the messagemessage- the message
-
getDifferenceGroupProviderRegistry
- Returns:
- the groupProviderRegistry
- Since:
- 4.0
-
getItemDifferenceGroupProviderRegistry
- Returns:
- the item registry for group providers.
- Since:
- 4.0
-
getDifferenceFilterRegistry
- Since:
- 4.0
-
getDifferenceFilterManager
- Returns:
- The Difference Filter manager.
- Since:
- 4.0
-
getAccessorFactoryRegistry
- Returns:
- the registry
-
getDifferenceGroupExtenderRegistry
- Returns:
- the sub tree registry
- Since:
- 4.0
-
getContentMergeViewerCustomizationRegistry
Returns the registry containing all known content merge viewer customizations.- Returns:
- the
ContentMergeViewerCustomizationRegistrycontaining all known content merge viewer customizations. - Since:
- 4.4
-
getImage
returns a plugin image. The returned image does not need to be explicitly disposed.
- Parameters:
imagePath- : plugin relative path to the image- Returns:
- Image : plugin hosted image
-
getImageDescriptor
returns a plugin image descriptor.
- Parameters:
imagePath- : plugin relative path to the image- Returns:
- ImageDescriptor : image descriptor.
-
disposeImage
Dispose image with the given id.- Parameters:
id- : dispose system resources associated with the image with the given id.
-
disposeCachedImages
public static void disposeCachedImages()dispose system resources associated with cached images. -
getMatchEngineConfiguratorRegistry
Get the Match Engine Configurator Registry- Returns:
- Mapinvalid input: '<'String, IConfigurationUIFactory>
- Since:
- 4.0
-
getPreferenceStore
public org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()Provide this plug-in's preference store, which searches values inInstanceScope, thenConfigurationScope, and thenDefaultScope.- Overrides:
getPreferenceStorein classorg.eclipse.ui.plugin.AbstractUIPlugin
-