Package net.sf.mzmine.desktop.impl.projecttree

Examples of net.sf.mzmine.desktop.impl.projecttree.ProjectTreeModel


    MZmineProjectImpl project = (MZmineProjectImpl) MZmineCore
        .getCurrentProject();

    // Check if we are adding to the current project
    if (Arrays.asList(project.getDataFiles()).contains(rawDataFile)) {
      final ProjectTreeModel treeModel = project.getTreeModel();
      final MassList newMassList = storedMassList;
      Runnable swingCode = new Runnable() {
        @Override
        public void run() {
          treeModel.addObject(newMassList);
        }
      };

      try {
        if (SwingUtilities.isEventDispatchThread())
View Full Code Here


    MZmineProjectImpl project = (MZmineProjectImpl) MZmineCore
        .getCurrentProject();

    // Check if we are using the current project
    if (Arrays.asList(project.getDataFiles()).contains(rawDataFile)) {
      final ProjectTreeModel treeModel = project.getTreeModel();
      Runnable swingCode = new Runnable() {
        @Override
        public void run() {
          treeModel.removeObject(massList);
        }
      };

      SwingUtilities.invokeLater(swingCode);
View Full Code Here

  private File projectFile;

  public MZmineProjectImpl() {

    this.treeModel = new ProjectTreeModel(this);
    projectParametersAndValues = new Hashtable<UserParameter, Hashtable<RawDataFile, Object>>();

  }
View Full Code Here

    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

TOP

Related Classes of net.sf.mzmine.desktop.impl.projecttree.ProjectTreeModel

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.