Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2012-10-22 15:07:51 +0000
committerLars Vogel2012-10-22 15:11:26 +0000
commitc58166bdf48149de9f74114340630244c368da5f (patch)
tree2e5af96c79234105d2f642df0c5b5b3c0c353e5b
parent7a891f41840c85b8ed4a37091942ced81aa0f241 (diff)
downloadorg.eclipse.e4.tools-c58166bdf48149de9f74114340630244c368da5f.tar.gz
org.eclipse.e4.tools-c58166bdf48149de9f74114340630244c368da5f.tar.xz
org.eclipse.e4.tools-c58166bdf48149de9f74114340630244c368da5f.zip
Adds template for creating a @Execute methodI20121023-2200
-rw-r--r--bundles/org.eclipse.e4.tools.jdt.templates/templates/default-e4templates.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/bundles/org.eclipse.e4.tools.jdt.templates/templates/default-e4templates.xml b/bundles/org.eclipse.e4.tools.jdt.templates/templates/default-e4templates.xml
index 2f6c5404..025f5b34 100644
--- a/bundles/org.eclipse.e4.tools.jdt.templates/templates/default-e4templates.xml
+++ b/bundles/org.eclipse.e4.tools.jdt.templates/templates/default-e4templates.xml
@@ -66,4 +66,11 @@ public void preDestroy() {
${imp:import(javax.annotation.PreDestroy)}
</template>
+<template name="Execute" description="Creates Execute method" id="org.eclipse.e4.tools.jdt.templates.execute" context="e4-members" enabled="true" autoinsert="false">@Execute
+public void execute() {
+}
+${imp:import(org.eclipse.e4.core.di.annotations.Execute)}
+</template>
+
+
</templates>

Back to the top