]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMMain.cpp
Feature #1711
[crea.git] / lib / creaDevManagerLib / modelCDMMain.cpp
index b3c381ff12064be15f6dd7a4661a4a4b3c8819f1..bb37b3d93acb0a7b94a02c0a6b84779f09d5ac43 100644 (file)
@@ -89,7 +89,7 @@ bool modelCDMMain::CreateProject(
 
   if (system (command.c_str()))
     {
-      result = new std::string("An error occured while running '" + command + "'.");
+      result = new std::string("An error occurred while running '" + command + "'.");
       return false;
     }
 
@@ -263,6 +263,11 @@ bool modelCDMMain::RefreshProject(
     }
 }
 
+std::map<wxTreeItemId, modelCDMIProjectTreeNode*>& modelCDMMain::GetModelElements()
+{
+  return this->modelElements;
+}
+
 bool modelCDMMain::CloseProject(
     std::string*& result
 )