UIAggregate old = list.remove(index);
if(index == selectedIndex){
this.setSelectedIndex(-1);
}
if (old != null) {
fireEvent(new AggListEvent(this, AGG_REMOVED, index));
}
} else {
if (logger.isWarnEnabled()) {
logger.warn("index out of bounds: " + index);
}