Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.jubula.toolkit.api.gen/templates/compGen.javajet')
-rw-r--r--org.eclipse.jubula.toolkit.api.gen/templates/compGen.javajet48
1 files changed, 0 insertions, 48 deletions
diff --git a/org.eclipse.jubula.toolkit.api.gen/templates/compGen.javajet b/org.eclipse.jubula.toolkit.api.gen/templates/compGen.javajet
deleted file mode 100644
index 84220b517..000000000
--- a/org.eclipse.jubula.toolkit.api.gen/templates/compGen.javajet
+++ /dev/null
@@ -1,48 +0,0 @@
-<%@ jet
-package="org.eclipse.jubula.toolkit.api.gen"
-imports="java.util.*
- org.eclipse.jubula.tools.xml.businessmodell.*"
-class="ComponentGenerator"%>
-<%
- Component component = (Component)argument;
- String name = component.getType();
- List<Action> actions = component.getActions();
- %>
-/**
- * Copyright (c) 2014 BREDEX GmbH.
- * All rights reserved.
- */
-package <%="org.eclipse.jubula.toolkit.base"%>;
-
-public class <%=name%> extends {
- Object m_component;
-
- public <%=name%>(Object component) {
- m_component = component;
- }
- <%
- Iterator<Action> actionsIterator = actions.iterator();
- while (actionsIterator.hasNext()) {
- Action action = actionsIterator.next();
- String actionName = action.getName();
- List<Param> params = action.getParams();
- %>
- public void rc<%=actionName%>(
- <%
- Iterator<Param> paramIterator = params.iterator();
- while (paramIterator.hasNext()) {
- Param param = paramIterator.next();
- String paramType = param.getType();
- String paramName = param.getName();
- %>
- <%=paramType%> <%=paramName%><%if(paramIterator.hasNext()){%>,<%}%>
- <%
- }
- %>
- ) {
-
- }
- <%
- }
- %>
-} \ No newline at end of file

Back to the top