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

The following examples show how to use org.eclipse.jdt.internal.ui.preferences.formatter.IProfileVersioner. 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
Source File: AbstractProfileManager.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
@Override
public IProfileVersioner getProfileVersioner() {
	return fProfileVersioner;
}
 
Example #2
Source File: FormatterProfileStore.java    From xtext-xtend with 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
Source File: FormatterConfigurationBlock.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
@Override
protected IProfileVersioner createProfileVersioner() {
	return new FormatterProfileVersioner();
}
 
Example #4
Source File: FormatterConfigurationBlock.java    From xtext-xtend with Eclipse Public License 2.0 4 votes vote down vote up
@Override
protected abstract ProfileStore createProfileStore(IProfileVersioner versioner);
 
Example #5
Source File: CleanUpProfileManager.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
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
Source File: CleanUpConfigurationBlock.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
@Override
protected IProfileVersioner createProfileVersioner() {
    return new CleanUpProfileVersioner();
   }
 
Example #7
Source File: CleanUpConfigurationBlock.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
@Override
protected ProfileStore createProfileStore(IProfileVersioner versioner) {
    fProfileStore= new ProfileStore(CleanUpConstants.CLEANUP_PROFILES, versioner);
	return fProfileStore;
   }
 
Example #8
Source File: CleanUpConfigurationBlock.java    From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 4 votes vote down vote up
@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;
   }