use of pcgen.facade.util.ListFacade in project pcgen by PCGen.
the class CharacterTabs method elementsChanged.
@Override
public void elementsChanged(ListEvent<CharacterFacade> e) {
removeAll();
for (CharacterFacade character : characters) {
listenerMap.remove(character).removeListeners();
}
characters.clear();
for (CharacterFacade character : (ListFacade<CharacterFacade>) e.getSource()) {
addCharacter(character);
}
infoTabbedPane.clearStateMap();
}
Aggregations