Bug 123775 [cleanup] Provide Select All/Deselect All/Select Default buttons on page to select fixes
I20060105-0800 For better usability, there should be buttons to control the selection behavior, eg. to execute one fix only (removing all unnecessary NLS tags)
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/fix/StringCleanUp.java
if (isFlag(ADD_MISSING_NLS_TAG))
			result.add(MultiFixMessages.StringMultiFix_AddMissingNonNls_description);
		if (isFlag(REMOVE_UNNECESSARY_NLS_TAG))
			result.add(MultiFixMessages.StringMultiFix_RemoveUnnecessaryNonNls_description);
		return (String[])result.toArray(new String[result.size()]);
	}
	/**
	 * {@inheritDoc}
	 * @throws CoreException 
	 */
	public boolean canFix(CompilationUnit compilationUnit, IProblemLocation problem) throws CoreException {
		return StringFix.createFix(compilationUnit, problem, isFlag(REMOVE_UNNECESSARY_NLS_TAG), isFlag(ADD_MISSING_NLS_TAG)) != null;
	}
	/**
	 * {@inheritDoc}
	 */
	public int maximalNumberOfFixes(CompilationUnit compilationUnit) {
		int result= 0;
		IProblem[] problems= compilationUnit.getProblems();
		if (isFlag(ADD_MISSING_NLS_TAG))
			result+= getNumberOfProblems(problems, IProblem.NonExternalizedStringLiteral);
		
		if (isFlag(REMOVE_UNNECESSARY_NLS_TAG))
			result+= getNumberOfProblems(problems, IProblem.UnnecessaryNLSTag);
		
		return result;
	}
	
}