]> SALOME platform Git repositories - modules/superv.git/blobdiff - doc/salome/gui/SUPERV/whdata/whtoc.js
Salome HOME
This commit was generated by cvs2git to create branch
[modules/superv.git] / doc / salome / gui / SUPERV / whdata / whtoc.js
diff --git a/doc/salome/gui/SUPERV/whdata/whtoc.js b/doc/salome/gui/SUPERV/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