Examples of cloneParameter()


Examples of net.sf.mzmine.parameters.ParameterSet.cloneParameter()

        .getParameter(ThreeDVisualizerParameters.retentionTimeRange)
        .setValue(rtRange);
    myParameters.getParameter(ThreeDVisualizerParameters.mzRange).setValue(
        mzRange);
    if (myParameters.showSetupDialog() == ExitCode.OK) {
      myInstance.runModule(myParameters.cloneParameter(),
          new ArrayList<Task>());
    }
  }

  @Override
View Full Code Here

Examples of net.sf.mzmine.parameters.ParameterSet.cloneParameter()

    MZmineProcessingStep<ModuleType> newModules[] = new MZmineProcessingStep[modulesWithParams.length];
    MZmineProcessingStep<ModuleType> newValue = null;
    for (int i = 0; i < modulesWithParams.length; i++) {
      ModuleType module = modulesWithParams[i].getModule();
      ParameterSet params = modulesWithParams[i].getParameterSet();
      params = params.cloneParameter();
      newModules[i] = new MZmineProcessingStepImpl<ModuleType>(module,
          params);
      if (value == modulesWithParams[i])
        newValue = newModules[i];
    }
View Full Code Here

Examples of net.sf.mzmine.parameters.ParameterSet.cloneParameter()

    // Clone the parameters.
    final BatchQueue clonedQueue = new BatchQueue();
    for (final MZmineProcessingStep<MZmineProcessingModule> step : this) {
      final ParameterSet parameters = step.getParameterSet();
      final MZmineProcessingStepImpl<MZmineProcessingModule> stepCopy = new MZmineProcessingStepImpl<MZmineProcessingModule>(
          step.getModule(), parameters.cloneParameter());
      clonedQueue.add(stepCopy);
    }
    return clonedQueue;
  }
View Full Code Here

Examples of net.sf.mzmine.parameters.ParameterSet.cloneParameter()

    // Run task.
    if (parameters.showSetupDialog() == ExitCode.OK) {

      MZmineCore.getTaskController().addTask(
          new SingleRowIdentificationTask(
              parameters.cloneParameter(), row));
    }
  }

  @Override
  public @Nonnull
View Full Code Here

Examples of net.sf.mzmine.parameters.ParameterSet.cloneParameter()

    ExitCode exitCode = parameters.showSetupDialog();
    if (exitCode != ExitCode.OK)
      return;

    SingleRowPredictionTask newTask = new SingleRowPredictionTask(
        parameters.cloneParameter(), row);

    // execute the sequence
    MZmineCore.getTaskController().addTask(newTask);

  }
View Full Code Here

Examples of net.sf.mzmine.parameters.ParameterSet.cloneParameter()

    ExitCode exitCode = parameters.showSetupDialog();

    if (exitCode == ExitCode.OK) {
      IntensityPlotFrame newFrame = new IntensityPlotFrame(
          parameters.cloneParameter());
      MZmineCore.getDesktop().addInternalFrame(newFrame);
    }

  }
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.