Examples of runModule()


Examples of net.sf.mzmine.modules.MZmineProcessingModule.runModule()

      errorMessage = "Invalid parameter settings for module " + method
          + ": " + Arrays.toString(messages.toArray());
    }

    ArrayList<Task> currentStepTasks = new ArrayList<Task>();
    ExitCode exitCode = method.runModule(batchStepParameters,
        currentStepTasks);

    if (exitCode != ExitCode.OK) {
      setStatus(TaskStatus.ERROR);
      errorMessage = "Could not start batch step " + method.getName();
View Full Code Here

Examples of net.sf.mzmine.modules.MZmineProcessingModule.runModule()

      if (exitCode == ExitCode.OK) {
        ParameterSet parametersCopy = moduleParameters.cloneParameter();
        logger.finest("Starting module " + module.getName()
            + " with parameters " + parametersCopy);
        ArrayList<Task> tasks = new ArrayList<Task>();
        module.runModule(parametersCopy, tasks);
        MZmineCore.getTaskController().addTasks(
            tasks.toArray(new Task[0]));
      }
      return;
    }
View Full Code Here

Examples of net.sf.mzmine.modules.visualization.spectra.SpectraVisualizerModule.runModule()

          .getModuleParameters(SpectraVisualizerModule.class);
      parameters.getParameter(SpectraVisualizerParameters.dataFiles)
          .setValue(selectedFiles);
      ExitCode exitCode = parameters.showSetupDialog();
      if (exitCode == ExitCode.OK)
        module.runModule(parameters, new ArrayList<Task>());
    }

    if (command.equals("SHOW_2D")) {
      RawDataFile[] selectedFiles = tree
          .getSelectedObjects(RawDataFile.class);
View Full Code Here

Examples of org.locationtech.udig.omsbox.core.ScriptHandler.runModule()

            return;
        }

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

    /**
     * Generates the script for the module currently selected in the gui.
     *
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.