TPTP 4.5.0 Platform Project
Internal API Specification

org.eclipse.tptp.platform.report.drivers.ui.internal
Class SWTViewer.KeyEventHandler

java.lang.Object
  extended by org.eclipse.tptp.platform.report.extension.internal.DExtensible
      extended by org.eclipse.tptp.platform.report.drivers.ui.internal.SWTViewer.KeyEventHandler
Enclosing class:
SWTViewer

public static class SWTViewer.KeyEventHandler
extends DExtensible

This class provides a default Keyboard event handler for used by the SWTViewer. This handler manages the focus on the link item and its activation by the Enter key.

Each doMethod for JScrib Item receives in the parameter event a KeyMouseEvent object.

This class inherits of DExtensible class. You can extend the default handler by adding doMethod method if you want to add mouse event action on derived JScrib Item.

See Also:
SWTViewer.MouseEventHandler, DExtensible

Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.tptp.platform.report.extension.internal.DExtensible
DExtensible.InvokeMethod
 
Field Summary
 
Fields inherited from class org.eclipse.tptp.platform.report.extension.internal.DExtensible
mapMethod, paramTab
 
Constructor Summary
SWTViewer.KeyEventHandler()
           
 
Method Summary
 void doMethod(DGraphic graph, DExtensible ext, java.lang.Object event)
           
 void doMethod(IDLink link, DExtensible ext, java.lang.Object event)
           
 
Methods inherited from class org.eclipse.tptp.platform.report.extension.internal.DExtensible
doMethod, getDoMethod, installDoMethod, installDoMethods, installDoMethods, invokeDoMethod, invokeSuperDoMethod, removeDoMethod, removeDoMethod, removeDoMethods, removeDoMethods, resolveDoMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWTViewer.KeyEventHandler

public SWTViewer.KeyEventHandler()
Method Detail

doMethod

public void doMethod(IDLink link,
                     DExtensible ext,
                     java.lang.Object event)

doMethod

public void doMethod(DGraphic graph,
                     DExtensible ext,
                     java.lang.Object event)

TPTP 4.5.0 Platform Project
Internal API Specification