int selection= fUpperList.getSelectionIndex(); if (selection >= 0) { int i = fElementMap[selection]; int k= i; int length= fRenderedStrings.length; while (k < length && fRenderedStrings[k].equals(fRenderedStrings[i])) { k++; } updateLowerListWidget(i, k); } else updateLowerListWidget(0, 0);
int index= fFilteredList.getSelectionIndex();  fLowerList.removeAll();  if (index < 0) return;  fQualifierElements= fFilteredList.getFoldedElements(index); updateLowerListWidget(fQualifierElements);  updateOkState();
	private void handleUpperSelectionChanged() {		int selection= fUpperList.getSelectionIndex();		if (selection >= 0) {			int i = fElementMap[selection];			int k= i;			int length= fRenderedStrings.length;			while (k < length && fRenderedStrings[k].equals(fRenderedStrings[i])) {				k++;			}			updateLowerListWidget(i, k);		} else 			updateLowerListWidget(0, 0);	}