Package ch.tatool.data

Examples of ch.tatool.data.Module


      throw new RuntimeException(
          "Invalid user account - module management disabled but no modules available!");
    }

    Module.Info tInfo = infos.iterator().next();
    Module module = moduleService.loadModule(tInfo);
    // bypass the setter here
    this.module = module;
  }
View Full Code Here


        System.out.println("Initializing application...");
        startApplication();
       
        // create the account and the module
        UserAccount account = createAccount();
        Module module = createModule(account);
       
        // execute the module
        System.out.println("START: Executing module...");
        Executor executor = getExecutionService().createExecutor(module);
        getExecutionService().startExecution(executor, true);
View Full Code Here

    /**
     * Creates an empty persisted module instance.
     */
    protected Module createModule(UserAccount account) {
        // create the module using that configuration
        Module module = getModuleService().createModule(account, createModuleProperties(), createBinaryModuleProperties(), createModuleExporters());
        return module;
    }
View Full Code Here

        if (moduleInfo == null) {
            return;
        }
       
        // load the module
        Module module = moduleService.loadModule(moduleInfo);
        openModule(module);
    }
View Full Code Here

    /**
     * Overwritten to set a memory initializer that sets the Element returned by createRootElement()
     */
    protected Module createModule(UserAccount account) {
      // first create the training
      Module module = super.createModule(account);
     
      // then assign a memory initializer that sets our root element
      Element rootElement = createRootElement();
        module.setExecutorInitializer(new MemoryExecutorInitializer(rootElement));
       
        return module;
    }
View Full Code Here

            return;
        }
       
        // load the module
        try {
          Module module = moduleService.loadModule(moduleInfo);
          openModule(module);
        } catch (RuntimeException e) {
          JOptionPane
      .showMessageDialog(
          this,
View Full Code Here

        break;
      }
    }
    // load the module if we have a module info object
    if (tInfo != null) {
      Module module = moduleService.loadModule(tInfo);
      // bypass the setter here
      this.module = module;
    }
  }
View Full Code Here

      throw new RuntimeException(
          "Invalid user account - module management disabled but no modules available!");
    }

    Module.Info tInfo = infos.iterator().next();
    Module module = moduleService.loadModule(tInfo);
    // bypass the setter here
    this.module = module;
  }
View Full Code Here

TOP

Related Classes of ch.tatool.data.Module

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.