Class 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
    • Constructor Detail

      • EMFCompareRCPUIPlugin

        public EMFCompareRCPUIPlugin()
        The constructor.
    • Method Detail

      • getDefault

        public static EMFCompareRCPUIPlugin getDefault()
        Returns the shared instance.
        Returns:
        the shared instance
      • log

        public void log​(Throwable e)
        Log an Exception in the current logger.
        Parameters:
        e - the exception to be logged.
      • log

        public void log​(int severity,
                        String message)
        Log the given message with the give severity level. Severity is one of IStatus.INFO, IStatus.WARNING and IStatus.ERROR.
        Parameters:
        severity - the severity of the message
        message - the message
      • getDifferenceFilterManager

        public DifferenceFilterManager getDifferenceFilterManager()
        Returns:
        The Difference Filter manager.
        Since:
        4.0
      • getImage

        public static org.eclipse.swt.graphics.Image getImage​(String imagePath)

        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

        public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor​(String imagePath)

        returns a plugin image descriptor.

        Parameters:
        imagePath - : plugin relative path to the image
        Returns:
        ImageDescriptor : image descriptor.
      • disposeImage

        public static void disposeImage​(String id)
        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

        public Map<String,​IConfigurationUIFactory> getMatchEngineConfiguratorRegistry()
        Get the Match Engine Configurator Registry
        Returns:
        Map
        Since:
        4.0
      • getPreferenceStore

        public org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
        Provide this plug-in's preference store, which searches values in InstanceScope, then ConfigurationScope, and then DefaultScope.
        Overrides:
        getPreferenceStore in class org.eclipse.ui.plugin.AbstractUIPlugin