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 selection traversal of Palette entries and collapse/expand of categories.
Method Summary |
boolean |
keyPressed(KeyEvent event)
Extends keyPressed to look for palette navigation keys. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PaletteViewerKeyHandler
public PaletteViewerKeyHandler(PaletteViewer viewer)
- Constructs a key handler for the specified palette viewer.
- Parameters:
viewer
- the palette viewer
keyPressed
public boolean keyPressed(KeyEvent event)
- Extends keyPressed to look for palette navigation keys.
- Overrides:
keyPressed
in class GraphicalViewerKeyHandler
- See Also:
KeyHandler.keyPressed(org.eclipse.swt.events.KeyEvent)
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.