Search in sources :

Example 1 with ListFacade

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();
}
Also used : ListFacade(pcgen.facade.util.ListFacade) CharacterFacade(pcgen.facade.core.CharacterFacade)

Aggregations

CharacterFacade (pcgen.facade.core.CharacterFacade)1 ListFacade (pcgen.facade.util.ListFacade)1