Package net.sf.mzmine.project.impl

Examples of net.sf.mzmine.project.impl.MZmineProjectImpl


   */
  public void removeRow(PeakListRow row) {
    peakListRows.remove(row);

    // We have to update the project tree model
    MZmineProjectImpl project = (MZmineProjectImpl) MZmineCore
        .getCurrentProject();
    ProjectTreeModel treeModel = project.getTreeModel();
    treeModel.removeObject(row);

    updateMaxIntensity();
  }
View Full Code Here


          MainWindow mainWindow = new MainWindow();
          desktop = mainWindow;
          mainWindow.initModule();

          // Activate project - bind it to the desktop's project tree
          MZmineProjectImpl currentProject = (MZmineProjectImpl) projectManager
              .getCurrentProject();
          currentProject.activateProject();

          // add desktop menu icon
          for (Class<?> moduleClass : MZmineModulesList.MODULES) {
            MZmineModule module = initializedModules
                .get(moduleClass);
View Full Code Here

      // the TaskProgressWindow from disposing
      frame.doDefaultCloseAction();
    }

    // Create a new, empty project
    MZmineProject newProject = new MZmineProjectImpl();

    // Replace the current project with the new one
    ProjectManager projectManager = MZmineCore.getProjectManager();
    projectManager.setCurrentProject(newProject);
View Full Code Here

      logger.info("Started opening project " + openFile);
      setStatus(TaskStatus.PROCESSING);

      // Create a new project
      newProject = new MZmineProjectImpl();
      newProject.setProjectFile(openFile);

      // Get project ZIP stream
      ZipFile zipFile = new ZipFile(openFile);
View Full Code Here

TOP

Related Classes of net.sf.mzmine.project.impl.MZmineProjectImpl

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.