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
}
		public void partInputChanged(IWorkbenchPartReference ref) {
			if (!ref.getId().equals(getSite().getId()))
				setInputFrom(ref.getPart(false));
		}
		public void partActivated(IWorkbenchPartReference ref) {
		}
		public void partBroughtToTop(IWorkbenchPartReference ref) {
		}
		public void partClosed(IWorkbenchPartReference ref) {
		}
		public void partDeactivated(IWorkbenchPartReference ref) {
		}
		public void partOpened(IWorkbenchPartReference ref) {
		}
	};
	
	protected IJavaElement fCurrentInput;
	
	private SelectionDispatchAction fCopyToClipboardAction;
	
	private GotoInputAction fGotoInputAction;
	/**
	 * Set the input of this view.
	 *  
	 * @param input the input object
	 * @return	<code>true</code> if the input was set successfully 
	 */
	abstract protected boolean setInput(Object input);
	/**