Package org.woped.config

Examples of org.woped.config.RecentFile


  public boolean saveConfig(File file) {
    try {
      // Map the recent file!
      getConfDocument().getConfiguration().getGeneral()
          .setRecentFilesArray(new RecentFile[0]);
      RecentFile xmlRecent;
      for (Iterator<WoPeDRecentFile> iter = runtimeRecentFiles.iterator(); iter
          .hasNext();) {
        WoPeDRecentFile recent = (WoPeDRecentFile) iter.next();
        xmlRecent = getConfDocument().getConfiguration()
            .getGeneral().addNewRecentFiles();
        xmlRecent.setName(recent.getName());
        xmlRecent.setPath(recent.getPath());
      }

      getConfDocument().getConfiguration().getGeneral().setCurrentWorkingdir(currentWorkingdir);
     
      if (getConfDocument().getConfiguration().getRegistration() != null) {
View Full Code Here

TOP

Related Classes of org.woped.config.RecentFile

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.