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
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PaletteViewerKeyHandler
public PaletteViewerKeyHandler(PaletteViewer viewer)
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
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.