public class EMFCompareRCPUIPlugin
extends org.eclipse.ui.plugin.AbstractUIPlugin
Modifier and Type | Field and Description |
---|---|
static String |
ACCESSOR_FACTORY_PPID |
static String |
DIFFERENCE_GROUP_EXTENDER_PPID |
static String |
FILTER_PROVIDER_PPID |
static String |
GROUP_PROVIDER_PPID |
static String |
PLUGIN_ID
The plug-in ID.
|
Constructor and Description |
---|
EMFCompareRCPUIPlugin()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
disposeCachedImages()
dispose system resources associated with cached images.
|
static void |
disposeImage(String id)
Dispose image with the given id.
|
IAccessorFactory.Registry |
getAccessorFactoryRegistry() |
ContentMergeViewerCustomizationRegistry |
getContentMergeViewerCustomizationRegistry()
Returns the registry containing all known content merge viewer customizations.
|
static EMFCompareRCPUIPlugin |
getDefault()
Returns the shared instance.
|
DifferenceFilterManager |
getDifferenceFilterManager() |
IDifferenceFilter.Registry |
getDifferenceFilterRegistry() |
IDifferenceGroupExtender.Registry |
getDifferenceGroupExtenderRegistry() |
IDifferenceGroupProvider.Descriptor.Registry |
getDifferenceGroupProviderRegistry() |
static org.eclipse.swt.graphics.Image |
getImage(String imagePath)
returns a plugin image.
|
static org.eclipse.jface.resource.ImageDescriptor |
getImageDescriptor(String imagePath)
returns a plugin image descriptor.
|
IItemRegistry<IDifferenceGroupProvider.Descriptor> |
getItemDifferenceGroupProviderRegistry() |
Map<String,IConfigurationUIFactory> |
getMatchEngineConfiguratorRegistry()
Get the Match Engine Configurator Registry
|
org.eclipse.jface.preference.IPreferenceStore |
getPreferenceStore()
Provide this plug-in's preference store, which searches values in
InstanceScope , then
ConfigurationScope , and then DefaultScope . |
void |
log(int severity,
String message)
Log the given message with the give severity level.
|
void |
log(Throwable e)
Log an
Exception in the current logger . |
void |
start(BundleContext context) |
void |
stop(BundleContext context) |
createImageRegistry, getDialogSettings, getImageRegistry, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, initializeImageRegistry, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
public static final String PLUGIN_ID
public static final String GROUP_PROVIDER_PPID
public static final String FILTER_PROVIDER_PPID
public static final String ACCESSOR_FACTORY_PPID
public static final String DIFFERENCE_GROUP_EXTENDER_PPID
public void start(BundleContext context) throws Exception
start
in interface BundleActivator
start
in class org.eclipse.ui.plugin.AbstractUIPlugin
Exception
public void stop(BundleContext context) throws Exception
stop
in interface BundleActivator
stop
in class org.eclipse.ui.plugin.AbstractUIPlugin
Exception
public static EMFCompareRCPUIPlugin getDefault()
public void log(Throwable e)
Exception
in the current logger
.e
- the exception to be logged.public void log(int severity, String message)
IStatus.INFO
,
IStatus.WARNING
and IStatus.ERROR
.severity
- the severity of the messagemessage
- the messagepublic IDifferenceGroupProvider.Descriptor.Registry getDifferenceGroupProviderRegistry()
public IItemRegistry<IDifferenceGroupProvider.Descriptor> getItemDifferenceGroupProviderRegistry()
public IDifferenceFilter.Registry getDifferenceFilterRegistry()
public DifferenceFilterManager getDifferenceFilterManager()
public IAccessorFactory.Registry getAccessorFactoryRegistry()
public IDifferenceGroupExtender.Registry getDifferenceGroupExtenderRegistry()
public ContentMergeViewerCustomizationRegistry getContentMergeViewerCustomizationRegistry()
ContentMergeViewerCustomizationRegistry
containing all known content merge viewer
customizations.public static org.eclipse.swt.graphics.Image getImage(String imagePath)
returns a plugin image. The returned image does not need to be explicitly disposed.
imagePath
- : plugin relative path to the imagepublic static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor(String imagePath)
returns a plugin image descriptor.
imagePath
- : plugin relative path to the imagepublic static void disposeImage(String id)
id
- : dispose system resources associated with the image with the given id.public static void disposeCachedImages()
public Map<String,IConfigurationUIFactory> getMatchEngineConfiguratorRegistry()
public org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
InstanceScope
, then
ConfigurationScope
, and then DefaultScope
.getPreferenceStore
in class org.eclipse.ui.plugin.AbstractUIPlugin
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.