Examples of addInternalFrame()


Examples of net.sf.mzmine.desktop.Desktop.addInternalFrame()

    }

    ParameterSet myParameters = MZmineCore.getConfiguration()
        .getModuleParameters(ThreeDVisualizerModule.class);
    try {
      desktop.addInternalFrame(new ThreeDVisualizerWindow(
          dataFile,
          msLevel,
          rtRange,
          myParameters.getParameter(
              ThreeDVisualizerParameters.rtResolution).getValue(),
View Full Code Here

Examples of net.sf.mzmine.desktop.Desktop.addInternalFrame()

    NumberFormat massFormater = MZmineCore.getConfiguration().getMZFormat();

    ResultWindow window = new ResultWindow(peakListRow, searchedMass, this);
    window.setTitle("Searching for " + massFormater.format(searchedMass)
        + " amu");
    desktop.addInternalFrame(window);

    IsotopePattern detectedPattern = peakListRow.getBestIsotopePattern();
    if ((isotopeFilter) && (detectedPattern == null)) {
      final String msg = "Cannot calculate isotope pattern scores, because selected"
          + " peak does not have any isotopes. Have you run the isotope peak grouper?";
View Full Code Here

Examples of net.sf.mzmine.desktop.Desktop.addInternalFrame()

      String name = compound.getName() + " ("
          + compound.getPropertyValue(PeakIdentity.PROPERTY_ID) + ")";
      MolStructureViewer viewer = new MolStructureViewer(name, url2D,
          url3D);
      Desktop desktop = MZmineCore.getDesktop();
      desktop.addInternalFrame(viewer);

    }

    if (command.equals("ISOTOPE_VIEWER")) {
View Full Code Here

Examples of net.sf.mzmine.desktop.Desktop.addInternalFrame()

        ClusteringReportWindow reportWindow = new ClusteringReportWindow(
            sampleNames,
            (Integer[]) clusteringResult.toArray(new Integer[0]),
            "Clustering Report");
        desktop.addInternalFrame(reportWindow);
      } else {
        String[] variableNames = new String[selectedRows.length];
        for (int i = 0; i < selectedRows.length; i++) {
          variableNames[i] = selectedRows[i].getID() + " - "
              + selectedRows[i].getAverageMZ() + " - "
View Full Code Here

Examples of net.sf.mzmine.desktop.Desktop.addInternalFrame()

        ClusteringReportWindow reportWindow = new ClusteringReportWindow(
            variableNames,
            (Integer[]) clusteringResult.toArray(new Integer[0]),
            "Clustering Report");
        desktop.addInternalFrame(reportWindow);

      }

      // Visualization
      if (typeOfData == ClusteringDataType.VARIABLES) {
View Full Code Here

Examples of net.sf.mzmine.desktop.Desktop.addInternalFrame()

        component2Coords = sammonsResult[yAxisDimension - 1];
      }

      ProjectionPlotWindow newFrame = new ProjectionPlotWindow(
          desktop.getSelectedPeakLists()[0], this, parameters);
      desktop.addInternalFrame(newFrame);
    }
    status = TaskStatus.FINISHED;
    logger.info("Finished computing Clustering visualization.");
  }
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.