Package net.sf.mzmine.parameters

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


    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

        .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

  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

  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

  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.