Java Code Examples for org.eclipse.jdt.internal.ui.preferences.formatter.IProfileVersioner

The following examples show how to use org.eclipse.jdt.internal.ui.preferences.formatter.IProfileVersioner. These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
@Override
public IProfileVersioner getProfileVersioner() {
	return fProfileVersioner;
}
 
Example 2
Source Project: xtext-xtend   Source File: FormatterProfileStore.java    License: Eclipse Public License 2.0 4 votes vote down vote up
public FormatterProfileStore(IProfileVersioner profileVersioner, String xtendNodeID) {
	super(XTEND_PROFILES_KEY, profileVersioner);
	this.profileVersionerCopy = profileVersioner;
	this.xtendNodeID = xtendNodeID;
	this.profilesVersionKeyCopy = XTEND_PROFILES_KEY + VERSION_KEY_SUFFIX;
}
 
Example 3
@Override
protected IProfileVersioner createProfileVersioner() {
	return new FormatterProfileVersioner();
}
 
Example 4
@Override
protected abstract ProfileStore createProfileStore(IProfileVersioner versioner);
 
Example 5
public CleanUpProfileManager(List<Profile> profiles, IScopeContext context, PreferencesAccess preferencesAccess, IProfileVersioner profileVersioner) {
   super(profiles, context, preferencesAccess, profileVersioner, KEY_SETS, CleanUpConstants.CLEANUP_PROFILE, CleanUpConstants.CLEANUP_SETTINGS_VERSION_KEY);
fPreferencesAccess= preferencesAccess;
  }
 
Example 6
@Override
protected IProfileVersioner createProfileVersioner() {
    return new CleanUpProfileVersioner();
   }
 
Example 7
@Override
protected ProfileStore createProfileStore(IProfileVersioner versioner) {
    fProfileStore= new ProfileStore(CleanUpConstants.CLEANUP_PROFILES, versioner);
	return fProfileStore;
   }
 
Example 8
@Override
protected ProfileManager createProfileManager(List<Profile> profiles, IScopeContext context, PreferencesAccess access, IProfileVersioner profileVersioner) {
	profiles.addAll(CleanUpPreferenceUtil.getBuiltInProfiles());
    fProfileManager= new CleanUpProfileManager(profiles, context, access, profileVersioner);
	return fProfileManager;
   }