public static String path = "./ressources/EffectRessource/xml/Trigger.xml";
public ArrayList<ArrayList<String[]>> CreateComboList(String path) {
ArrayList<ArrayList<String[]>> result = new ArrayList<ArrayList<String[]>>();
XMLFileLoader xmlDocument = new XMLFileLoader(path);
ArrayList<String> triggerTypes = xmlDocument
.getNodeNameInTag("TriggerTypes");
result.add(new ArrayList<String[]>());
String[] temp = new String[triggerTypes.size()];
temp = triggerTypes.toArray(temp);
result.get(0).add(temp);
result.add(new ArrayList<String[]>());
for (int i = 0; i < result.get(0).get(0).length; i++) {
ArrayList<String> activatorsTypes = xmlDocument
.getNodesInTagAndName("TriggerAssociation", (result.get(0)
.get(0)[i]));
String[] temp2 = new String[activatorsTypes.size()];
temp2 = activatorsTypes.toArray(temp2);