Bug 7914 Cannot copy a Java project in the packages view
There is no way to copy a Java project in the packages view. You can copy a project in the Navigator. This is a functional gap.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/JdtDeleteResourceAction.java
package org.eclipse.jdt.internal.ui.reorg;
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.runtime.MultiStatus;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.internal.corext.refactoring.Assert;
import org.eclipse.jdt.internal.corext.refactoring.reorg.DeleteRefactoring;
import org.eclipse.jdt.internal.corext.refactoring.reorg.ReorgUtils;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.JavaUIException;
import org.eclipse.jdt.internal.ui.actions.StructuredSelectionProvider;
import org.eclipse.jdt.internal.ui.util.ExceptionHandler;
import org.eclipse.jface.dialogs.IDialogConstants;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.ISelectionProvider;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.ui.actions.DeleteResourceAction;
import org.eclipse.swt.widgets.Shell;
import org.eclipse.jdt.internal.corext.refactoring.reorg.*;
/** 
 * Action for deleting elements in a delete target.
 */
class JdtDeleteResourceAction extends ReorgAction {
	private boolean fDeleteProjectContent;
	public JdtDeleteResourceAction(ISelectionProvider provider) {
		super(ReorgMessages.getString("deleteAction.label"), provider);