Bug 26261 Confusion after setting hover prefs due to disabled hover - remove hover toggle
20021113 i set the 'shift' hover to source - nothing happens on hovering with shift down
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/ClassFileEditorActionContributor.java
*/
	public void setActiveEditor(IEditorPart part) {
		
		super.setActiveEditor(part);
		
		ITextEditor textEditor= null;
		if (part instanceof ITextEditor)
			textEditor= (ITextEditor) part;
			
		ClassFileEditor classFileEditor= null;	
		if (part instanceof ClassFileEditor)
			classFileEditor= (ClassFileEditor)part;
		
		fShowJavaDoc.setAction(getAction(textEditor, "ShowJavaDoc")); 
		fTogglePresentationAction.setEditor(textEditor);		
		fToggleTextHover.setEditor(textEditor);
		if (classFileEditor != null) {
			IActionBars bars= getActionBars();
			classFileEditor.fActionGroups.fillActionBars(bars);
		}
	}
	
	/*
	 * @see IEditorActionBarContributor#dispose()
	 */
	public void dispose() {
		setActiveEditor(null);
		super.dispose();
	}
}