diff options
Diffstat (limited to 'src/projManagement/newProject.py')
-rw-r--r-- | src/projManagement/newProject.py | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/src/projManagement/newProject.py b/src/projManagement/newProject.py index c8cd4078..92e90742 100644 --- a/src/projManagement/newProject.py +++ b/src/projManagement/newProject.py @@ -22,33 +22,38 @@ from configuration.Appconfig import Appconfig import os import json -""" -This class is called when User create new Project. -""" class NewProjectInfo(QtGui.QWidget): + """ + This class is called when User create new Project. + """ def __init__(self): super(NewProjectInfo, self).__init__() self.obj_validation = Validation() self.obj_appconfig = Appconfig() - """ - This function create Project related directories and files + def createProject(self, projName): + """ + This function create Project related directories and files. + Before creating also validates using the `Validation` class - @params - :projName => name of the project created passed from - frontEnd/Application new_project() + Validation codes - @return - :dirs => The directories inside the project folder - :filelist => The files inside the project folder - """ + - VALID + - CHECKEXIST + - CHECKNAME + - NONE + + @params + :projName => name of the project created passed from + frontEnd/Application new_project() + + @return + :dirs => The directories inside the project folder + :filelist => The files inside the project folder - def createProject(self, projName): - """ - This function create Project related directories and files """ # print "Create Project Called" self.projName = projName |