* 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);
}