view m-toolbox/html_help/help/ug/lwb_mouseKeyboard_content.html @ 29:54f14716c721 database-connection-manager

Update Java code
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 16:20:06 +0100
parents f0afece42f48
children
line wrap: on
line source

<p>
  This section describe the various mouse and key actions that are possible on 
  the LTPDA Workbench.
</p>
<p>  
  <ul>
    <li><a href="lwb_mouseKeyboard.html#wbKey">Keyboard actions on the main workbench</a></li>
    <li><a href="lwb_mouseKeyboard.html#canvasKey">Keyboard actions on the Canvas</a></li>
    <li><a href="lwb_mouseKeyboard.html#canvasMouse">Mouse actions on the Canvas</a></li>
  </ul>
  
</p>

<h2><a name="wbKey">Keyboard actions on the main workbench</a></h2>
<p>
  <table cellspacing="0" class="body" cellpadding="2" border="1" width="80%">
    <colgroup>
      <col width="25%"/>
      <col width="25%"/>
      <col width="50%"/>
    </colgroup>
    <thead>
      <tr valign="top">
        <th class="categorylist">Action (on Windows/Linux)</th>
        <th class="categorylist">Action (on Mac OS X)</th>
        <th class="categorylist">Description</th>
      </tr>
    </thead>
    <tbody>
      <!-- enter on block library -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p><tt>enter</tt> on a selected element in the block library</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Add the block to the active canvas</p>
        </td>
      </tr>
      <!-- enter on property value -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p><tt>enter</tt> in property or parameter value (or key)</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Set the new value to the property or parameter</p>
        </td>
      </tr>
    </tbody>
  </table>
</p>

<h2><a name="canvasKey">Keyboard actions on the Canvas</a></h2>
<p>
  <table cellspacing="0" class="body" cellpadding="2" border="1" width="80%">
    <colgroup>
      <col width="25%"/>
      <col width="25%"/>
      <col width="50%"/>
    </colgroup>
    <thead>
      <tr valign="top">
        <th class="categorylist">Action (on Windows/Linux)</th>
        <th class="categorylist">Action (on Mac OS X)</th>
        <th class="categorylist">Description</th>
      </tr>
    </thead>
    <tbody>
      <!-- arrows -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p>Arrow keys</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Scroll canvas</p>
        </td>
      </tr>
      <!-- copy -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p><tt>ctrl-c</tt></p>
        </td>
        <td bgcolor="#f3f4f5">
          <p><tt>cmd-c</tt></p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Copy selected elements</p>
        </td>
      </tr>
      <!-- paste -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p><tt>ctrl-v</tt></p>
        </td>
        <td bgcolor="#f3f4f5">
          <p><tt>cmd-v</tt></p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Paste selected elements</p>
        </td>
      </tr>
      <!-- move elements -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p><tt>shift</tt>-arrow keys</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Move selected elements</p>
        </td>
      </tr>
      <!-- next diagram -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p><tt>shift-alt</tt> right-arrow</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Jump to next pipeline</p>
        </td>
      </tr>
      <!-- previous diagram -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p><tt>shift-alt</tt> left-arrow</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Jump to previous pipeline</p>
        </td>
      </tr>
      <!-- Canvas info -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p><tt>ctrl-i</tt></p>
        </td>
        <td bgcolor="#f3f4f5">
          <p><tt>cmd-i</tt></p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Open the canvas info dialog panel.</p>
        </td>
      </tr>
       <!-- Quick block -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p><tt>ctrl-b</tt></p>
        </td>
        <td bgcolor="#f3f4f5">
          <p><tt>cmd-b</tt></p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Open the "Quick Block" dialog panel.</p>
        </td>
      </tr>     
       <!-- Find block -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p><tt>ctrl-f</tt></p>
        </td>
        <td bgcolor="#f3f4f5">
          <p><tt>cmd-f</tt></p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Open the "Block Search" dialog panel.</p>
        </td>
      </tr>  
       <!-- Deselect all blocks -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p><tt>escape</tt></p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>De-select all blocks.</p>
        </td>
      </tr>  
      
       <!-- Delete selected blocks -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p><tt>delete</tt></p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Delete selected blocks (or pipes).</p>
        </td>
      </tr>  
      
      
    </tbody>
  </table>
</p>

<h2><a name="canvasMouse">Mouse actions on the Canvas</a></h2>
<p>
  <table cellspacing="0" class="body" cellpadding="2" border="1" width="80%">
    <colgroup>
      <col width="25%"/>
      <col width="25%"/>
      <col width="50%"/>
    </colgroup>
    <thead>
      <tr valign="top">
        <th class="categorylist">Action (on Windows/Linux)</th>
        <th class="categorylist">Action (on Mac OS X)</th>
        <th class="categorylist">Description</th>
      </tr>
    </thead>
    <tbody>
      <!-- zoom -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p>Mouse-wheel scroll</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Zoom in and out on the canvas</p>
        </td>
      </tr>
      <!-- rubberband -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p>drag with left-mouse-button</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Draw rubber-band box to select elements</p>
        </td>
      </tr>
      <!-- move canvas -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p>alt-left-mouse-button</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Move the canvas around</p>
        </td>
      </tr>
      <!-- context menu -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p>right-click</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>right-click (or ctrl-left-click)</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Bring up canvas context menu</p>
        </td>
      </tr>
      <!-- deselect-->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p>left-click on canvas</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>De-select all selected blocks or pipes</p>
        </td>
      </tr>
      <!-- Select block -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p>left-click on a block</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Select the block and bring up its property and parameter tables</p>
        </td>
      </tr>
      <!-- Select multiple block -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p>shift-left-click on a block</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Add the block to the selected blocks</p>
        </td>
      </tr>
      <!-- move block -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p>left mouse button down on a block</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Move this and all other selected blocks</p>
        </td>
      </tr>
      <!-- resize block -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p>click-drag on selected block handles</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Resize the block</p>
        </td>
      </tr>
      <!-- connect blocks -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p>ctrl-left-click on block</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>cmd-left-click on block</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>If a single block is selected before this action then the result of this action is to connect the two
        blocks.</p>
        </td>
      </tr>
      <!-- drag pipe -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p>mouse-drag on a port</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>mouse-drag on a port</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>Start drawing a pipe originating from the port.</p>
        </td>
      </tr>
      <!-- connect -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p>release left mouse button on a port</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>If a pipe was being dragged, then the source port and destination port are connected by a pipe.</p>
        </td>
      </tr>
      <!-- connect -->
      <tr valign="top">
        <td bgcolor="#f3f4f5">
          <p>release left mouse button on a block</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>same</p>
        </td>
        <td bgcolor="#f3f4f5">
          <p>If a pipe was being dragged, then the source port is connected to the first free input of the destination block.</p>
        </td>
      </tr>
    </tbody>
  </table>
</p>