[Commits] (donn) Temporarily removed Block Demo Menu

commits at osafoundation.org commits at osafoundation.org
Thu Sep 16 13:21:52 PDT 2004


Commit by: donn
Modified files:
chandler/parcels/osaf/views/demo/parcel.xml 1.28 1.29

Log message:
Temporarily removed Block Demo Menu
------------------------------------------------------
* The way we rebuild menus has problems with the new wxWidgets
* I plan fix the underlying problems soon, then replace the menu

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/chandler/parcels/osaf/views/demo/parcel.xml.diff?r1=text&tr1=1.28&r2=text&tr2=1.29

Index: chandler/parcels/osaf/views/demo/parcel.xml
diff -u chandler/parcels/osaf/views/demo/parcel.xml:1.28 chandler/parcels/osaf/views/demo/parcel.xml:1.29
--- chandler/parcels/osaf/views/demo/parcel.xml:1.28	Sat Aug 14 17:03:06 2004
+++ chandler/parcels/osaf/views/demo/parcel.xml	Thu Sep 16 13:21:51 2004
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
 
-<!-- $Revision: 1.28 $ -->
-<!-- $Date: 2004/08/15 00:03:06 $ -->
+<!-- $Revision: 1.29 $ -->
+<!-- $Date: 2004/09/16 20:21:51 $ -->
 <!-- Copyright (c) 2003 Open Source Applications Foundation -->
 <!-- License: http://osafoundation.org/Chandler_0.1_license_terms.htm -->
 
@@ -67,104 +67,8 @@
     <dispatchToBlock itemref="doc:Tabs"/>
   </BlockEvent>
 
-  <!--
-    Menus
-  -->
-  <Menu itsName="DemoMenu">
-    <blockName>DemoMenu</blockName>
-    <title>Block Demo</title>
-    <!-- location: MenuBar -->
-    <location>MenuBar</location>
-    <itemLocation>HelpMenu</itemLocation>
-    <helpString></helpString>
-
-    <childrenBlocks itemref="doc:IntroMenuItem"/>    
-    <childrenBlocks itemref="doc:ButtonsMenuItem"/>
-    <childrenBlocks itemref="doc:ControlsMenuItem"/>
-    <childrenBlocks itemref="doc:HTMLMenuItem"/>
-  </Menu>
-
-  <!--
-    Menu Items
-  -->
-  <MenuItem itsName="IntroMenuItem">
-    <blockName>IntroMenuItem</blockName>
-    <title>Intro Tab</title>
-    <menuItemKind>Radio</menuItemKind>
-    <event itemref="doc:ChooseIntroTab"/>
-    <helpString></helpString>
-  </MenuItem>
-
-  <MenuItem itsName="ButtonsMenuItem">
-    <blockName>ButtonsMenuItem</blockName>
-    <title>Buttons Tab</title>
-    <menuItemKind>Radio</menuItemKind>
-    <event itemref="doc:ChooseButtonsTab"/>
-    <helpString></helpString>
-  </MenuItem>
-
-  <MenuItem itsName="ControlsMenuItem">
-    <blockName>ControlsMenuItem</blockName>
-    <title>Controls Tab</title>
-    <menuItemKind>Radio</menuItemKind>
-    <event itemref="doc:ChooseControlsTab"/>
-    <helpString></helpString>
-  </MenuItem>
-
-  <MenuItem itsName="HTMLMenuItem">
-    <blockName>HTMLMenuItem</blockName>
-    <title>HTML Tab</title>
-    <menuItemKind>Radio</menuItemKind>
-    <event itemref="doc:ChooseHTMLTab"/>
-    <helpString></helpString>
-  </MenuItem>
-
-  <!-- Menu items to test Dynamic Containers -->
-  <MenuItem itsName="ReplaceUndoItem">
-    <blockName>ReplaceUndoItem</blockName>
-    <location>EditMenu</location>
-    <itemLocation value="UndoItem"/>
-    <operation value="Replace"/>
-    <title>Can't Undo BlockDemo</title>
-    <event itemref="events:NULL"/>
-  </MenuItem>
-
-  <MenuItem itsName="DeleteRedoItem">
-    <blockName>DeleteRedoItem</blockName>
-    <location>EditMenu</location>
-    <itemLocation value="RedoItem"/>
-    <operation value="Delete"/>
-  </MenuItem>
-
-  <Menu itsName="InsertPasteSpecialMenu">
-    <blockName>InsertPasteSpecialMenu</blockName>
-    <location>EditMenu</location>
-    <itemLocation value="PasteItem"/>
-    <title>Paste Special</title>
-
-    <childrenBlocks itemref="doc:PasteSpecialItem2"/>    
-    <childrenBlocks itemref="doc:PasteSpecialItem3"/>
-  </Menu>
-
-  <MenuItem itsName="PasteSpecialItem2">
-    <blockName>PasteSpecialItem2</blockName>
-    <title>Special flavor 2 for BlockDemo</title>
-    <event itemref="events:NULL"/>
-  </MenuItem>
-
-  <MenuItem itsName="PasteSpecialItem3">
-    <blockName>PasteSpecialItem3</blockName>
-    <title>Special flavor 3 for BlockDemo</title>
-    <event itemref="events:NULL"/>
-  </MenuItem>
-
-  <MenuItem itsName="InsertClearItem">
-    <blockName>InsertClearItem</blockName>
-    <location>EditMenu</location>
-    <itemLocation value="DeleteItem"/>
-    <title>Clear</title>
-    <event itemref="events:NULL"/>
-  </MenuItem>
+  <!-- DLDTBD - put the Menus back on the Block Demo once
+                our code works well with the new wxWidgets -->
 
   <!--
     Layout blocks
@@ -455,15 +359,6 @@
   <BoxContainer itsName="BlockDemoView">
     <displayName>Block Demo</displayName>
 
-    <!-- Menus -->
-    <childrenBlocks itemref="doc:DemoMenu"/>
-
-    <!-- Menu items to test Dynamic Containers -->
-    <childrenBlocks itemref="doc:ReplaceUndoItem"/>
-    <childrenBlocks itemref="doc:DeleteRedoItem"/>
-    <childrenBlocks itemref="doc:InsertPasteSpecialMenu"/>
-    <childrenBlocks itemref="doc:InsertClearItem"/>
-
     <!-- Layout children -->
     <childrenBlocks itemref="doc:Tabs"/>
 



More information about the Commits mailing list