Java Code Examples for org.eclipse.jdt.internal.ui.preferences.PreferencesAccess

The following examples show how to use org.eclipse.jdt.internal.ui.preferences.PreferencesAccess. 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
public CleanUpConfigurationBlock(IProject project, PreferencesAccess access) {
   super(project, access, DIALOGSTORE_LASTSAVELOADPATH);

if (project != null) {
	fCurrContext= null;
} else {
	fCurrContext= access.getInstanceScope();
}
  }
 
Example 2
@Override
protected ProfileConfigurationBlock createConfigurationBlock(PreferencesAccess access) {
	return factory.create(getProject(), access, "id");
}
 
Example 3
public FormatterConfigurationBlock(IProject project, PreferencesAccess access, String lastSaveLoadPathKey) {
	super(project, access, lastSaveLoadPathKey);
}
 
Example 4
public CodeFormatterConfigurationBlock(IProject project, PreferencesAccess access) {
	super(project, access, DIALOGSTORE_LASTSAVELOADPATH);
}
 
Example 5
@Override
protected ProfileManager createProfileManager(List<Profile> profiles, IScopeContext context, PreferencesAccess access, IProfileVersioner profileVersioner) {
    return new FormatterProfileManager(profiles, context, access, profileVersioner);
   }
 
Example 6
public FormatterProfileManager(List<Profile> profiles, IScopeContext context, PreferencesAccess preferencesAccess, IProfileVersioner profileVersioner) {
 super(addBuiltinProfiles(profiles, profileVersioner), context, preferencesAccess, profileVersioner, KEY_SETS, PROFILE_KEY, FORMATTER_SETTINGS_VERSION);
}
 
Example 7
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 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;
   }
 
Example 9
protected abstract ProfileManager createProfileManager(List<Profile> profiles, IScopeContext context, PreferencesAccess access, IProfileVersioner profileVersioner);