Class AnalyzerPreferences
- java.lang.Object
-
- org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
-
- com.ensoftcorp.open.commons.preferences.AnalyzerPreferences
-
public class AnalyzerPreferences extends org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
-
-
Constructor Summary
Constructors Constructor Description AnalyzerPreferences()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
enableAnalyzerCaching(Analyzer analyzer, boolean enabled)
Enables or disables the caching for analyzerstatic void
enableAnalyzerCaching(java.lang.String analyzerName, boolean enabled)
Enables or disables the caching for analyzerstatic org.eclipse.jface.preference.IPreferenceStore
getPreferenceStore()
Returns the preference store used for these preferencesvoid
initializeDefaultPreferences()
static boolean
isAnalyzerCachingEnabled(java.lang.String analyzerName)
Returns true if caching for the given analyzer is enabledstatic void
loadPreferences()
Loads or refreshes current preference valuesstatic void
restoreDefaults()
Restores the default preferences
-
-
-
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 classorg.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
-
-