org.eclipse.cdt.internal.ui.preferences.formatter
Class FormatterProfileManager

java.lang.Object
  extended by java.util.Observable
      extended by org.eclipse.cdt.internal.ui.preferences.formatter.ProfileManager
          extended by org.eclipse.cdt.internal.ui.preferences.formatter.FormatterProfileManager

public class FormatterProfileManager
extends ProfileManager


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.cdt.internal.ui.preferences.formatter.ProfileManager
ProfileManager.BuiltInProfile, ProfileManager.CustomProfile, ProfileManager.KeySet, ProfileManager.Profile, ProfileManager.SharedProfile
 
Field Summary
static java.lang.String ALLMAN_PROFILE
           
static java.lang.String DEFAULT_PROFILE
           
static java.lang.String GNU_PROFILE
           
static java.lang.String KANDR_PROFILE
           
static java.lang.String WHITESMITHS_PROFILE
           
 
Fields inherited from class org.eclipse.cdt.internal.ui.preferences.formatter.ProfileManager
PROFILE_CREATED_EVENT, PROFILE_DELETED_EVENT, PROFILE_RENAMED_EVENT, SELECTION_CHANGED_EVENT, SETTINGS_CHANGED_EVENT, SHARED_PROFILE
 
Constructor Summary
FormatterProfileManager(java.util.List profiles, org.eclipse.core.runtime.preferences.IScopeContext context, PreferencesAccess preferencesAccess, IProfileVersioner profileVersioner)
           
 
Method Summary
static java.util.Map getAllmanSettings()
           
 ProfileManager.Profile getDefaultProfile()
           
static java.util.Map getDefaultSettings()
           
static java.util.Map getGNUSettings()
           
static java.util.Map getKandRSettings()
           
static java.util.Map getWhitesmithsSettings()
           
 
Methods inherited from class org.eclipse.cdt.internal.ui.preferences.formatter.ProfileManager
addProfile, clearAllSettings, commitChanges, containsName, deleteProfile, deleteSelected, getProfile, getProfileVersioner, getSelected, getSortedDisplayNames, getSortedProfiles, hasProjectSpecificSettings, hasProjectSpecificSettings, profileChanged, profileRenamed, profileReplaced, readFromPreferenceStore, setSelected
 
Methods inherited from class java.util.Observable
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KANDR_PROFILE

public static final java.lang.String KANDR_PROFILE
See Also:
Constant Field Values

ALLMAN_PROFILE

public static final java.lang.String ALLMAN_PROFILE
See Also:
Constant Field Values

GNU_PROFILE

public static final java.lang.String GNU_PROFILE
See Also:
Constant Field Values

WHITESMITHS_PROFILE

public static final java.lang.String WHITESMITHS_PROFILE
See Also:
Constant Field Values

DEFAULT_PROFILE

public static final java.lang.String DEFAULT_PROFILE
See Also:
Constant Field Values
Constructor Detail

FormatterProfileManager

public FormatterProfileManager(java.util.List profiles,
                               org.eclipse.core.runtime.preferences.IScopeContext context,
                               PreferencesAccess preferencesAccess,
                               IProfileVersioner profileVersioner)
Method Detail

getDefaultSettings

public static java.util.Map getDefaultSettings()
Returns:
Returns the default settings.

getKandRSettings

public static java.util.Map getKandRSettings()
Returns:
Returns the K&R settings.

getAllmanSettings

public static java.util.Map getAllmanSettings()
Returns:
Returns the ANSI settings.

getGNUSettings

public static java.util.Map getGNUSettings()
Returns:
Returns the GNU settings.

getWhitesmithsSettings

public static java.util.Map getWhitesmithsSettings()
Returns:
Returns the Whitesmiths settings.

getDefaultProfile

public ProfileManager.Profile getDefaultProfile()
Specified by:
getDefaultProfile in class ProfileManager