public class FeatureProjectFactory extends ProjectFactory
addBundle(String)
method.builderIds, defaultCharset, folders, location, projectName, projectNatures, referencedProjects, workbench, workingSets, workspace
Constructor and Description |
---|
FeatureProjectFactory() |
Modifier and Type | Method and Description |
---|---|
FeatureProjectFactory |
addBundle(java.lang.String bundleId)
Adds a new plugin entry
|
FeatureProjectFactory |
addFeature(java.lang.String featureId)
Adds a new included feature entry
|
protected void |
enhanceProject(org.eclipse.core.resources.IProject project,
org.eclipse.core.runtime.SubMonitor subMonitor,
org.eclipse.swt.widgets.Shell shell) |
void |
setFeatureLabel(java.lang.String label) |
FeatureProjectFactory |
withCategoryFile(java.lang.String mainCategoryName) |
addBuilderIds, addContributor, addFolders, addProjectNatures, addReferencedProjects, addWorkingSets, createFile, createFolders, createProject, createProjectDescription, createRecursive, deleteExistingProject, setBuilder, setLocation, setProjectDefaultCharset, setProjectName, writeToFile
public void setFeatureLabel(java.lang.String label)
public FeatureProjectFactory addBundle(java.lang.String bundleId)
public FeatureProjectFactory addFeature(java.lang.String featureId)
public FeatureProjectFactory withCategoryFile(java.lang.String mainCategoryName)
mainCategoryName
- If not null or empty a category.xml will be createdprotected void enhanceProject(org.eclipse.core.resources.IProject project, org.eclipse.core.runtime.SubMonitor subMonitor, org.eclipse.swt.widgets.Shell shell) throws org.eclipse.core.runtime.CoreException
enhanceProject
in class ProjectFactory
org.eclipse.core.runtime.CoreException