Bug 172261 [Actions] When rename a file in one project's navigator, the other selected file's name is renamed
Description: When rename a file in one project, the other file's name is renamed (do that in Navigator view) Build number: Version: 3.3.0 Build id: I20061214-1445 Steps to reproduce: 1, New a project such as BIRT and Java 2, New two files in that project: FileA and FileB 3, Turn to Navigator View 4, Select FileA and Press F2. Typing "FileC", then moving the mouse and click the FileB Expected result: The FileA is renamed to FileC But FileB's name isn't changed to FileC Actual result: After step4, FileA's name isn't renamed but FileB is renamed to FileC Error log:
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/RenameResourceAction.java
* 
	 * @returnTree
	 */
	private Tree getTree() {
		return this.navigatorTree;
	}
	/*
	 * (non-Javadoc) Method declared on WorkspaceAction. Since 3.3, this method
	 * is not used, but an implementation is still provided for compatibility.
	 * All work is now done in the operation created in
	 * createOperation(IStatus[]).
	 */
	protected void invokeOperation(IResource resource, IProgressMonitor monitor) {
	}
	/**
	 * Return the new name to be given to the target resource.
	 * 
	 * @return java.lang.String
	 * @param resource
	 *            the resource to query status on
	 */
	protected String queryNewResourceName(final IResource resource) {
		final IWorkspace workspace = IDEWorkbenchPlugin.getPluginWorkspace();
		final IPath prefix = resource.getFullPath().removeLastSegments(1);
		IInputValidator validator = new IInputValidator() {
			public String isValid(String string) {
				if (resource.getName().equals(string)) {
					return IDEWorkbenchMessages.RenameResourceAction_nameMustBeDifferent;
				}
				IStatus status = workspace.validateName(string, resource