Bug 40291 javadoc / declaration views: should update when shown
Tests 20030716 1. Open the declaration view 2. Select a reference in code -> declaration shows in view (ok) 3. Open (or bring to front when in a tabbed view) javadoc view 4. Newly opened view is empty -> should fill with content for current selection when shown / opened
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/AbstractInfoView.java
* 
	 * @param part the part from which to get the selected Java element
	 */
	private void setInputFrom(IWorkbenchPart part) {
		IJavaElement je= findSelectedJavaElement(part);
		
		if (fCurrentInput != null && fCurrentInput.equals(je))
			return;
		
		if (!setInput(je))
			return;
		fCurrentInput= je;
		
		setTitle(getSite().getRegisteredName() + " (" + JavaElementLabels.getElementLabel(je, TITLE_LABEL_FLAGS) + ")");  
		setTitleToolTip(JavaElementLabels.getElementLabel(je, TOOLTIP_LABEL_FLAGS));  
	}
	/*
	 * @see IWorkbenchPart#dispose()
	 */
	final public void dispose() {
		getSite().getWorkbenchWindow().getPartService().removePartListener(fPartListener);
		internalDispose();
	}
	/*
	 * @see IWorkbenchPart#dispose()
	 */
	protected void internalDispose() {
	}
}