Examples of IDeftProjectType


Examples of org.deft.xml.IDeftProjectType

    EMFTextAccessPlugin.registerConcreteSyntax(new ModelMetaInformation());
    EMFTextAccessPlugin.registerConcreteSyntax(new OfficeMetaInformation());
    repo = XmlFileSystemEclipsePluginRepository.getInstance();
    XfsrOptionManager options = (XfsrOptionManager)repo.getRepositoryOptions();
    options.setRepositoryAccessData(repositoryPath.toOSString());
    IDeftProjectType type = getProjectType();
    if(repo.projectExists(projectName)) {
      List<Project> projects = repo.getProjects();
      for (Project tempProject : projects) {
        if(tempProject.getName().equals(projectName)) {
          repo.removeFragment(tempProject);
//          project = tempProject;
          break;
        }
      }
    }
    project = repo.createNewProject(projectName, type.getId());
    cfCat = project.getCategory(Category.SubType.CODE_FILES);
    if(!repo.codeFileExists(cfCat, codeFileName)) {
      codeFile = repo.importCodeFile(cfCat, filePath.toOSString(), codeFileName, parserID);
    } else {
      List<Fragment> children = cfCat.getChildren();
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.