Bug 22573 Can't make OK to appear in type hierarchy history dialog [type hierarchy]
Build 20020813 1. Open Type Hierarchy (1st time). 2. Click on the history toolbar button 3. Press "Remove" on the dialog ==> no way to enable "OK" It would be better not to allow to remove the actual type hierarchy.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/typehierarchy/HistoryListAction.java
}
				}
			});
			return composite;
		}
		
		private void doSelectionChanged() {
			StatusInfo status= new StatusInfo();
			List selected= fHistoryList.getSelectedElements();
			if (selected.size() != 1) {
				status.setError(""); 
				fResult= null;
			} else {
				fResult= (IJavaElement) selected.get(0);
			}
			fHistoryStatus= status;
			updateStatus(status);	
		}
				
		public IJavaElement getResult() {
			return fResult;
		}
		
		public IJavaElement[] getRemaining() {
			List elems= fHistoryList.getElements();
			return (IJavaElement[]) elems.toArray(new IJavaElement[elems.size()]);
		}	
		
		/*
		 * @see org.eclipse.jface.window.Window#configureShell(Shell)