Eclipse GEF
2.1

org.eclipse.gef.ui.parts
Class PaletteViewerKeyHandler

java.lang.Object
  |
  +--org.eclipse.gef.KeyHandler
        |
        +--org.eclipse.gef.ui.parts.GraphicalViewerKeyHandler
              |
              +--org.eclipse.gef.ui.parts.PaletteViewerKeyHandler

public class PaletteViewerKeyHandler
extends GraphicalViewerKeyHandler

KeyHandler for the Palette. Handles traversal of Palette entries and collapse/expand of categories.


Constructor Summary
PaletteViewerKeyHandler(PaletteViewer viewer)
           
 
Method Summary
 boolean keyPressed(KeyEvent event)
          Processes a key pressed event.
 
Methods inherited from class org.eclipse.gef.ui.parts.GraphicalViewerKeyHandler
getViewer
 
Methods inherited from class org.eclipse.gef.KeyHandler
keyReleased, put, remove, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaletteViewerKeyHandler

public PaletteViewerKeyHandler(PaletteViewer viewer)
Method Detail

keyPressed

public boolean keyPressed(KeyEvent event)
Description copied from class: KeyHandler
Processes a key pressed event. This method is called by the Tool whenever a key is pressed, and the Tool is in the proper state.

Overrides:
keyPressed in class GraphicalViewerKeyHandler
Parameters:
event - the KeyEvent * @return true if KeyEvent was handled in some way

Eclipse GEF
2.1

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.