Class EclipseProjectCreationResult
- java.lang.Object
-
- net.ssehub.easy.producer.core.persistence.standard.ProjectCreationResult
-
- net.ssehub.easy.producer.eclipse.persistency.eclipse.EclipseProjectCreationResult
-
- All Implemented Interfaces:
IProjectCreationResult,IEclipseProjectCreationResult
public class EclipseProjectCreationResult extends ProjectCreationResult implements IEclipseProjectCreationResult
This result will be returned after calling the EclipsePersistencer#createEASyProject(String, String, String...) method.- Author:
- El-Sharkawy
-
-
Field Summary
Fields Modifier and Type Field Description private org.eclipse.core.resources.IProjectproject
-
Constructor Summary
Constructors Constructor Description EclipseProjectCreationResult(IProjectCreationResult result, org.eclipse.core.resources.IProject project)Sole constructor for this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.core.resources.IProjectgetIProject()Returns the eclipse handle for the newly created eclipse project.voidsetVarModelProjectPath(java.io.File varModelProjectLocation)Setter for the varModelProjectLocation.-
Methods inherited from class net.ssehub.easy.producer.core.persistence.standard.ProjectCreationResult
getBuildScript, getConfigFolder, getProjectFolder, getProjectID, getVarModel, getVarModelProjectPath
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.ssehub.easy.producer.core.persistence.datatypes.IProjectCreationResult
getBuildScript, getConfigFolder, getProjectFolder, getProjectID, getVarModel, getVarModelProjectPath
-
-
-
-
Constructor Detail
-
EclipseProjectCreationResult
public EclipseProjectCreationResult(IProjectCreationResult result, org.eclipse.core.resources.IProject project)
Sole constructor for this class.- Parameters:
result- A standard project creation result.project- The newly created eclipse project.
-
-
Method Detail
-
getIProject
public org.eclipse.core.resources.IProject getIProject()
Description copied from interface:IEclipseProjectCreationResultReturns the eclipse handle for the newly created eclipse project.- Specified by:
getIProjectin interfaceIEclipseProjectCreationResult- Returns:
- The eclipse handle for the newly created eclipse project.
-
setVarModelProjectPath
public void setVarModelProjectPath(java.io.File varModelProjectLocation)
Description copied from class:ProjectCreationResultSetter for the varModelProjectLocation. This method should only be used by sub classes.- Overrides:
setVarModelProjectPathin classProjectCreationResult- Parameters:
varModelProjectLocation- The new location of the varModel.
-
-