Java 类org.eclipse.xtext.ui.wizard.IProjectInfo 实例源码

项目:n4js    文件:N4JSProjectCreator.java   
@Override
public void setProjectInfo(IProjectInfo projectInfo) {
    super.setProjectInfo(projectInfo);

    if (projectInfo instanceof N4MFProjectInfo &&
            ProjectType.TEST.equals(((N4MFProjectInfo) projectInfo).getProjectType())) {
        configureTestProject((N4MFProjectInfo) projectInfo);
    }
}
项目:n4js    文件:SimpleN4MFNewProjectWizard.java   
@Override
protected IProjectInfo getProjectInfo() {
    // update workingsets:
    n4mfWizardNewProjectCreationPage.updateSelectedWorkingSets();

    return projectInfo;
}
项目:dsl-devkit    文件:NewCheckProjectWizard.java   
/**
 * Get the project info instance from the new file page. It contains all information except for the project name.
 * 
 * @return the project info instance
 */
@Override
protected IProjectInfo getProjectInfo() {
  CheckProjectInfo projectInfo = newCatalogPage.getProjectInfo();
  projectInfo.setProjectName(newProjectPage.getProjectName()); // the project name is only required by the project creator; in case of the new file wizard,
                                                               // the project name is neither available nor needed
  if (projectInfo.getPackageName().trim().length() == 0) {
    // If no package name was provided, set the project name as package name
    // Should not happen as package name is mandatory
    projectInfo.setPackageName(projectInfo.getProjectName());
  }
  return projectInfo;
}
项目:dsl-devkit    文件:NewCheckCatalogWizard.java   
/**
 * Get the project info instance from the new file page. It contains all information except for the project name.
 * 
 * @return the project info instance
 */
@Override
public IProjectInfo getProjectInfo() {
  CheckProjectInfo projectInfo = new CheckProjectInfo();
  projectInfo = catalogPage.getProjectInfo();
  return projectInfo;
}
项目:PHDL    文件:PhdlNewProjectWizard.java   
/**
 * Use this method to read the project settings from the wizard pages and feed them into the project info class.
 */
@Override
protected IProjectInfo getProjectInfo() {
    edu.byu.ee.phdl.ui.wizard.PhdlProjectInfo projectInfo = new edu.byu.ee.phdl.ui.wizard.PhdlProjectInfo();
    projectInfo.setProjectName(mainPage.getProjectName());
    return projectInfo;
}
项目:antlr4ide    文件:Antlr4NewProjectWizardV2.java   
/**
 * Use this method to read the project settings from the wizard pages and feed them into the project info class.
 */
@Override
protected IProjectInfo getProjectInfo() {
    com.github.jknack.antlr4ide.ui.wizard.Antlr4ProjectInfo projectInfo = new com.github.jknack.antlr4ide.ui.wizard.Antlr4ProjectInfo();
    projectInfo.setProjectName(mainPage.getProjectName());
       if (!mainPage.useDefaults()) {
           projectInfo.setLocationPath(mainPage.getLocationPath());
       }
    return projectInfo;
}
项目:DialogScriptDSL    文件:DialogScriptNewProjectWizard.java   
/**
 * Use this method to read the project settings from the wizard pages and feed them into the project info class.
 */
public IProjectInfo getProjectInfo() {
  DialogScriptProjectInfo _dialogScriptProjectInfo = new DialogScriptProjectInfo();
  final DialogScriptProjectInfo projectInfo = _dialogScriptProjectInfo;
  String _projectName = this.mainPage.getProjectName();
  projectInfo.setProjectName(_projectName);
  return projectInfo;
}
项目:Xtext-Xtend-Buckminster-Example    文件:HelloBuckNewProjectWizard.java   
/**
 * Use this method to read the project settings from the wizard pages and feed them into the project info class.
 */
@Override
protected IProjectInfo getProjectInfo() {
    org.xtext.example.hellobuck.ui.wizard.HelloBuckProjectInfo projectInfo = new org.xtext.example.hellobuck.ui.wizard.HelloBuckProjectInfo();
    projectInfo.setProjectName(mainPage.getProjectName());
    return projectInfo;
}
项目:caslEdit    文件:EditorNewProjectWizard.java   
/**
 * Use this method to read the project settings from the wizard pages and feed them into the project info class.
 */
@Override
protected IProjectInfo getProjectInfo() {
    com.euclideanspace.casl.ui.wizard.EditorProjectInfo projectInfo = new com.euclideanspace.casl.ui.wizard.EditorProjectInfo();
    projectInfo.setProjectName(mainPage.getProjectName());
    return projectInfo;
}
项目:lil    文件:LilNewProjectWizard.java   
/**
 * Use this method to read the project settings from the wizard pages and feed them into the project info class.
 */
@Override
protected IProjectInfo getProjectInfo() {
    com.crubier.lil.ui.wizard.LilProjectInfo projectInfo = new com.crubier.lil.ui.wizard.LilProjectInfo();
    projectInfo.setProjectName(mainPage.getProjectName());
    return projectInfo;
}
项目:packtpub-xtext-book-examples    文件:SmallJavaNewProjectWizard.java   
/**
 * Use this method to read the project settings from the wizard pages and feed them into the project info class.
 */
@Override
protected IProjectInfo getProjectInfo() {
    org.example.smalljava.ui.wizard.SmallJavaProjectInfo projectInfo = new org.example.smalljava.ui.wizard.SmallJavaProjectInfo();
    projectInfo.setProjectName(mainPage.getProjectName());
    return projectInfo;
}
项目:dsl-devkit    文件:CheckCatalogCreator.java   
/** {@inheritDoc} */
public void setProjectInfo(final IProjectInfo projectInfo) {
  this.projectInfo = (CheckProjectInfo) projectInfo;
}
项目:DialogScriptDSL    文件:DialogScriptProjectCreator.java   
public void setProjectInfo(final IProjectInfo projectInfo) {
  this.projectInfo = projectInfo;
}