Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Struckmann2014-11-07 08:28:11 +0000
committerSebastian Struckmann2014-11-07 08:28:30 +0000
commit9574693786500dfcd507a35d8a997f6945132263 (patch)
tree4dca5af5ff09f34e32de5940243108a38e7c192d /org.eclipse.jubula.toolkit.api.gen
parentbfa47b2559085988bc917fb2ffd7e4e9563e3aaf (diff)
downloadorg.eclipse.jubula.core-9574693786500dfcd507a35d8a997f6945132263.tar.gz
org.eclipse.jubula.core-9574693786500dfcd507a35d8a997f6945132263.tar.xz
org.eclipse.jubula.core-9574693786500dfcd507a35d8a997f6945132263.zip
Sprint task - Java API - Added handling of parameters to converter
Diffstat (limited to 'org.eclipse.jubula.toolkit.api.gen')
-rw-r--r--org.eclipse.jubula.toolkit.api.gen/META-INF/MANIFEST.MF3
-rw-r--r--org.eclipse.jubula.toolkit.api.gen/src/org/eclipse/jubula/toolkit/api/gen/internal/utils/NameLoader.java9
2 files changed, 11 insertions, 1 deletions
diff --git a/org.eclipse.jubula.toolkit.api.gen/META-INF/MANIFEST.MF b/org.eclipse.jubula.toolkit.api.gen/META-INF/MANIFEST.MF
index 56d3efd8b..83d63e57c 100644
--- a/org.eclipse.jubula.toolkit.api.gen/META-INF/MANIFEST.MF
+++ b/org.eclipse.jubula.toolkit.api.gen/META-INF/MANIFEST.MF
@@ -25,4 +25,5 @@ Require-Bundle: org.apache.commons.logging;bundle-version="[1.0.0,2.0.0)",
org.eclipse.jubula.toolkit.swt.provider;bundle-version="[2.4.0,2.5.0)",
org.eclipse.jubula.toolkit.winapps.provider;bundle-version="[2.4.0,2.5.0)",
org.eclipse.jubula.toolkit.win.provider;bundle-version="[2.4.0,2.5.0)"
-Export-Package: org.eclipse.jubula.toolkit.api.gen.internal.genmodel
+Export-Package: org.eclipse.jubula.toolkit.api.gen.internal.genmodel,
+ org.eclipse.jubula.toolkit.api.gen.internal.utils
diff --git a/org.eclipse.jubula.toolkit.api.gen/src/org/eclipse/jubula/toolkit/api/gen/internal/utils/NameLoader.java b/org.eclipse.jubula.toolkit.api.gen/src/org/eclipse/jubula/toolkit/api/gen/internal/utils/NameLoader.java
index 17690be21..3dcf94d3f 100644
--- a/org.eclipse.jubula.toolkit.api.gen/src/org/eclipse/jubula/toolkit/api/gen/internal/utils/NameLoader.java
+++ b/org.eclipse.jubula.toolkit.api.gen/src/org/eclipse/jubula/toolkit/api/gen/internal/utils/NameLoader.java
@@ -255,4 +255,13 @@ public class NameLoader {
public boolean isInEnumMap(String name) {
return m_enumMappingProperties.containsValue(name);
}
+
+ /**
+ * Returns the enum type for a param
+ * @param paramType the param
+ * @return the enum
+ */
+ public String getEnumForParam(String paramType) {
+ return m_enumMappingProperties.getProperty(paramType);
+ }
}

Back to the top