diff -r 1e9a67d68612 -r 5765bea3dbd1 ProjectController.py --- a/ProjectController.py Thu Sep 21 16:06:51 2017 +0300 +++ b/ProjectController.py Thu Sep 21 17:19:18 2017 +0300 @@ -177,21 +177,7 @@ return self.ieclib_c_path -class ProjectController(ConfigTreeNode, PLCControler): - """ - This class define Root object of the confnode tree. - It is responsible of : - - Managing project directory - - Building project - - Handling PLCOpenEditor controler and view - - Loading user confnodes and instanciante them as children - - ... - - """ - - # For root object, available Children Types are modules of the confnode packages. - CTNChildrenTypes = ExtractChildrenTypesFromCatalog(features.catalog) - +def GetProjectControllerXSD(): XSD = """ @@ -219,6 +205,23 @@ """ + return XSD + + +class ProjectController(ConfigTreeNode, PLCControler): + """ + This class define Root object of the confnode tree. + It is responsible of : + - Managing project directory + - Building project + - Handling PLCOpenEditor controler and view + - Loading user confnodes and instanciante them as children + - ... + + """ + # For root object, available Children Types are modules of the confnode packages. + CTNChildrenTypes = ExtractChildrenTypesFromCatalog(features.catalog) + XSD = GetProjectControllerXSD() EditorType = ProjectNodeEditor iec2c_cfg = None