code: public void saveFile(File file, String type)
     {
        if (file != null)
        {
           m_treeController.saveFile(file, type);
        }
     }
docs: Saves the project file displayed in this panel.
  
  @param file target file
  @param type file type