Bug 3888 Single click in type hierarchy not working (1GF278R)
Single click in type hierarchy on an already opened file should bring it to front. NOTES: MA (03.08.2001 15:27:31) seems to work now (200), cant reproduce the PR
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/AbstractInfoView.java
fLastActivatedPart= ref.getPart(false);
		}
		public void partBroughtToTop(IWorkbenchPartReference ref) {
		}
		public void partClosed(IWorkbenchPartReference ref) {
		}
		public void partDeactivated(IWorkbenchPartReference ref) {
		}
		public void partOpened(IWorkbenchPartReference ref) {
		}
	};
	abstract protected boolean setInput(Object input);
	abstract protected void internalCreatePartControl(Composite parent);
	abstract protected void setForeground(Color color);
	abstract protected void setBackground(Color color);
	public final void createPartControl(Composite parent) {
		internalCreatePartControl(parent);
		setInfoColor();
		getSite().getWorkbenchWindow().getPartService().addPartListener(fPartListener);
	}
	
	private void setInfoColor() {
		if (getSite().getShell().isDisposed())
			return;
		
		Display display= getSite().getShell().getDisplay();
		if (display == null || display.isDisposed())
			return;
		setForeground(display.getSystemColor(SWT.COLOR_INFO_FOREGROUND));
		setBackground(display.getSystemColor(SWT.COLOR_INFO_BACKGROUND));