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 (textActionHandler != null) {
			textActionHandler.addText(textEditor);
		}
    }
    /**
     * Close the text widget and reset the editorText field.
     */
    private void disposeTextWidget() {
        if (textActionHandler != null) {
			textActionHandler.removeText(textEditor);
		}
        if (textEditorParent != null) {
            textEditorParent.dispose();
            textEditorParent = null;
            textEditor = null;
            treeEditor.setEditor(null, null);
        }
    }
    /**
     * Returns the elements that the action is to be performed on.
     * Return the resource cached by the action as we cannot rely
     * on the selection being correct for inlined text.
     *
     * @return list of resource elements (element type: <code>IResource</code>)
     */
    protected List getActionResources() {
        if (inlinedResource == null) {
			return super.getActionResources();
		}
        List actionResources = new ArrayList();