Bug 123496 [IDE] Use operation validation API for IDE actions
We should use the Resources/Core operation validation API in the IDE actions for manipulating resources.
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java
return;
					displayError(IDEWorkbenchMessages.CopyFilesAndFoldersOperation_nameCollision);
					return;
				}
				if (validateEdit(container, copyResources) == false)
					return;
			}
		}
		errorStatus = null;
		if (copyResources.length > 0) {
			if (copyWithAutoRename)
				performCopyWithAutoRename(copyResources, destinationPath,
						monitor);
			else
				performCopy(copyResources, destinationPath, monitor);
		}
		copiedResources[0] = copyResources;
	}
	private void copyFileStores(final IFileStore[] stores,
			final IPath destinationPath, IProgressMonitor monitor) {
		
		IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
		if (root.exists(destinationPath)) {
			IContainer container = (IContainer) root
					.findMember(destinationPath);
			performFileImport(stores, container, monitor);
		}
	}
}