Package edu.stanford.smi.protegex.owl.model.project

Examples of edu.stanford.smi.protegex.owl.model.project.SettingsMap


      if(model != null){
        // get project file
        File pfile = model.getProject().getProjectFile();
       
        // copy settings
        SettingsMap settings = model.getOWLProject().getSettingsMap();
     
        for(Iterator i=settings.listKeys();i.hasNext();){
          String key = ""+i.next();
          map.put(key,settings.getString(key));
        }
       
        // dispose of object and file etc.
        model.getProject().dispose();
       
View Full Code Here


    if(l != null)
      return ""+l;
   
    // else query project
    if(model != null){
      SettingsMap map = model.getOWLProject().getSettingsMap();
      if(map.getString("table") != null){
        return "database";
      }else if(map.getString("owl_file_name") != null){
        return "file";
      }
    }
    return "";
  }
View Full Code Here

    if(l != null)
      return ""+l;
   
    // else query project
    if(model != null){
      SettingsMap map = model.getOWLProject().getSettingsMap();
      if(map.getString("table") != null){
        return map.getString("table");
      }else if(map.getString("owl_file_name") != null){
        return map.getString("owl_file_name");
      }
    }
    return "";
  }
View Full Code Here

      if(model != null){
        // get project file
        File pfile = model.getProject().getProjectFile();
       
        // copy settings
        SettingsMap settings = model.getOWLProject().getSettingsMap();
     
        for(Iterator i=settings.listKeys();i.hasNext();){
          String key = ""+i.next();
          map.put(key,settings.getString(key));
        }
       
        // dispose of object and file etc.
        model.getProject().dispose();
       
View Full Code Here

    if(l != null)
      return ""+l;
   
    // else query project
    if(model != null){
      SettingsMap map = model.getOWLProject().getSettingsMap();
      if(map.getString("table") != null){
        return "database";
      }else if(map.getString("owl_file_name") != null){
        return "file";
      }
    }
    return "";
  }
View Full Code Here

    if(l != null)
      return ""+l;
   
    // else query project
    if(model != null){
      SettingsMap map = model.getOWLProject().getSettingsMap();
      if(map.getString("table") != null){
        return map.getString("table");
      }else if(map.getString("owl_file_name") != null){
        return map.getString("owl_file_name");
      }
    }
    return "";
  }
View Full Code Here

TOP

Related Classes of edu.stanford.smi.protegex.owl.model.project.SettingsMap

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.