Tuesday, March 17, 2009

Keyboard shortcuts and accessibility in GEF

Here is a handy reference list of keyboard usage with a GraphicalViewer. Zoom in and zoom out actions must be implemented for those key bindings to work. For panning support, use a PanningSelectionTool.


















































































Navigate leftRight arrow
Navigate rightRight arrow
Navigate downDown arrow
Navigate upUp arrow
Navigate into a containerAlt+Down arrow with the container selected
Navigate out of a containerAlt+Up arrow
Cycle through selection handlesPress the period key with a part selected
Move a component

  1. Cycle once to the Move handle using the period key
  2. Use navigation keys to move
  3. Press Enter to accept new location
  4. Press Escape to cancel the move

Resize a component

  1. Cycle to desired resize handle using the period key
  2. Use navigation keys to resize
  3. Press Enter to accept new size
  4. Press Escape to cancel the resize

Select multiple

  1. Hold down Ctrl
  2. Use navigation keys to navigate to additional components
  3. Press Space to select additional components

Select in sequenceHold down Shift, use navigation keys to select additional components
Zoom InCtrl +
Zoom OutCtrl -
Select multiple w/ mouseHold down Ctrl and use the mouse to select components
Pan when zoomed inHold down Spacebar and drag the mouse

4 comments: