Class AnyEditToolsPlugin

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

    public class AnyEditToolsPlugin
    extends org.eclipse.ui.plugin.AbstractUIPlugin
    The main plugin class to be used in the desktop.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static boolean isSaveHookInitialized  
      private static AnyEditToolsPlugin plugin  
      • 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 
      Constructor Description
      AnyEditToolsPlugin()
      The constructor.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void errorDialog​(java.lang.String message)  
      static void errorDialog​(java.lang.String message, java.lang.Throwable error)  
      static AnyEditToolsPlugin getDefault()
      Returns the shared instance.
      static java.lang.String getId()  
      static org.eclipse.swt.widgets.Shell getShell()
      Returns the workspace instance.
      static boolean isSaveHookInitialized()  
      static void logError​(java.lang.String message, java.lang.Throwable error)  
      static void logInfo​(java.lang.String message)  
      static void setSaveHookInitialized​(boolean isSaveHookInitialized)  
      • Methods inherited from class org.eclipse.ui.plugin.AbstractUIPlugin

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

        find, find, getBundle, getLog, getPluginPreferences, getStateLocation, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • isSaveHookInitialized

        private static boolean isSaveHookInitialized
    • Constructor Detail

      • AnyEditToolsPlugin

        public AnyEditToolsPlugin()
        The constructor.
    • Method Detail

      • getId

        public static java.lang.String getId()
      • getShell

        public static org.eclipse.swt.widgets.Shell getShell()
        Returns the workspace instance.
      • errorDialog

        public static void errorDialog​(java.lang.String message,
                                       java.lang.Throwable error)
      • logError

        public static void logError​(java.lang.String message,
                                    java.lang.Throwable error)
        Parameters:
        error -
      • logInfo

        public static void logInfo​(java.lang.String message)
      • errorDialog

        public static void errorDialog​(java.lang.String message)
      • setSaveHookInitialized

        public static void setSaveHookInitialized​(boolean isSaveHookInitialized)
        Parameters:
        isSaveHookInitialized - The isSaveHookInitialized to set.
      • isSaveHookInitialized

        public static boolean isSaveHookInitialized()
        Returns:
        Returns the isSaveHookInitialized.