}
public void modelChanged(ModelChangeEvent event) {
// if a different relationship was selected, we may need to rebuild the list
Selector selector = event.getSelector();
while (selector != null) {
if (selector instanceof IntIndexSelector) {
IntIndexSelector indexSel = (IntIndexSelector) selector;
relationshipChanged(indexSel.getIndex());
break;
}
selector = selector.getNext();
}
super.modelChanged(event);
}