@Override protected ProjectFactory configureProjectFactory(final ProjectFactory factory) { final ProjectFactory projectFactory = super.configureProjectFactory(factory); final N4MFProjectInfo projectInfo = (N4MFProjectInfo) getProjectInfo(); if (null != projectInfo.getProjectLocation()) { projectFactory.setLocation(projectInfo.getProjectLocation()); } return projectFactory; }
protected ProjectFactory configureProjectFactory(ProjectFactory factory) { factory.setProjectName(getProjectInfo().getProjectName()); factory.addFolders(getAllFolders()); factory.addReferencedProjects(getReferencedProjects()); factory.addProjectNatures(getProjectNatures()); factory.addBuilderIds(getBuilders()); return factory; }
@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; }
public IProject createProject(final IProgressMonitor monitor) { IProject _xblockexpression = null; { final ProjectFactory factory = this.projectFactoryProvider.get(); this.configureProjectFactory(factory); IProject _createProject = factory.createProject(monitor, null); _xblockexpression = (_createProject); } return _xblockexpression; }
public ProjectFactory configureProjectFactory(final ProjectFactory factory) { String _projectName = this.projectInfo.getProjectName(); factory.setProjectName(_projectName); factory.addFolders(this.FOLDER_LIST); factory.addProjectNatures(((String[])Conversions.unwrapArray(this.PROJECT_NATURES, String.class))); factory.addBuilderIds(((String[])Conversions.unwrapArray(this.BUILDER_IDS, String.class))); return factory; }
@Override protected ProjectFactory createProjectFactory() { return projectFactoryProvider.get(); }
@Override protected ProjectFactory configureProjectFactory(final ProjectFactory factory) { ProjectFactory result = super.configureProjectFactory(factory); result.addProjectNatures(CheckNature.CHECK_NATURE_ID); return result; }
protected IProject createProject(IProgressMonitor monitor) { ProjectFactory factory = createProjectFactory(); configureProjectBuilder(factory); return factory.createProject(monitor, null); }
/** * @deprecated use {@link #configureProjectFactory(ProjectFactory)} instead. */ @Deprecated protected ProjectFactory configureProjectBuilder(ProjectFactory factory) { return configureProjectFactory(factory); }
protected abstract ProjectFactory createProjectFactory();