IPreferenceStore store= PreferenceConstants.getPreferenceStore(); String[] order= JavaPreferencesSettings.getImportOrderPreference(store); int importThreshold= JavaPreferencesSettings.getImportNumberThreshold(store);
String[] order= JavaPreferencesSettings.getImportOrderPreference(newCu.getJavaProject()); int importThreshold= JavaPreferencesSettings.getImportNumberThreshold(newCu.getJavaProject());
	private void addImportsToAccessorCu(ICompilationUnit newCu, IProgressMonitor pm) throws CoreException {		IPreferenceStore store= PreferenceConstants.getPreferenceStore();		String[] order= JavaPreferencesSettings.getImportOrderPreference(store);		int importThreshold= JavaPreferencesSettings.getImportNumberThreshold(store);		ImportsStructure is= new ImportsStructure(newCu, order, importThreshold, true);		is.addImport("java.util.MissingResourceException"); //$NON-NLS-1$		is.addImport("java.util.ResourceBundle"); //$NON-NLS-1$		is.create(false, pm);	}