org.eclipse.cdt.internal.ui.preferences.formatter
Class ProfileVersioner
java.lang.Object
org.eclipse.cdt.internal.ui.preferences.formatter.ProfileVersioner
- All Implemented Interfaces:
- IProfileVersioner
public class ProfileVersioner
- extends java.lang.Object
- implements IProfileVersioner
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CODE_FORMATTER_PROFILE_KIND
public static final java.lang.String CODE_FORMATTER_PROFILE_KIND
- See Also:
- Constant Field Values
VERSION_1
public static final int VERSION_1
- See Also:
- Constant Field Values
CURRENT_VERSION
public static final int CURRENT_VERSION
- See Also:
- Constant Field Values
ProfileVersioner
public ProfileVersioner()
getFirstVersion
public int getFirstVersion()
- Specified by:
getFirstVersion
in interface IProfileVersioner
getCurrentVersion
public int getCurrentVersion()
- Specified by:
getCurrentVersion
in interface IProfileVersioner
getProfileKind
public java.lang.String getProfileKind()
-
- Specified by:
getProfileKind
in interface IProfileVersioner
update
public void update(ProfileManager.CustomProfile profile)
- Description copied from interface:
IProfileVersioner
- Update the
profile
to the
current version number
- Specified by:
update
in interface IProfileVersioner
getVersionStatus
public static int getVersionStatus(ProfileManager.CustomProfile profile)
updateAndComplete
public static void updateAndComplete(ProfileManager.CustomProfile profile)
updateAndComplete
public static java.util.Map updateAndComplete(java.util.Map oldSettings,
int version)