Class SubsystemPreferences


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

      • SubsystemPreferences

        public SubsystemPreferences()
    • Method Detail

      • getPreferenceStore

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

        public static void enableSubsystemCategory​(java.lang.String subsystemCategory,
                                                   boolean enabled)
        Enables or disables the subsystem category
        Parameters:
        subsystemCategory -
        enabled -
      • isSubsystemCategoryEnabled

        public static boolean isSubsystemCategoryEnabled​(java.lang.String subsystemCategory)
        Returns true if the subsystem category is enabled for tagging
        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