Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/event/eventData.xml.jet')
-rw-r--r--examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/event/eventData.xml.jet44
1 files changed, 44 insertions, 0 deletions
diff --git a/examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/event/eventData.xml.jet b/examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/event/eventData.xml.jet
new file mode 100644
index 0000000..5cc218e
--- /dev/null
+++ b/examples/org.eclipse.jet.ec2008.swtgen.codebehind/templates/event/eventData.xml.jet
@@ -0,0 +1,44 @@
+<%!
+/* Copyright 2008 IBM Corp. All rights reserved. This source code is made available under the terms of the Eclipse Public License, v1.0. */
+%>
+<Selection
+ addListenerMethod="addSelectionListener"
+ handlerBaseClass="org.eclipse.swt.events.SelectionAdapter"
+ handlerMethod="widgetSelected"
+ eventClass="org.eclipse.swt.events.SelectionEvent"
+ delegateMethodSuffix="_selected"/>
+
+<DefaultSelection
+ addListenerMethod="addSelectionListener"
+ handlerBaseClass="org.eclipse.swt.events.SelectionAdapter"
+ handlerMethod="widgetDefaultSelected"
+ eventClass="org.eclipse.swt.events.SelectionEvent"
+ delegateMethodSuffix="_defaultSelected"/>
+
+<Modify
+ addListenerMethod="addModifyListener"
+ handlerBaseClass="org.eclipse.swt.events.ModifyListener"
+ handlerMethod="modifyText"
+ eventClass="org.eclipse.swt.events.ModifyEvent"
+ delegateMethodSuffix="_modify"/>
+
+<Move
+ addListenerMethod="addControlListener"
+ handlerBaseClass="org.eclipse.swt.events.ControlAdapter"
+ handlerMethod="controlMoved"
+ eventClass="org.eclipse.swt.events.ControlEvent"
+ delegateMethodSuffix="_moved"/>
+
+<Resize
+ addListenerMethod="addControlListener"
+ handlerBaseClass="org.eclipse.swt.events.ControlAdapter"
+ handlerMethod="controlResized"
+ eventClass="org.eclipse.swt.events.ControlEvent"
+ delegateMethodSuffix="_resized"/>
+
+<Verify
+ addListenerMethod="addVerifyListener"
+ handlerBaseClass="org.eclipse.swt.events.VerifyListener"
+ handlerMethod="verifyText"
+ eventClass="org.eclipse.swt.events.VerifyEvent"
+ delegateMethodSuffix="_verify"/>

Back to the top