com.aptana.ide.ui.editors.preferences.formatter
Class ProfileManager.Profile
java.lang.Object
com.aptana.ide.ui.editors.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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Comparable |
compareTo |
ProfileManager.Profile
public ProfileManager.Profile()
getName
public abstract java.lang.String getName()
- Returns:
- String
rename
public abstract ProfileManager.Profile rename(java.lang.String name,
ProfileManager manager)
- Parameters:
name - manager -
- Returns:
- Profile
getSettings
public abstract java.util.Map getSettings()
- Returns:
- Map
setSettings
public abstract void setSettings(java.util.Map settings)
- Parameters:
settings -
getVersion
public abstract int getVersion()
- Returns:
- version
hasEqualSettings
public boolean hasEqualSettings(java.util.Map otherMap,
java.util.List allKeys)
- Parameters:
otherMap - allKeys -
- Returns:
- boolean
isProfileToSave
public abstract boolean isProfileToSave()
- Returns:
- boolean
getID
public abstract java.lang.String getID()
- Returns:
- id
isSharedProfile
public boolean isSharedProfile()
- Returns:
- is shared
isBuiltInProfile
public boolean isBuiltInProfile()
- Returns:
- is built in