Class NewProjectCreator
java.lang.Object
net.ssehub.easy.producer.eclipse.persistency.project_creation.AbstractProjectCreator
net.ssehub.easy.producer.eclipse.persistency.project_creation.NewProjectCreator
Creates a new EASy project.
- Author:
- El-Sharkawy
-
Constructor Summary
ConstructorsConstructorDescriptionNewProjectCreator(String projectName, boolean lazy, IEASyProjectConfigurator... configurators) Sole constructor for creating a new EASy project, without a predecessor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureProject(org.eclipse.core.resources.IProject project, IEASyProjectConfigurator configurator) Configures the newly created Eclipse project.(package private) ProductLineProjectCreates a newProductLineProjectwithout any predecessors.Methods inherited from class net.ssehub.easy.producer.eclipse.persistency.project_creation.AbstractProjectCreator
createProject, getCreatedProject, isLazyCreation, setPersistenceProperties
-
Constructor Details
-
NewProjectCreator
NewProjectCreator(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, maybenull. The configurators whill be applied in the ordering of the array.
-
-
Method Details
-
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.
-