Bug 40780 [plan item] Improve context views
Declaration View and Javadoc View should compute their contents in background Both should provide a context menu containing at least Copy and F3 (where available).
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/AbstractInfoView.java
menu.add(new Separator(ITextEditorActionConstants.GROUP_EDIT));
		menu.add(new Separator(IContextMenuConstants.GROUP_ADDITIONS));
		menu.appendToGroup(ITextEditorActionConstants.GROUP_EDIT, fCopyToClipboardAction);
		menu.appendToGroup(IContextMenuConstants.GROUP_OPEN, fGotoInputAction);
	}
	/**
	 * Returns the input of this view.
	 *  
	 * @return input the input object or <code>null</code> if not input is set 
	 */
	protected IJavaElement getInput() {
		return fCurrentInput;
	}
	
	ISelectionProvider getSelectionProvider() {
		return getViewSite().getSelectionProvider();
	}
	/**
	 * Fills the actions bars.
	 * <p>
	 * Subclasses may extend.
	 */	
	protected void fillActionBars(IActionBars actionBars) {
		IToolBarManager toolBar= actionBars.getToolBarManager();
		fillToolBar(toolBar);
		actionBars.setGlobalActionHandler(IWorkbenchActionConstants.COPY, fCopyToClipboardAction);
	}
	/**
	 * Fills the tool bar.
	 * <p>