use of plugin.initiative.OpposedSkillTypeModel in project pcgen by PCGen.
the class OpposedCheckDialog method initializeLists.
/**
*
* <p>
* Iniitializes the list of skills, and the main data models for the tables,
* based on the rolling and available groups.
* </p>
*
* @param rollingGroup A list comprising the main (rolling) group of combatants
* @param availableGroup A list comprising the other combatants
*/
private void initializeLists(List<InitHolder> rollingGroup, List<InitHolder> availableGroup) {
skillNames.addAll(Globals.getContext().getReferenceContext().getConstructedCDOMObjects(Skill.class).stream().map(PObject::toString).collect(Collectors.toList()));
ivjAvailableModel = new OpposedSkillTypeModel(availableGroup);
ivjRollingSkillModel = new OpposedSkillModel(rollingGroup);
ivjOpposedSkillModel = new OpposedSkillModel();
}
Aggregations