commit | c58166bdf48149de9f74114340630244c368da5f | [log] [tgz] |
---|---|---|
author | Lars Vogel <Lars.Vogel@gmail.com> | Mon Oct 22 17:07:51 2012 +0200 |
committer | Lars Vogel <Lars.Vogel@gmail.com> | Mon Oct 22 17:11:26 2012 +0200 |
tree | 2e5af96c79234105d2f642df0c5b5b3c0c353e5b | |
parent | 7a891f41840c85b8ed4a37091942ced81aa0f241 [diff] |
Adds template for creating a @Execute method
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 2f6c540..025f5b3 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 @@ ${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>