Package net.sf.mzmine.modules

Examples of net.sf.mzmine.modules.MZmineProcessingStep


    }

    if (btnRemove.equals(src)) {

      // Remove selected step.
      final MZmineProcessingStep selected = (MZmineProcessingStep) currentStepsList
          .getSelectedValue();
      if (selected != null) {
        final int index = currentStepsList.getSelectedIndex();
        batchQueue.remove(selected);
        currentStepsList.setListData(batchQueue);
        selectStep(index);
      }
    }

    if (btnClear.equals(src)) {

      // Clear the queue.
      batchQueue.clear();
      currentStepsList.setListData(batchQueue);
    }

    if (btnConfig.equals(src)) {

      // Configure the selected item.
      final MZmineProcessingStep selected = (MZmineProcessingStep) currentStepsList
          .getSelectedValue();
      final ParameterSet parameters = selected == null ? null : selected
          .getParameterSet();
      if (parameters != null) {
        parameters.showSetupDialog();
      }
    }
View Full Code Here


  }

  private void processQueueStep(int stepNumber) {

    // Run next step of the batch
    MZmineProcessingStep currentStep = queue.get(stepNumber);

    logger.fine("running step: " + currentStep);
    MZmineProcessingModule method = (MZmineProcessingModule) currentStep
        .getModule();
    ParameterSet batchStepParameters = currentStep.getParameterSet();

    // Update dataFiles and peakLists in the batchStepParameters
    for (Parameter p : batchStepParameters.getParameters()) {
      if (p instanceof RawDataFilesParameter)
        ((RawDataFilesParameter) p).setValue(dataFiles);
View Full Code Here

TOP

Related Classes of net.sf.mzmine.modules.MZmineProcessingStep

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.