Class NewProjectCreator
- java.lang.Object
-
- net.ssehub.easy.producer.eclipse.persistency.project_creation.AbstractProjectCreator
-
- net.ssehub.easy.producer.eclipse.persistency.project_creation.NewProjectCreator
-
class NewProjectCreator extends AbstractProjectCreator
Creates a new EASy project.- Author:
- El-Sharkawy
-
-
Constructor Summary
Constructors Constructor Description NewProjectCreator(java.lang.String projectName, boolean lazy, IEASyProjectConfigurator... configurators)Sole constructor for creating a new EASy project, without a predecessor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidconfigureProject(org.eclipse.core.resources.IProject project, IEASyProjectConfigurator configurator)Configures the newly created Eclipse project.(package private) ProductLineProjectcreateEASyProject()Creates a newProductLineProjectwithout any predecessors.-
Methods inherited from class net.ssehub.easy.producer.eclipse.persistency.project_creation.AbstractProjectCreator
createProject, getCreatedProject, isLazyCreation, setPersistenceProperties
-
-
-
-
Constructor Detail
-
NewProjectCreator
NewProjectCreator(java.lang.String projectName, boolean lazy, IEASyProjectConfigurator... configurators)Sole constructor for creating a new EASy project, without a predecessor.- Parameters:
projectName- The name of the new project (should already be checked, whether the name is valid).lazy- iftrue, create only required parts, else assume that project does not exist before.configurators- Optional list of configurators to configure the newly created project, maybe null. The configurators whill be applied in the ordering of the array.
-
-
Method Detail
-
createEASyProject
ProductLineProject createEASyProject()
Creates a newProductLineProjectwithout any predecessors.- Specified by:
createEASyProjectin classAbstractProjectCreator- Returns:
- The newly created
ProductLineProject.
-
configureProject
protected void configureProject(org.eclipse.core.resources.IProject project, IEASyProjectConfigurator configurator)Description copied from class:AbstractProjectCreatorConfigures the newly created Eclipse project.- Specified by:
configureProjectin classAbstractProjectCreator- Parameters:
project- The newly created EASy (Eclipse) project.configurator- The configurator to use for configuring the project.
-
-