Bug 16464 Yes To All should come before No
Build 20020508 I just changed a couple of places in UI where we had a Yes/No/Yes To All/Cancel prompt. They now use Yes/Yes To All/No/Cancel. Should fix up occurrences in JDT as well. Suggest searching for refs to IDialogConstants.YES_TO_ALL_LABEL.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/AddGetterSetterAction.java
Object firstElement= selection.getFirstElement();
			if (firstElement instanceof IType)
				run((IType)firstElement, new IField[0]);
			else if (firstElement instanceof ICompilationUnit)	
				run(JavaElementUtil.getMainType((ICompilationUnit)firstElement), new IField[0]);
		} catch (CoreException e) {
			JavaPlugin.log(e.getStatus());
			showError(ActionMessages.getString("AddGetterSetterAction.error.actionfailed")); 
		}
				
	}
	
	private boolean canEnable(IStructuredSelection selection) throws JavaModelException{
		if (canEnableOn(getSelectedFields(selection)))
			return true;
			
		if ((selection.size() == 1) && (selection.getFirstElement() instanceof IType))
			return canEnableOn((IType)selection.getFirstElement());
		if ((selection.size() == 1) && (selection.getFirstElement() instanceof ICompilationUnit))
			return canEnableOn(JavaElementUtil.getMainType((ICompilationUnit)selection.getFirstElement()));
		return false;	
	}
	private static boolean canEnableOn(IType type) throws JavaModelException {
		if (type == null)
			return false;
		if (type.getFields().length == 0)
			return false;
		if (type.getCompilationUnit() == null)
			return false;
		if (JavaModelUtil.isEditable(type.getCompilationUnit()))