Package net.sf.mzmine.modules.visualization.spectra

Examples of net.sf.mzmine.modules.visualization.spectra.SpectraVisualizerModule


    }

    if (command.equals("SHOW_SPECTRUM")) {
      RawDataFile[] selectedFiles = tree
          .getSelectedObjects(RawDataFile.class);
      SpectraVisualizerModule module = MZmineCore
          .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")) {
      RawDataFile[] selectedFiles = tree
          .getSelectedObjects(RawDataFile.class);
View Full Code Here

TOP

Related Classes of net.sf.mzmine.modules.visualization.spectra.SpectraVisualizerModule

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.