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
*/
	private void setInputFrom(IWorkbenchPart part) {
		IJavaElement je= findSelectedJavaElement(part);
		if (!isIgnoringEqualInput() && fCurrentInput != null && fCurrentInput.equals(je))
			return;
		
		if (!setInput(je))
			return;
		fCurrentInput= je;
		fGotoInputAction.setEnabled(true);
		
		String title= InfoViewMessages.getFormattedString("AbstractInfoView.compoundTitle", getSite().getRegisteredName(), JavaElementLabels.getElementLabel(je, TITLE_LABEL_FLAGS)); 
		setTitle(title);
		setTitleToolTip(JavaElementLabels.getElementLabel(je, TOOLTIP_LABEL_FLAGS));  
	}
	/*
	 * @see IWorkbenchPart#dispose()
	 */
	final public void dispose() {
		getSite().getWorkbenchWindow().getPartService().removePartListener(fPartListener);
		getSelectionProvider().removeSelectionChangedListener(fCopyToClipboardAction);
		internalDispose();
	}
	/*
	 * @see IWorkbenchPart#dispose()
	 */
	protected void internalDispose() {
	}
}