Package net.sf.mzmine.desktop.impl

Examples of net.sf.mzmine.desktop.impl.MainWindow.updateTitle()


    Runnable swingThreadCode = new Runnable() {
      public void run() {
        MainWindow mainWindow = (MainWindow) MZmineCore.getDesktop();

        // Update the name of the project in the window title
        mainWindow.updateTitle();

        ProjectTree projectTree = mainWindow.getMainPanel()
            .getProjectTree();
        projectTree.setModel(treeModel);
View Full Code Here


      savedProject.setProjectFile(saveFile);

      // Update the window title to reflect the new name of the project
      if (MZmineCore.getDesktop() instanceof MainWindow) {
        MainWindow mainWindow = (MainWindow) MZmineCore.getDesktop();
        mainWindow.updateTitle();
      }

      logger.info("Finished saving the project to " + saveFile);

      setStatus(TaskStatus.FINISHED);
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.