org.eclipse.cdt.internal.ui.preferences.formatter
Class ProfileManager.Profile

java.lang.Object
  extended by org.eclipse.cdt.internal.ui.preferences.formatter.ProfileManager.Profile
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
ProfileManager.BuiltInProfile, ProfileManager.CustomProfile
Enclosing class:
ProfileManager

public abstract static class ProfileManager.Profile
extends java.lang.Object
implements java.lang.Comparable

Represents a profile with a unique ID, a name and a map containing the code formatter settings.


Constructor Summary
ProfileManager.Profile()
           
 
Method Summary
abstract  java.lang.String getID()
           
abstract  java.lang.String getName()
           
abstract  java.util.Map getSettings()
           
abstract  int getVersion()
           
 boolean hasEqualSettings(java.util.Map otherMap, java.util.List allKeys)
           
 boolean isBuiltInProfile()
           
abstract  boolean isProfileToSave()
           
 boolean isSharedProfile()
           
abstract  ProfileManager.Profile rename(java.lang.String name, ProfileManager manager)
           
abstract  void setSettings(java.util.Map settings)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

ProfileManager.Profile

public ProfileManager.Profile()
Method Detail

getName

public abstract java.lang.String getName()

rename

public abstract ProfileManager.Profile rename(java.lang.String name,
                                              ProfileManager manager)

getSettings

public abstract java.util.Map getSettings()

setSettings

public abstract void setSettings(java.util.Map settings)

getVersion

public abstract int getVersion()

hasEqualSettings

public boolean hasEqualSettings(java.util.Map otherMap,
                                java.util.List allKeys)

isProfileToSave

public abstract boolean isProfileToSave()

getID

public abstract java.lang.String getID()

isSharedProfile

public boolean isSharedProfile()

isBuiltInProfile

public boolean isBuiltInProfile()