diff options
Diffstat (limited to 'bundles/org.eclipse.e4.tools.emf.editor3x/templates/handler.txtjet')
-rw-r--r-- | bundles/org.eclipse.e4.tools.emf.editor3x/templates/handler.txtjet | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.editor3x/templates/handler.txtjet b/bundles/org.eclipse.e4.tools.emf.editor3x/templates/handler.txtjet deleted file mode 100644 index 299c4f59..00000000 --- a/bundles/org.eclipse.e4.tools.emf.editor3x/templates/handler.txtjet +++ /dev/null @@ -1,22 +0,0 @@ -<%@ jet package="org.eclipse.e4.tools.emf.editor3x.templates" class="HandlerTemplate" imports="org.eclipse.e4.tools.emf.editor3x.wizard.NewHandlerClassWizard.HandlerClass" %> -<% HandlerClass domainClass = (HandlerClass)argument; %> -package <%= domainClass.getPackageFragment().getElementName() %>; - -import org.eclipse.e4.core.di.annotations.Execute; -<% if( domainClass.isUseCanExecute() ) { %> -import org.eclipse.e4.core.di.annotations.CanExecute; -<% } %> - -public class <%= domainClass.getName() %> { - @Execute - public void <%= domainClass.getExecuteMethodName() %>() { - //TODO Your code goes here - } - <% if( domainClass.isUseCanExecute() ) { %> - - @CanExecute - public boolean <%= domainClass.getCanExecuteMethodName() %>() { - //TODO Your code goes here - } - <% } %> -}
\ No newline at end of file |