Bug 32656 Open/Close project in package explorer looses selection on java-projects. [package explorer]
Not on non-java projects, which looks wrong when multiple java- and non-java-projects are opened/closed.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/reorg/PasteResourcesFromClipboardAction.java
private Clipboard fClipboard;
	protected PasteResourcesFromClipboardAction(IWorkbenchSite site, Clipboard clipboard) {
		super(site);
		Assert.isNotNull(clipboard);
		fClipboard= clipboard;
	}
	
    /*
     * @see SelectionDispatchAction#selectionChanged(IStructuredSelection)
     */
	protected void selectionChanged(IStructuredSelection selection) {
		setEnabled(canOperateOn(selection));