Package com.aesthete.csmart.schema.swingConfig

Examples of com.aesthete.csmart.schema.swingConfig.SwingConfigDocument


        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);
            }
View Full Code Here

TOP

Related Classes of com.aesthete.csmart.schema.swingConfig.SwingConfigDocument

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.