if (!targetSelectionListeners.isEmpty()) {
TargetSelectionEvent tse = new TargetSelectionEvent(this, target, selected);
Iterator it = targetSelectionListeners.iterator();
while (it.hasNext()) {
TargetSelectionListener listener = (TargetSelectionListener) it.next();
listener.targetSelectionChanged(tse);
}
}
}
}