|
Eclipse GEF 3.8.0.201206112118 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.draw2d.EventDispatcher
org.eclipse.draw2d.SWTEventDispatcher
org.eclipse.gef.ui.parts.DomainEventDispatcher
public class DomainEventDispatcher
A special event dispatcher that will route events to the EditDomain
when appropriate.
IMPORTANT: This class is not intended to be used or subclassed by clients.
| Nested Class Summary | |
|---|---|
protected class |
DomainEventDispatcher.EditPartAccessibilityDispatcher
Extended accessibility support for editpart. |
| Nested classes/interfaces inherited from class org.eclipse.draw2d.SWTEventDispatcher |
|---|
SWTEventDispatcher.FigureAccessibilityDispatcher |
| Nested classes/interfaces inherited from class org.eclipse.draw2d.EventDispatcher |
|---|
EventDispatcher.AccessibilityDispatcher |
| Field Summary | |
|---|---|
protected EditDomain |
domain
The edit domain |
protected EditPartViewer |
viewer
The viewer on which this dispatcher is created. |
| Fields inherited from class org.eclipse.draw2d.SWTEventDispatcher |
|---|
ANY_BUTTON, control |
| Constructor Summary | |
|---|---|
DomainEventDispatcher(EditDomain d,
EditPartViewer v)
Constructs the dispatcher for the given domain and viewer. |
|
| Methods inherited from class org.eclipse.draw2d.SWTEventDispatcher |
|---|
getCurrentEvent, getCursorTarget, getFocusOwner, getFocusTraverseManager, getMouseTarget, getRoot, getToolTipHelper, isCaptured, releaseCapture, requestFocus, requestRemoveFocus, setControl, setEnableKeyTraversal, setFigureUnderCursor, setFocus, setHoverSource, setMouseTarget, setRoot, updateCursor, updateFigureUnderCursor, updateHoverSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected EditDomain domain
protected EditPartViewer viewer
| Constructor Detail |
|---|
public DomainEventDispatcher(EditDomain d,
EditPartViewer v)
d - the domainv - the viewer| Method Detail |
|---|
public void dispatchFocusGained(FocusEvent event)
dispatchFocusGained in class SWTEventDispatcherEventDispatcher.dispatchFocusGained(org.eclipse.swt.events.FocusEvent)public void dispatchFocusLost(FocusEvent event)
dispatchFocusLost in class SWTEventDispatcherEventDispatcher.dispatchFocusLost(org.eclipse.swt.events.FocusEvent)public void dispatchKeyPressed(KeyEvent e)
dispatchKeyPressed in class SWTEventDispatcherEventDispatcher.dispatchKeyPressed(org.eclipse.swt.events.KeyEvent)public void dispatchKeyTraversed(TraverseEvent e)
dispatchKeyTraversed in class SWTEventDispatcherSWTEventDispatcher.dispatchKeyTraversed(org.eclipse.swt.events.TraverseEvent)public void dispatchKeyReleased(KeyEvent e)
dispatchKeyReleased in class SWTEventDispatcherEventDispatcher.dispatchKeyReleased(org.eclipse.swt.events.KeyEvent)public void dispatchMouseDoubleClicked(MouseEvent me)
dispatchMouseDoubleClicked in class SWTEventDispatcherEventDispatcher.dispatchMouseDoubleClicked(org.eclipse.swt.events.MouseEvent)public void dispatchMouseEntered(MouseEvent me)
dispatchMouseEntered in class SWTEventDispatcherEventDispatcher.dispatchMouseEntered(org.eclipse.swt.events.MouseEvent)public void dispatchMouseExited(MouseEvent me)
dispatchMouseExited in class SWTEventDispatcherEventDispatcher.dispatchMouseExited(org.eclipse.swt.events.MouseEvent)public void dispatchMouseHover(MouseEvent me)
dispatchMouseHover in class SWTEventDispatcherEventDispatcher.dispatchMouseHover(org.eclipse.swt.events.MouseEvent)public void dispatchMousePressed(MouseEvent me)
dispatchMousePressed in class SWTEventDispatcherEventDispatcher.dispatchMousePressed(org.eclipse.swt.events.MouseEvent)public void dispatchMouseMoved(MouseEvent me)
dispatchMouseMoved in class SWTEventDispatcherEventDispatcher.dispatchMouseMoved(org.eclipse.swt.events.MouseEvent)public void dispatchMouseReleased(MouseEvent me)
dispatchMouseReleased in class SWTEventDispatcherEventDispatcher.dispatchMouseReleased(org.eclipse.swt.events.MouseEvent)
public void dispatchNativeDragFinished(DragSourceEvent event,
AbstractEditPartViewer viewer)
event - the eventviewer - the viewer on which the event occured.
public void dispatchNativeDragStarted(DragSourceEvent event,
AbstractEditPartViewer viewer)
event - the eventviewer - the viewerpublic void dispatchMouseWheelScrolled(Event evt)
dispatchMouseWheelScrolled in class EventDispatcherEventDispatcher.dispatchMouseWheelScrolled(org.eclipse.swt.widgets.Event)protected EventDispatcher.AccessibilityDispatcher getAccessibilityDispatcher()
getAccessibilityDispatcher in class SWTEventDispatcherEventDispatcher.getAccessibilityDispatcher()protected final EditPartViewer getViewer()
protected void setCapture(IFigure figure)
setCapture in class SWTEventDispatcherEventDispatcher.setCapture(IFigure)protected void setCursor(Cursor newCursor)
setCursor in class SWTEventDispatcherSWTEventDispatcher.setCursor(Cursor)public void setRouteEventsToEditor(boolean value)
value - true if all events should go directly to the edit
domainpublic void setOverrideCursor(Cursor newCursor)
newCursor - the cursor
|
Eclipse GEF 3.8.0.201206112118 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||