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/UnusedCodeCleanUp.java
return false;
	}
	/**
	 * {@inheritDoc}
	 */
	public int maximalNumberOfFixes(CompilationUnit compilationUnit) {
		int result= 0;
		IProblem[] problems= compilationUnit.getProblems();
		if (isFlag(REMOVE_UNUSED_IMPORTS)) {
			for (int i=0;i<problems.length;i++) {
				int id= problems[i].getID();
				if (id == IProblem.UnusedImport || id == IProblem.DuplicateImport || id == IProblem.ConflictingImport ||
					    id == IProblem.CannotImportPackage || id == IProblem.ImportNotFound)
					result++;
			}
		}
		if (isFlag(REMOVE_UNUSED_PRIVATE_METHODS))
			result+= getNumberOfProblems(problems, IProblem.UnusedPrivateMethod);
		if (isFlag(REMOVE_UNUSED_PRIVATE_CONSTRUCTORS))
			result+= getNumberOfProblems(problems, IProblem.UnusedPrivateConstructor);
		if (isFlag(REMOVE_UNUSED_PRIVATE_TYPES))
			result+= getNumberOfProblems(problems, IProblem.UnusedPrivateType);
		if (isFlag(REMOVE_UNUSED_PRIVATE_FIELDS))
			result+= getNumberOfProblems(problems, IProblem.UnusedPrivateField);
		if (isFlag(REMOVE_UNUSED_LOCAL_VARIABLES))
			result+= getNumberOfProblems(problems, IProblem.LocalVariableIsNeverUsed);
		return result;
	}
}