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/JavadocView.java
private StyledText fStyledText;
		
		private SelectionProvider fSelectionProvider;
		/**
		 * Creates the action.
		 */
		public SelectAllAction(StyledText styledText, SelectionProvider selectionProvider) {
			super("selectAll"); 
			Assert.isNotNull(styledText);
			Assert.isNotNull(selectionProvider);
			fStyledText= styledText;
			fSelectionProvider= selectionProvider;
			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 view.
		 */
		public void run() {
			fStyledText.selectAll();
			fSelectionProvider.fireSelectionChanged();
		}
	}
	/**
	 * The Javadoc view's selection provider.
	 */
	private static class SelectionProvider implements ISelectionProvider {