MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:plavin Date:December 11 2007 5:32pm
Subject:svn commit - mysqldoc@docsrva: r9246 - trunk/workbench
View as plain text  
Author: plavin
Date: 2007-12-11 18:32:53 +0100 (Tue, 11 Dec 2007)
New Revision: 9246

Log:
Start the views chapter


Modified:
   trunk/workbench/Makefile.depends
   trunk/workbench/printing.xml
   trunk/workbench/reference.xml
   trunk/workbench/views.xml


Modified: trunk/workbench/Makefile.depends
===================================================================
--- trunk/workbench/Makefile.depends	2007-12-11 17:09:43 UTC (rev 9245)
+++ trunk/workbench/Makefile.depends	2007-12-11 17:32:53 UTC (rev 9246)
Changed blocks: 1, Lines Added: 3, Lines Deleted: 1; 523 bytes

@@ -420,7 +420,9 @@
 	workbench.ent
 views_IMAGES =
 views_SOURCES = views.xml $(views_INCLUDES)
-views_IDMAPS =
+views_IDMAPS = \
+	metadata/reference.idmap \
+	metadata/views.idmap
 views.validpure: $(views_SOURCES)
 views.titles: $(views_SOURCES)
 views.useless: $(views_SOURCES)


Modified: trunk/workbench/printing.xml
===================================================================
--- trunk/workbench/printing.xml	2007-12-11 17:09:43 UTC (rev 9245)
+++ trunk/workbench/printing.xml	2007-12-11 17:32:53 UTC (rev 9246)
Changed blocks: 5, Lines Added: 5, Lines Deleted: 5; 1162 bytes

@@ -17,7 +17,7 @@
   
   <note>
     <para>
-      The printing options apply to the commercial version of
+      The printing options apply to the commercial versions
       of &workbench; only.
     </para>
   </note>

@@ -35,7 +35,7 @@
         
         <listitem>
           <para>
-            Page Setup ...
+            <guimenu>Page Setup ...</guimenu>
           </para>
           
           <para>

@@ -45,7 +45,7 @@
         
         <listitem>
           <para>
-            Print
+            <guimenu>Print</guimenu>
           </para>
           
           <para>

@@ -65,7 +65,7 @@
         
         <listitem>
           <para>
-            Print to PDF ...
+            <guimenu>Print to PDF ...</guimenu>
           </para>
           
           <para>

@@ -76,7 +76,7 @@
         
         <listitem>
           <para>
-            Print to PS ...
+            <guimenu>Print to PS ...</guimenu>
           </para>
           
           <para>


Modified: trunk/workbench/reference.xml
===================================================================
--- trunk/workbench/reference.xml	2007-12-11 17:09:43 UTC (rev 9245)
+++ trunk/workbench/reference.xml	2007-12-11 17:32:53 UTC (rev 9246)
Changed blocks: 2, Lines Added: 2, Lines Deleted: 3; 1050 bytes

@@ -82,8 +82,7 @@
         The print options are only enabled if the <guilabel>EER
         Diagrams</guilabel> tab is selected. You have the choice of
         printing your model directly to your printer, printing it as a
-        PDF file, or creating a PostScript file. These menu items are
-        discussed in detail in <xref linkend="wb-printing"/>. For more
+        PDF file, or creating a PostScript file. For more
         information see <xref linkend="wb-printing"/>.
       </para>
 

@@ -114,7 +113,7 @@
         selected object. The keyboard command for this action is
         <keycap>Ctrl</keycap> <keycap>Delete</keycap>. For setting the
         default behavior when deleting see
-        <xref linkend="wb-options-general"/>.
+        <xref linkend="wb-options-advanced"/>.
       </para>
 
       <para>


Modified: trunk/workbench/views.xml
===================================================================
--- trunk/workbench/views.xml	2007-12-11 17:09:43 UTC (rev 9245)
+++ trunk/workbench/views.xml	2007-12-11 17:32:53 UTC (rev 9246)
Changed blocks: 1, Lines Added: 148, Lines Deleted: 5; 5228 bytes

@@ -10,23 +10,166 @@
   <title>Creating Views</title>
   
   <para>
-    
+    You can add views to a database either from the <literal>Physical Schemata</literal>
+    section of the <literal>Overview</literal> page or from the EER Diagram.
   </para>
    
-  <section id="wb-views-overview">
-    <title>Overview </title>
+  <section id="wb-views-physical-schemata">
+    <title>Adding Views to the Physical Schemata </title>
     
     <para>
+      Double clicking the <literal>Add View</literal> icon in the
+      <literal>Physical Schemata</literal> section of the <literal>Overview</literal>
+      page adds a view with the default name of <literal>view1</literal>. If a view
+      with this name already exists, the new view is named <literal>view2</literal>.
+    </para>
+    
+    <para>
+      Adding a new view automatically opens the view editor
+      docked at the bottom of the application. Using the view editor
+      is described in <xref linkend="wb-views-editor"/>.
+    </para>
+    
+    <para>
+      Right clicking a view opens a pop-up menu
+      with the following options:
       
+      <itemizedlist>
+        
+        <listitem>
+          <para>
+            <guimenu>Edit View ...</guimenu>
+          </para>
+        </listitem>
+        
+        <listitem>
+          <para>
+            <guimenu>Rename</guimenu>
+          </para>
+        </listitem>
+        
+        <listitem>
+          <para>
+            <guimenu>Cut</guimenu>
+          </para>
+        </listitem>
+        
+        <listitem>
+          <para>
+            <guimenu>Copy</guimenu>
+          </para>
+        </listitem>
+        
+        <listitem>
+          <para>
+            <guimenu>Delete</guimenu>
+          </para>
+        </listitem>
+        
+      </itemizedlist>       
+      
     </para>
     
+    <para>
+      The <guimenu>Edit View ...</guimenu> option opens
+     the view editor. Using the view editor
+      is described in <xref linkend="wb-views-editor"/>.
+    </para>
+    
+    <para>
+      The <guimenu>Cut</guimenu> and <guimenu>Paste</guimenu>
+      options are useful for copying views between different
+      schemata.
+    </para>
+    
+    <para>
+      The action of the <guimenu>Delete</guimenu> option
+      varies depending upon the way you have configured &workbench;.
+      For more information see <xref linkend="wb-options-advanced"/>.
+    </para>
+    
+    <para>
+      Any views added to the <literal>Physical Schemata</literal> also show up
+      in the <literal>Catalog</literal> palette on the right side
+      of the application. They may be added to an EER Digram
+      by dragging and dropping them from this palette.
+    </para>
+    
   </section>
   
-  <section id="wb-view-tools">
-    <title> The View Tools</title>
+  <section id="wb-using-view-tool">
+    <title> The View Tool</title>
     
     <para>
+      Views can also be added to an EER Diagram using the
+      <literal>View</literal> tool on the vertical toolbar.
+      To do this make sure that the <literal>EER Diagram</literal>
+      tab is selected, and right click the view icon on the vertical
+      toolbar. The view icon is the two overlapping rectangles found
+      below the table icon.      
+    </para>
+    
+    <para>
+      Clicking the mouse on this icon changes the mouse pointer to
+      a view pointer. You can also change the mouse pointer to
+      a view pointer by pressing the <keycap>V</keycap> key.      
+    </para>
+    
+    <para>
+      Choosing the <literal>View</literal> tool changes the contents of the toolbar
+      that appears immediately below the menu bar. It now contains a drop down
+      list box of schemata and a drop down color chart.
+      Use these list boxes to select the appropriate schema and color
+      accent for the new view. Make sure that you associate the new view
+      with a database. The color of your view can easily be changed 
+      later using the <literal>Properties</literal> palette.
+    </para>
+    
+      <para>
+       Create a view by clicking anywhere on the EER Diagram canvas.
+      This creates a new view with the default name <literal>view1</literal>.
+      To revert to the default mouse pointer, click the arrow icon
+      at the top of the vertical toolbar.
+    </para>
+    
+    <para>
+      Left clicking this object opens a
+      pop-up menu with the following options:
       
+      <itemizedlist>
+        <listitem>
+          <para>
+            <guimenu>Cut</guimenu>
+          </para>
+        </listitem>
+        
+        <listitem>
+          <para>
+            <guimenu>Copy</guimenu>
+          </para>
+        </listitem>
+        
+        <listitem>
+          <para>
+            <guimenu>Edit View ...</guimenu>
+          </para>
+        </listitem>
+        
+        <listitem>
+          <para>
+            <guimenu>Edit in New Window ...</guimenu>
+          </para>
+        </listitem>
+        
+        <listitem>
+          <para>
+            
+          </para>
+        </listitem>
+      </itemizedlist>
+      
+      
+      
     </para>
     
   </section>


Thread
svn commit - mysqldoc@docsrva: r9246 - trunk/workbenchplavin11 Dec