Package org.locationtech.udig.omsbox.core

Examples of org.locationtech.udig.omsbox.core.ScriptHandler


     * Runs the module currently selected in the gui.
     *
     * @throws Exception
     */
    public void runSelectedModule() throws Exception {
        ScriptHandler handler = new ScriptHandler();
        String script = handler.genereateScript(currentSelectedModuleGui);
        if (script == null) {
            return;
        }

        String scriptID = currentSelectedModuleGui.getModuleDescription().getName() + " "
                + new DateTime().toString(OmsBoxConstants.dateTimeFormatterYYYYMMDDHHMMSS);
        handler.runModule(scriptID, script);
    }
View Full Code Here


     *
     * @return the generated script.
     * @throws Exception
     */
    public String generateScriptForSelectedModule() throws Exception {
        ScriptHandler handler = new ScriptHandler();
        if (currentSelectedModuleGui == null) {
            return null;
        }
        String script = handler.genereateScript(currentSelectedModuleGui);
        return script;
    }
View Full Code Here

TOP

Related Classes of org.locationtech.udig.omsbox.core.ScriptHandler

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.