Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.e4.tools.emf.editor3x/templates/part.txtjet')
-rw-r--r--bundles/org.eclipse.e4.tools.emf.editor3x/templates/part.txtjet48
1 files changed, 0 insertions, 48 deletions
diff --git a/bundles/org.eclipse.e4.tools.emf.editor3x/templates/part.txtjet b/bundles/org.eclipse.e4.tools.emf.editor3x/templates/part.txtjet
deleted file mode 100644
index a6b0b1ca..00000000
--- a/bundles/org.eclipse.e4.tools.emf.editor3x/templates/part.txtjet
+++ /dev/null
@@ -1,48 +0,0 @@
-<%@ jet package="org.eclipse.e4.tools.emf.editor3x.templates" class="PartTemplate" imports="org.eclipse.e4.tools.emf.editor3x.wizard.NewPartClassWizard.PartClass" %>
-<% PartClass domainClass = (PartClass)argument; %>
-package <%= domainClass.getPackageFragment().getElementName() %>;
-
-import javax.inject.Inject;
-<% if( domainClass.isUsePostConstruct() ) { %>
-import javax.annotation.PostConstruct;
-<% } %>
-<% if( domainClass.isUsePredestroy() ) { %>
-import javax.annotation.PreDestroy;
-<% } %>
-<% if( domainClass.isUseFocus() ) { %>
-import org.eclipse.e4.ui.di.Focus;
-<% } %>
-<% if( domainClass.isUsePersist() ) { %>
-import org.eclipse.e4.ui.di.Persist;
-<% } %>
-
-public class <%= domainClass.getName() %> {
- @Inject
- public <%= domainClass.getName() %>() {
- //TODO Your code here
- }
- <% if( domainClass.isUsePostConstruct() ) { %>
- @PostConstruct
- public void <%= domainClass.getPostConstructMethodName() %>() {
- //TODO Your code here
- }
- <% } %>
- <% if( domainClass.isUsePredestroy() ) { %>
- @PreDestroy
- public void <%= domainClass.getPreDestroyMethodName() %>() {
- //TODO Your code here
- }
- <% } %>
- <% if( domainClass.isUseFocus() ) { %>
- @Focus
- public void <%= domainClass.getFocusMethodName() %>() {
- //TODO Your code here
- }
- <% } %>
- <% if( domainClass.isUsePersist() ) { %>
- @Persist
- public void <%= domainClass.getPersistMethodName() %>() {
- //TODO Your code here
- }
- <% } %>
-} \ No newline at end of file

Back to the top