Class AnalyzerPreferences


  • public class AnalyzerPreferences
    extends org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
    • Constructor Detail

      • AnalyzerPreferences

        public AnalyzerPreferences()
    • Method Detail

      • getPreferenceStore

        public static org.eclipse.jface.preference.IPreferenceStore getPreferenceStore()
        Returns the preference store used for these preferences
        Returns:
      • enableAnalyzerCaching

        public static void enableAnalyzerCaching​(Analyzer analyzer,
                                                 boolean enabled)
        Enables or disables the caching for analyzer
        Parameters:
        subsystemCategory -
        enabled -
      • enableAnalyzerCaching

        public static void enableAnalyzerCaching​(java.lang.String analyzerName,
                                                 boolean enabled)
        Enables or disables the caching for analyzer
        Parameters:
        subsystemCategory -
        enabled -
      • isAnalyzerCachingEnabled

        public static boolean isAnalyzerCachingEnabled​(java.lang.String analyzerName)
        Returns true if caching for the given analyzer is enabled
        Parameters:
        subsystemCategory -
        Returns:
      • initializeDefaultPreferences

        public void initializeDefaultPreferences()
        Specified by:
        initializeDefaultPreferences in class org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
      • restoreDefaults

        public static void restoreDefaults()
        Restores the default preferences
      • loadPreferences

        public static void loadPreferences()
        Loads or refreshes current preference values