Bug 34769 [Navigator] F2/F5 actions not enabled/disabled properly when closing/opening project
bundles/org.eclipse.ui.views/src/org/eclipse/ui/views/navigator/PasteAction.java
* The id of this action.
	 */
	public static final String ID = PlatformUI.PLUGIN_ID + ".PasteAction";
	
	/**
	 * The shell in which to show any dialogs.
	 */
	private Shell shell;
	/**
	 * System clipboard
	 */
	private Clipboard clipboard;
/**
 * Creates a new action.
 *
 * @param shell the shell for any dialogs
 */
public PasteAction(Shell shell, Clipboard clipboard) {
	super(ResourceNavigatorMessages.getString("PasteAction.title")); 
	Assert.isNotNull(shell);
	Assert.isNotNull(clipboard);
	this.shell = shell;
	this.clipboard = clipboard;
	setToolTipText(ResourceNavigatorMessages.getString("PasteAction.toolTip")); 
	setId(PasteAction.ID);
	WorkbenchHelp.setHelp(this, INavigatorHelpContextIds.PASTE_ACTION);
}
/**
 * Returns the actual target of the paste action. Returns null
 * if no valid target is selected.