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/SourceView.java
private TextViewer fTextViewer;
		/**
		 * Creates the action.
		 */
		public SelectAllAction(TextViewer textViewer) {
			super("selectAll"); 
			Assert.isNotNull(textViewer);
			fTextViewer= textViewer;
			setText(InfoViewMessages.getString("SelectAllAction.label")); 
			setToolTipText(InfoViewMessages.getString("SelectAllAction.tooltip")); 
			setDescription(InfoViewMessages.getString("SelectAllAction.description")); 
			WorkbenchHelp.setHelp(this, IAbstractTextEditorHelpContextIds.SELECT_ALL_ACTION);
		}
		/**
		 * Selects all in the viewer.
		 */
		public void run() {
			fTextViewer.doOperation(ITextOperationTarget.SELECT_ALL);