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
this.modelProviderIds = modelProviderIds;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.actions.WorkspaceAction#createOperation(org.eclipse.core.runtime.IStatus[])
	 * 
	 * Overridden to create and execute an undoable operation that performs the
	 * rename.
	 * @since 3.3
	 */
	protected IRunnableWithProgress createOperation(final IStatus[] errorStatus) {
		return new IRunnableWithProgress() {
			public void run(IProgressMonitor monitor) {
				IResource[] resources = (IResource[]) getSelectedResources()
						.toArray(new IResource[getSelectedResources().size()]);
				
				
				if (resources.length == 1) {
					
					IWorkspaceRoot workspaceRoot = resources[0].getWorkspace()
							.getRoot();
					IResource newResource = workspaceRoot.findMember(newPath);
					boolean go = true;
					if (newResource != null) {
						go = checkOverwrite(getShell(), newResource);
					}
					if (go) {
						MoveResourcesOperation op = new MoveResourcesOperation(
								resources[0],