Bug 12523 Paste in Packages does not accept files on the clipboard
I created a FileTransfer in another view that contains file paths and placed it on the clipboard using SWT DND Clipboard object. Resource navigator recognized this and allowed me to paste the files into the project, but Packages 'Paste' didn't.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteResourcesFromClipboardAction.java
protected PasteResourcesFromClipboardAction(IWorkbenchSite site, Clipboard clipboard) {
		super(site);
		Assert.isNotNull(clipboard);
		fClipboard= clipboard;
	}
	
	protected void selectionChanged(IStructuredSelection selection) {
		setEnabled(canOperateOn(selection));
	}
	
	public void run(IStructuredSelection selection) {
		IResource[] resourceData = getClipboardResources();		
		if (resourceData == null || resourceData.length == 0)
			return;
			 
		pasteResources(selection, resourceData);
	}
	private void pasteResources(IStructuredSelection selection, IResource[] resourceData) {
		if (resourceData[0].getType() == IResource.PROJECT)
			pasteProject((IProject) resourceData[0]);
		else
			ReorgActionFactory.createDnDCopyAction(resourceData, getFirstSelectedResource(selection)).run();
	}
	
	private void pasteProject(IProject project){
		CopyProjectAction cpa= new CopyProjectAction(getShell());
		cpa.selectionChanged(new StructuredSelection(project));
		if (! cpa.isEnabled())
			return;
		cpa.run();