summaryrefslogtreecommitdiff
path: root/src/projManagement/newProject.py
diff options
context:
space:
mode:
authorunknown2019-06-03 14:56:53 +0530
committernilshah982019-06-17 22:34:34 +0530
commit89249e5003eccb07917d21788f6ce37e1de6d572 (patch)
tree3cf30e5211f8f5cbfafe7400b7b92670de00929a /src/projManagement/newProject.py
parent1d4ee6b6c1254657c497673838922e746f339eca (diff)
downloadeSim-89249e5003eccb07917d21788f6ce37e1de6d572.tar.gz
eSim-89249e5003eccb07917d21788f6ce37e1de6d572.tar.bz2
eSim-89249e5003eccb07917d21788f6ce37e1de6d572.zip
sphinx documentation init
Diffstat (limited to 'src/projManagement/newProject.py')
-rw-r--r--src/projManagement/newProject.py33
1 files changed, 18 insertions, 15 deletions
diff --git a/src/projManagement/newProject.py b/src/projManagement/newProject.py
index c8cd4078..70ff5789 100644
--- a/src/projManagement/newProject.py
+++ b/src/projManagement/newProject.py
@@ -22,33 +22,36 @@ 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
-
- @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
+ Before creating also validates using the `Validation` class
+ Validation codes -
+ - 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
+
"""
# print "Create Project Called"
self.projName = projName