Bug 128051 [junit] History... menu entry is checked on empty history
I20060215-0010 Use the drop-down menu to open the testrun history dialog -> History... entry is checked, which makes no sense, since this is a command and not a toggle option
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/viewsupport/HistoryDropDownAction.java
private final Object fElement;
		public HistoryAction(Object element) {
			Assert.isNotNull(element);
			fElement= element;
			setText(fHistory.getText(element));
			setImageDescriptor(fHistory.getImageDescriptor(element));
		}
		public void run() {
			fHistory.setActiveEntry(fElement);
		}
	}
	private class ClearAction extends Action {
		public ClearAction() {
			setText(JavaUIMessages.HistoryDropDownAction_clear_history);
			JavaPluginImages.setLocalImageDescriptors(this, "removea_exc.gif"); 
		}
		
		public void run() {
			fHistory.setHistoryEntries(Collections.EMPTY_LIST, null);
		}
	}
	
	private class HistoryMenuCreator implements IMenuCreator {
		public Menu getMenu(Menu parent) {
			return null;
		}
		public Menu getMenu(Control parent) {
			if (fMenu != null) {
				fMenu.dispose();
			}