Salome HOME
DCQ : Merge with Ecole_Ete_a6.
[modules/smesh.git] / doc / salome / gui / SMESH / whdata / whtoc.js
diff --git a/doc/salome/gui/SMESH/whdata/whtoc.js b/doc/salome/gui/SMESH/whdata/whtoc.js
new file mode 100755 (executable)
index 0000000..1456050
--- /dev/null
@@ -0,0 +1,28 @@
+// const strings\r
+var gaProj = new Array();\r
+var gsRoot = "";\r
+\r
+function setRoot(sRoot)\r
+{\r
+       gsRoot = sRoot\r
+}\r
+\r
+function aPE(sProjPath, sRootPath)\r
+{\r
+       gaProj[gaProj.length] = new tocProjEntry(sProjPath, sRootPath);\r
+}\r
+\r
+function tocProjEntry(sProjPath, sRootPath) \r
+{\r
+       this.sPPath = sProjPath;\r
+       this.sRPath = sRootPath;\r
+}\r
+\r
+\r
+function window_OnLoad()\r
+{\r
+       if (parent && parent != this && parent.projReady) {\r
+               parent.projReady(gsRoot, gaProj);\r
+       }\r
+}\r
+window.onload = window_OnLoad;
\ No newline at end of file