diff options
author | Carolyn MacLeod <Carolyn_MacLeod@ca.ibm.com> | 2012-03-08 15:39:17 -0500 |
---|---|---|
committer | Carolyn MacLeod <Carolyn_MacLeod@ca.ibm.com> | 2012-03-10 16:42:11 -0500 |
commit | 6b083490c307e06e3dbe89efcb32f0c23cd5e466 (patch) | |
tree | f3c3255cc8efb495027b333a2b1cd342f68c24a4 /bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events | |
parent | 22c98fa42a51e9ecf55469a432543ede877d4e8d (diff) | |
download | eclipse.platform.swt-6b083490c307e06e3dbe89efcb32f0c23cd5e466.tar.gz eclipse.platform.swt-6b083490c307e06e3dbe89efcb32f0c23cd5e466.tar.xz eclipse.platform.swt-6b083490c307e06e3dbe89efcb32f0c23cd5e466.zip |
Initial bug110005 work (Windows)
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/MenuDetectEvent.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/MenuDetectEvent.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/MenuDetectEvent.java index 8f36c30d39..6d48d91773 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/MenuDetectEvent.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/MenuDetectEvent.java @@ -43,6 +43,25 @@ public final class MenuDetectEvent extends TypedEvent { */ public boolean doit; + /** + * The event trigger type. + * <p><ul> + * <li>{@link org.eclipse.swt.SWT#CONTEXT_NONE}</li> + * <li>{@link org.eclipse.swt.SWT#CONTEXT_POINTER}</li> + * <li>{@link org.eclipse.swt.SWT#CONTEXT_FOCUS}</li> + * </ul></p> + * + * A field indicating whether the event was triggered by a pointing device, + * such as a mouse, or by a focus-based device such as a keyboard. + * If the trigger was CONTEXT_FOCUS, then the application should provide + * new display-relative x and y coordinates based on the current + * selection or the current focus. + * + * @since 3.8 + */ + public int detail; + + private static final long serialVersionUID = -3061660596590828941L; /** |