Bug 95843 [open type] Open Type dialog re-selects selected item.
Version: 3.1.0 Build id: I20050509-2010 When opening a type in the open type dialog on M7, if you type in text that does not change the current selection (i.e. continue typing already matched text) the dialog re-selects the item and causes a lot of flashing.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/dialogs/TypeInfoViewer.java
return fLabelProvider.getContainerName(leftType).compareTo(
				fLabelProvider.getContainerName(rightType));
		}
		private int getCategory(TypeInfo type) {
			if (fFilter == null)
				return 0;
			if (!fFilter.isCamcelCasePattern())
				return 0;
			return fFilter.matchesNameExact(type) ? 0 : 1;
		}
	}
	
	protected static class TypeInfoLabelProvider extends LabelProvider {
		
		public static final int PACKAGE_QUALIFICATION= 1;
		public static final int ROOT_QUALIFICATION= 2;
		
		private Map fLib2VMName= new HashMap();
		private String[] fInstallLocations;
		private String[] fVMNames;
		
		public TypeInfoLabelProvider() {
			List locations= new ArrayList();
			List labels= new ArrayList();
			IVMInstallType[] installs= JavaRuntime.getVMInstallTypes();
			for (int i= 0; i < installs.length; i++) {
				collectEntries(installs[i], locations, labels);
			}
			fInstallLocations= (String[])locations.toArray(new String[locations.size()]);
			fVMNames= (String[])labels.toArray(new String[labels.size()]);