initConfigMap(swingConfigFile);
}
private static void initConfigMap(String swingConfigFile) throws SwingObjectsException {
try{
SwingConfigDocument swingConfigDoc=SwingConfigDocument.Factory.parse(new File(swingConfigFile));
SwingConfigDocument.SwingConfig swingConfig=swingConfigDoc.getSwingConfig();
ActionEntry[] actions=swingConfig.getActionEntryArray();
for (int i = 0; i < actions.length; i++) {
ActionEntry actionEntry = actions[i];
swingConfigMap.put(String.valueOf(actionEntry.getId()), actionEntry);
}