[Zope-CVS] CVS: Packages/MoZTop/moztop/content/zopetop - moztop.js:1.4 moztop.xul:1.4

Stephan Richter srichter@cbu.edu
Thu, 9 Jan 2003 01:19:22 -0500


Update of /cvs-repository/Packages/MoZTop/moztop/content/zopetop
In directory cvs.zope.org:/tmp/cvs-serv2024/content

Modified Files:
	moztop.js moztop.xul 
Log Message:
Checkpoint: I got adding Tasks to a RDF source going again; deleting does
not work though.



=== Packages/MoZTop/moztop/content/zopetop/moztop.js 1.3 => 1.4 ===
--- Packages/MoZTop/moztop/content/zopetop/moztop.js:1.3	Wed Jan  8 19:45:15 2003
+++ Packages/MoZTop/moztop/content/zopetop/moztop.js	Thu Jan  9 01:18:49 2003
@@ -6,14 +6,26 @@
 var myDatasourceURL = "http://pegasus/~ctheune/foldercontents.rdf"
 
 function startProgram() {
-  setupExplorerDS();
   initTaskList();
+  setupExplorerDS();
 }
 
 function closeProgram() {
     window.close()
 }
 
+function showAbout() {
+    info = alert('MoZTop - An IDE for Zope 3\n\n' +
+	  'MoZTop is an alternative IDE to the one that is being ' +
+          'developed in HTML. It offers many advantages that come ' +
+	  'with a true application.')
+}
+
+function showZope3() {
+    info = alert('Zope 3\n\n' +
+	  'Zope 3 is a professional award-winning Application Server. ' +
+          'For more information see http://www.zope.org/')
+}
 
 /* Setting Up Explorer Data Source */
 


=== Packages/MoZTop/moztop/content/zopetop/moztop.xul 1.3 => 1.4 ===
--- Packages/MoZTop/moztop/content/zopetop/moztop.xul:1.3	Wed Jan  8 19:45:15 2003
+++ Packages/MoZTop/moztop/content/zopetop/moztop.xul	Thu Jan  9 01:18:49 2003
@@ -6,7 +6,7 @@
 <?xul-overlay href="chrome://moztop/content/Menu/MenuOverlay.xul"?>
 <?xul-overlay href="chrome://moztop/content/Menu/ToolBarOverlay.xul"?>
 
-<?xul-overlay href="chrome://moztop/content/Inspector/ExplorerOverlay.xul"?>
+<?xul-overlay href="chrome://moztop/content/Inspector/InspectorOverlay.xul"?>
 <?xul-overlay href="chrome://moztop/content/Main/MainOverlay.xul"?>
 <?xul-overlay href="chrome://moztop/content/StatusBar/StatusBarOverlay.xul"?>
 
@@ -34,6 +34,8 @@
 
   <commandset id="maincommands"> 
     <command id="menu-file-close:command" oncommand="closeProgram();"/> 
+    <command id="menu-help-zope3:command" oncommand="showZope3();"/> 
+    <command id="menu-help-about:command" oncommand="showAbout();"/> 
   </commandset> 
  
   <toolbox>
@@ -42,11 +44,11 @@
   </toolbox>
 
   <box orient="horizontal" flex="10">
-    <tree id="explorer" flex="3"/>
+    <tabbox id="inspector-tabbox" flex="3"/>
     <splitter collapse="before">
       <spacer flex="1"/><grippy/><spacer flex="1"/>
     </splitter>
-    <box id="main" flex="6"/>
+    <box id="main-content" flex="6"/>
   </box>
 
   <splitter collapse="after">
@@ -54,5 +56,4 @@
   </splitter>
 
   <tabbox id="statusbar" flex="1"/>
-
 </window>