Bug 161897 [Undo] Javadoc warnings in N20061022-0010
/builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/MoveFilesAndFoldersOperation.java:71: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.MoveFilesAndFoldersOperation /builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java:396: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.CopyFilesAndFoldersOperation /builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/MoveFilesAndFoldersOperation.java:71: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.MoveFilesAndFoldersOperation /builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java:396: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.CopyFilesAndFoldersOperation /builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/MoveFilesAndFoldersOperation.java:71: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.MoveFilesAndFoldersOperation /builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java:396: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.CopyFilesAndFoldersOperation /builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/MoveFilesAndFoldersOperation.java:71: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.MoveFilesAndFoldersOperation /builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java:396: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.CopyFilesAndFoldersOperation /builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java:396: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.CopyFilesAndFoldersOperation /builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/MoveFilesAndFoldersOperation.java:71: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.MoveFilesAndFoldersOperation /builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/MoveFilesAndFoldersOperation.java:71: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.MoveFilesAndFoldersOperation /builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java:396: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.CopyFilesAndFoldersOperation /builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java:396: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.CopyFilesAndFoldersOperation /builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/CopyFilesAndFoldersOperation.java:396: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.CopyFilesAndFoldersOperation /builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/MoveFilesAndFoldersOperation.java:71: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.MoveFilesAndFoldersOperation /builds/N200610220010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/MoveFilesAndFoldersOperation.java:71: warning - Tag @link: can't find performCopy(IResource[], IPath, IProgressMonitor) in org.eclipse.ui.actions.MoveFilesAndFoldersOperation
bundles/org.eclipse.ui.ide/extensions/org/eclipse/ui/actions/MoveFilesAndFoldersOperation.java
subMonitor, 0));
                delete(sourceFile, subMonitor);
            }
        }
    }
    /* (non-Javadoc)
     * Overrides method in CopyFilesAndFoldersOperation
     *
     * Note this method is for internal use only. It is not API.
     *
     */
    public String validateDestination(IContainer destination,
            IResource[] sourceResources) {
        IPath destinationLocation = destination.getLocation();
        for (int i = 0; i < sourceResources.length; i++) {
            IResource sourceResource = sourceResources[i];
            
            if (sourceResource.getParent().equals(destination)) {
                return NLS.bind(IDEWorkbenchMessages.MoveFilesAndFoldersOperation_sameSourceAndDest, sourceResource.getName());
            }
            
            if (destinationLocation != null) {
                IPath sourceLocation = sourceResource.getLocation();
                IPath destinationResource = destinationLocation
                        .append(sourceResource.getName());
                if (sourceLocation != null
                        && sourceLocation.isPrefixOf(destinationResource)) {
                    return NLS.bind(IDEWorkbenchMessages.MoveFilesAndFoldersOperation_sameSourceAndDest, sourceResource.getName());
                }
            }