Search in sources :

Example 1 with EquipmentLoader

use of pcgen.gui2.converter.loader.EquipmentLoader 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;
}
Also used : Ability(pcgen.core.Ability) Deity(pcgen.core.Deity) ShieldProf(pcgen.core.ShieldProf) ArrayList(java.util.ArrayList) EquipmentLoader(pcgen.gui2.converter.loader.EquipmentLoader) SelfCopyLoader(pcgen.gui2.converter.loader.SelfCopyLoader) ClassLoader(pcgen.gui2.converter.loader.ClassLoader) GenericLoader(pcgen.persistence.lst.GenericLoader) BasicLoader(pcgen.gui2.converter.loader.BasicLoader) AbilityLoader(pcgen.gui2.converter.loader.AbilityLoader) EquipmentLoader(pcgen.gui2.converter.loader.EquipmentLoader) CopyLoader(pcgen.gui2.converter.loader.CopyLoader) AbilityCategoryLoader(pcgen.persistence.lst.AbilityCategoryLoader) SourceFileLoader(pcgen.persistence.SourceFileLoader) LstFileLoader(pcgen.persistence.lst.LstFileLoader) CDOMControlLoader(pcgen.rules.persistence.CDOMControlLoader) AbilityLoader(pcgen.gui2.converter.loader.AbilityLoader) WeaponProf(pcgen.core.WeaponProf) SelfCopyLoader(pcgen.gui2.converter.loader.SelfCopyLoader) Spell(pcgen.core.spell.Spell) CompanionMod(pcgen.core.character.CompanionMod) Skill(pcgen.core.Skill) EquipmentModifier(pcgen.core.EquipmentModifier) Language(pcgen.core.Language) Race(pcgen.core.Race) ClassLoader(pcgen.gui2.converter.loader.ClassLoader) ArmorProf(pcgen.core.ArmorProf) Domain(pcgen.core.Domain) PCTemplate(pcgen.core.PCTemplate) SelfCopyLoader(pcgen.gui2.converter.loader.SelfCopyLoader) CopyLoader(pcgen.gui2.converter.loader.CopyLoader)

Aggregations

ArrayList (java.util.ArrayList)1 Ability (pcgen.core.Ability)1 ArmorProf (pcgen.core.ArmorProf)1 Deity (pcgen.core.Deity)1 Domain (pcgen.core.Domain)1 EquipmentModifier (pcgen.core.EquipmentModifier)1 Language (pcgen.core.Language)1 PCTemplate (pcgen.core.PCTemplate)1 Race (pcgen.core.Race)1 ShieldProf (pcgen.core.ShieldProf)1 Skill (pcgen.core.Skill)1 WeaponProf (pcgen.core.WeaponProf)1 CompanionMod (pcgen.core.character.CompanionMod)1 Spell (pcgen.core.spell.Spell)1 AbilityLoader (pcgen.gui2.converter.loader.AbilityLoader)1 BasicLoader (pcgen.gui2.converter.loader.BasicLoader)1 ClassLoader (pcgen.gui2.converter.loader.ClassLoader)1 CopyLoader (pcgen.gui2.converter.loader.CopyLoader)1 EquipmentLoader (pcgen.gui2.converter.loader.EquipmentLoader)1 SelfCopyLoader (pcgen.gui2.converter.loader.SelfCopyLoader)1