use of pcgen.gui2.converter.loader.ClassLoader in project pcgen by PCGen.
the class LSTConverter method setupLoaders.
private List<Loader> setupLoaders(EditorLoadContext context, Writer changeLogWriter) {
List<Loader> loaderList = new ArrayList<>();
loaderList.add(new BasicLoader<>(context, WeaponProf.class, ListKey.FILE_WEAPON_PROF, changeLogWriter));
loaderList.add(new BasicLoader<>(context, ArmorProf.class, ListKey.FILE_ARMOR_PROF, changeLogWriter));
loaderList.add(new BasicLoader<>(context, ShieldProf.class, ListKey.FILE_SHIELD_PROF, changeLogWriter));
loaderList.add(new BasicLoader<>(context, Skill.class, ListKey.FILE_SKILL, changeLogWriter));
loaderList.add(new BasicLoader<>(context, Language.class, ListKey.FILE_LANGUAGE, changeLogWriter));
loaderList.add(new BasicLoader<>(context, Ability.class, ListKey.FILE_FEAT, changeLogWriter));
loaderList.add(new AbilityLoader(context, Ability.class, ListKey.FILE_ABILITY, changeLogWriter));
loaderList.add(new BasicLoader<>(context, Race.class, ListKey.FILE_RACE, changeLogWriter));
loaderList.add(new BasicLoader<>(context, Domain.class, ListKey.FILE_DOMAIN, changeLogWriter));
loaderList.add(new BasicLoader<>(context, Spell.class, ListKey.FILE_SPELL, changeLogWriter));
loaderList.add(new BasicLoader<>(context, Deity.class, ListKey.FILE_DEITY, changeLogWriter));
loaderList.add(new BasicLoader<>(context, PCTemplate.class, ListKey.FILE_TEMPLATE, changeLogWriter));
loaderList.add(new EquipmentLoader(context, ListKey.FILE_EQUIP, changeLogWriter));
loaderList.add(new BasicLoader<>(context, EquipmentModifier.class, ListKey.FILE_EQUIP_MOD, changeLogWriter));
loaderList.add(new BasicLoader<>(context, CompanionMod.class, ListKey.FILE_COMPANION_MOD, changeLogWriter));
loaderList.add(new ClassLoader(context, changeLogWriter));
loaderList.add(new CopyLoader(ListKey.FILE_ABILITY_CATEGORY));
loaderList.add(new CopyLoader(ListKey.LICENSE_FILE));
loaderList.add(new CopyLoader(ListKey.FILE_KIT));
loaderList.add(new CopyLoader(ListKey.FILE_BIO_SET));
loaderList.add(new CopyLoader(ListKey.FILE_DATACTRL));
loaderList.add(new CopyLoader(ListKey.FILE_STAT));
loaderList.add(new CopyLoader(ListKey.FILE_SAVE));
loaderList.add(new CopyLoader(ListKey.FILE_SIZE));
loaderList.add(new CopyLoader(ListKey.FILE_ALIGNMENT));
loaderList.add(new CopyLoader(ListKey.FILE_PCC));
loaderList.add(new SelfCopyLoader());
return loaderList;
}
Aggregations