Bug 62718 [preferences] Java Editor Text Hover prefs: Table should not allow multi-row selection
200405180816: Java Editor Text Hover prefs: Table should not allow multi-row selection
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/JavaEditorHoverConfigurationBlock.java
JavaEditorTextHoverDescriptor[] hoverDescriptors= JavaPlugin.getDefault().getJavaEditorTextHoverDescriptors();
		
		JavaEditorTextHoverDescriptor currentHover= hoverDescriptors[0];
		boolean done= false;
		for (int i= 0; !done && i < hoverDescriptors.length; i++) {
			if (PreferenceConstants.ID_BESTMATCH_HOVER.equals(hoverDescriptors[i].getId())) {
				
				hoverDescriptors[0]= hoverDescriptors[i];
				hoverDescriptors[i]= currentHover;
				return hoverDescriptors;
			}
			if (i > 0) {
				currentHover= hoverDescriptors[i]; 
				hoverDescriptors[i]= hoverDescriptors[i-1];
			}
		}
		
		
		return JavaPlugin.getDefault().getJavaEditorTextHoverDescriptors();
	}
	void initialize() {
		JavaEditorTextHoverDescriptor[] hoverDescs= getContributedHovers();
		fHoverConfigs= new HoverConfig[hoverDescs.length];
		for (int i= 0; i < hoverDescs.length; i++)
			fHoverConfigs[i]= new HoverConfig(hoverDescs[i].getModifierString(), hoverDescs[i].getStateMask(), hoverDescs[i].isEnabled());
		fHoverTableViewer.setInput(hoverDescs);
		
		initializeFields();
	}
	void initializeFields() {