Package com.aesthete.csmart.schema.swingConfig.SwingConfigDocument.SwingConfig

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


        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);
            }
        }catch(Exception e){
            throw new SwingObjectsException("error.severe.SF001",ErrorSeverity.SEVERE,
                    "Error while parsing swing-config.xml",e,SwingActionFactory.class);
        }
View Full Code Here


        }
    }


    public static boolean isConnectorOnly(String key){
        ActionEntry actionEntry=swingConfigMap.get(key);
        return !actionEntry.isSetAction();
    }
View Full Code Here

TOP

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

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.