Java 类org.eclipse.xtext.ui.util.PluginProjectFactory 实例源码

项目:bts    文件:AbstractPluginProjectCreator.java   
@Override
protected ProjectFactory configureProjectFactory(ProjectFactory factory) {
    PluginProjectFactory result = (PluginProjectFactory) super.configureProjectFactory(factory);

    result.addRequiredBundles(getRequiredBundles());
    result.addExportedPackages(getExportedPackages());
    result.addImportedPackages(getImportedPackages());
    result.setActivatorClassName(getActivatorClassName());

    return result;
}
项目:org.xtext.dsl.restaurante    文件:RestauranteProjectCreator.java   
@Override
protected PluginProjectFactory createProjectFactory() {
    PluginProjectFactory projectFactory = super.createProjectFactory();
    projectFactory.setWithPluginXml(false);
    return projectFactory;
}
项目:bts    文件:AbstractPluginProjectCreator.java   
@Override
protected PluginProjectFactory createProjectFactory() {
    return projectFactoryProvider.get();
}