IAction updateAction= getAction(textEditor, "Display"); if (updateAction instanceof IUpdate) { ((IUpdate)updateAction).update(); } fDisplay.setAction(updateAction); updateAction= getAction(textEditor, "Inspect"); if (updateAction instanceof IUpdate) { ((IUpdate)updateAction).update(); } fInspect.setAction(updateAction);
	public void setActiveEditor(IEditorPart part) {				super.setActiveEditor(part);				ITextEditor textEditor= null;		if (part instanceof ITextEditor)			textEditor= (ITextEditor) part;				fOpenOnSelection.setContentEditor(textEditor);		fOpenHierarchyOnSelection.setContentEditor(textEditor);				fTogglePresentationAction.setEditor(textEditor);				fShowJavaDoc.setAction(getAction(textEditor, "ShowJavaDoc"));		/* 1GEYIIA: ITPJUI:WINNT - Hover Toggle not available for classfile editors */		fToggleTextHover.setEditor(textEditor);	}