Examples of showSetupDialog()


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

          .getModuleInstance(SpectraVisualizerModule.class);
      ParameterSet parameters = MZmineCore.getConfiguration()
          .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")) {
View Full Code Here

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

    }

    parameters.getParameter(IntensityPlotParameters.xAxisValueSource)
        .setChoices(xAxisSources);

    ExitCode exitCode = parameters.showSetupDialog();

    if (exitCode == ExitCode.OK) {
      IntensityPlotFrame newFrame = new IntensityPlotFrame(
          parameters.cloneParameter());
      MZmineCore.getDesktop().addInternalFrame(newFrame);
View Full Code Here

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

    if (parent != null) {

      // Show dialog.
      final ParameterSet parameters = new AddAdductParameters();
      if (parameters.showSetupDialog() == ExitCode.OK) {

        // Create new adduct.
        final AdductType adduct = new AdductType(parameters
            .getParameter(AddAdductParameters.NAME).getValue(),
            parameters.getParameter(
View Full Code Here

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

        .getModuleParameters(MzRangeCalculatorModule.class);

    if (myParameters == null)
      return null;

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

    String formula = myParameters.getParameter(
        MzRangeCalculatorParameters.formula).getValue();
View Full Code Here

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

  public static IsotopePattern showIsotopePredictionDialog() {

    ParameterSet parameters = MZmineCore.getConfiguration()
        .getModuleParameters(IsotopePatternCalculator.class);
    ExitCode exitCode = parameters.showSetupDialog();
    if (exitCode != ExitCode.OK)
      return null;

    String formula = parameters.getParameter(
        IsotopePatternCalculatorParameters.formula).getValue();
View Full Code Here

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

  public static void exportIsotopePattern(PeakListRow row) {

    ParameterSet parameters = MZmineCore.getConfiguration()
        .getModuleParameters(IsotopePatternExportModule.class);

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

    File outputFile = parameters.getParameter(
        IsotopePatternExportParameters.outputFile).getValue();
View Full Code Here

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

  public static void exportMSMS(PeakListRow row) {

    ParameterSet parameters = MZmineCore.getConfiguration()
        .getModuleParameters(MSMSExportModule.class);

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

    File outputFile = parameters.getParameter(
        MSMSExportParameters.outputFile).getValue();
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.