Class RefactoringUiPlugin

  • All Implemented Interfaces:
    org.osgi.framework.BundleActivator

    public class RefactoringUiPlugin
    extends org.eclipse.ui.plugin.AbstractUIPlugin
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.eclipse.core.runtime.IStatus createErrorStatus​(String msg, Throwable e)
      Create IStatus with error severity
      static org.eclipse.core.runtime.IStatus createInfoStatus​(String msg, Throwable e)
      Create IStatus with info severity
      static RefactoringUiPlugin getDefault()
      Returns the shared instance
      static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor​(String path)
      Returns an image descriptor for the image file at the given plug-in relative path
      protected void initializeImageRegistry​(org.eclipse.jface.resource.ImageRegistry reg)  
      static void log​(org.eclipse.core.runtime.IStatus status)
      Log specified IStatus
      static void logError​(Throwable e)
      Log throwable with error severity
      static void logInfo​(String message)
      Log message with info severity
      void start​(org.osgi.framework.BundleContext context)  
      void stop​(org.osgi.framework.BundleContext context)  
      • Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin

        createImageRegistry, getDialogSettings, getImageRegistry, getPreferenceStore, getWorkbench, imageDescriptorFromPlugin, initializeDefaultPluginPreferences, initializeDefaultPreferences, loadDialogSettings, loadPreferenceStore, refreshPluginActions, saveDialogSettings, savePreferenceStore, shutdown, startup
      • Methods inherited from class org.eclipse.core.runtime.Plugin

        find, find, getBundle, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
    • Constructor Detail

      • RefactoringUiPlugin

        public RefactoringUiPlugin()
        The constructor
    • Method Detail

      • start

        public void start​(org.osgi.framework.BundleContext context)
                   throws Exception
        Specified by:
        start in interface org.osgi.framework.BundleActivator
        Overrides:
        start in class org.eclipse.ui.plugin.AbstractUIPlugin
        Throws:
        Exception
      • stop

        public void stop​(org.osgi.framework.BundleContext context)
                  throws Exception
        Specified by:
        stop in interface org.osgi.framework.BundleActivator
        Overrides:
        stop in class org.eclipse.ui.plugin.AbstractUIPlugin
        Throws:
        Exception
      • getDefault

        public static RefactoringUiPlugin getDefault()
        Returns the shared instance
        Returns:
        the shared instance
      • getImageDescriptor

        public static org.eclipse.jface.resource.ImageDescriptor getImageDescriptor​(String path)
        Returns an image descriptor for the image file at the given plug-in relative path
        Parameters:
        path - the path
        Returns:
        the image descriptor
      • log

        public static void log​(org.eclipse.core.runtime.IStatus status)
        Log specified IStatus
        Parameters:
        status - the status to log
      • logError

        public static void logError​(Throwable e)
        Log throwable with error severity
        Parameters:
        e - the throwable to log
      • logInfo

        public static void logInfo​(String message)
        Log message with info severity
        Parameters:
        message - message to log
      • createErrorStatus

        public static org.eclipse.core.runtime.IStatus createErrorStatus​(String msg,
                                                                         Throwable e)
        Create IStatus with error severity
        Parameters:
        msg - the message to put into status
        e - the throwable to put into status
        Returns:
        IStatus with error severity
      • createInfoStatus

        public static org.eclipse.core.runtime.IStatus createInfoStatus​(String msg,
                                                                        Throwable e)
        Create IStatus with info severity
        Parameters:
        msg - the message to put into status
        e - the throwable to put into status
        Returns:
        IStatus with info severity
      • initializeImageRegistry

        protected void initializeImageRegistry​(org.eclipse.jface.resource.ImageRegistry reg)
        Overrides:
        initializeImageRegistry in class org.eclipse.ui.plugin.AbstractUIPlugin