Bug 145035 [IDE] ESC does not work as expected on renaming a resource
When I m in the team synchronizing perspective I press F2 to rename a resource. A dialog pops up and when I press cancel everything is fine. But when I press ESC (or use the "X" button") I m asked if I want to overwrite the existing resource.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/RenameResourceAction.java
if (currentResource == null || !currentResource.exists()) {
				return;
			}
            
            if (!checkReadOnlyAndNull(currentResource)) {
				return;
			}
            String newName = queryNewResourceName(currentResource);
            if (newName == null || newName.equals("")) { 
				return;
			}
            newPath = currentResource.getFullPath().removeLastSegments(1)
                    .append(newName);
            super.run();
        } else {
			runWithInlineEditor();
		}
    }
    /* 
     * Run the receiver using an inline editor from the supplied navigator. The
     * navigator will tell the action when the path is ready to run.
     */
    private void runWithInlineEditor() {
        IResource currentResource = getCurrentResource();
        if (!checkReadOnlyAndNull(currentResource)) {
			return;
		}
        queryNewResourceNameInline(currentResource);
    }