org.eclipse.gef.ui.parts
Class GraphicalViewerKeyHandler
java.lang.Object
|
+--org.eclipse.gef.KeyHandler
|
+--org.eclipse.gef.ui.parts.GraphicalViewerKeyHandler
- Direct Known Subclasses:
- PaletteViewerKeyHandler
- public class GraphicalViewerKeyHandler
- extends KeyHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GraphicalViewerKeyHandler
public GraphicalViewerKeyHandler(GraphicalViewer viewer)
getViewer
protected GraphicalViewer getViewer()
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 KeyHandler
- Parameters:
event
- the KeyEvent
* @return true
if KeyEvent was handled in some way
Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.