Bug 61211 [Navigator] When deleting a linked resource, it asks if you're sure you want to delete any read-only files
I have a linked resource called Foo, which links to c:\foo. In this directory are several read-only files. In the Navigator in the Resource perspective, I try to delete this resource. It asks to confirm, and says that only the link will be deleted, the link target will not be changed. I say OK. Then it gives me a dialog for each read-only file in c:\foo, warning me that the file is read- only, do I really want to delete it. This contradicts what it said about not touching the target resource. I'm using 3.0 M8.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/ReadOnlyStateChecker.java
}
    /**
     * Check the children of the container to see if they are read only.
     * @return int
     * one of
     * 	YES_TO_ALL_ID - all elements were selected
     * 	NO_ID - No was hit at some point
     * 	CANCEL_ID - cancel was hit
     * @param itemsToCheck IResource[]
     * @param allSelected the List of currently selected resources to add to.
     */
    private int checkReadOnlyResources(IResource[] itemsToCheck,
            List allSelected) throws CoreException {
        
        if (yesToAllSelected)
            return IDialogConstants.YES_TO_ALL_ID;
        boolean noneSkipped = true;
        List selectedChildren = new ArrayList();
        for (int i = 0; i < itemsToCheck.length; i++) {
            IResource resourceToCheck = itemsToCheck[i];
            if (!yesToAllSelected && resourceToCheck.isReadOnly()) {
                int action = queryYesToAllNoCancel(resourceToCheck);
                if (action == IDialogConstants.YES_ID) {
                    boolean childResult = checkAcceptedResource(
                            resourceToCheck, selectedChildren);
                    if (!childResult)
                        noneSkipped = false;
                }
                if (action == IDialogConstants.NO_ID)
                    noneSkipped = false;