Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.core/src/org/eclipse/papyrus/qompass/designer/core/acceleo/AcceleoDriverWrapper.java')
-rw-r--r--extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.core/src/org/eclipse/papyrus/qompass/designer/core/acceleo/AcceleoDriverWrapper.java46
1 files changed, 23 insertions, 23 deletions
diff --git a/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.core/src/org/eclipse/papyrus/qompass/designer/core/acceleo/AcceleoDriverWrapper.java b/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.core/src/org/eclipse/papyrus/qompass/designer/core/acceleo/AcceleoDriverWrapper.java
index 3f2804cd048..b6978df1e5d 100644
--- a/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.core/src/org/eclipse/papyrus/qompass/designer/core/acceleo/AcceleoDriverWrapper.java
+++ b/extraplugins/qompass-designer/org.eclipse.papyrus.qompass.designer.core/src/org/eclipse/papyrus/qompass/designer/core/acceleo/AcceleoDriverWrapper.java
@@ -1,9 +1,9 @@
/**
* Copyright CEA-LIST 2009
* available under EPL 1.0 licence
- *
+ *
* This file is part of the Qompass tool chain (www.ec3m.net)
- *
+ *
* http://www.eclipse.org/legal/epl-v10.html
*
* $Id$
@@ -22,11 +22,11 @@ public class AcceleoDriverWrapper {
* Execute a script passed as parameter. It will be executed in the context
* of a base script that declares the meta-model (UML2) and has additional
* imports (currently none).
- *
+ *
* @param template
- * The template in string form
+ * The template in string form
* @param element
- * The UML element to which the template is applied
+ * The UML element to which the template is applied
* @return the evaluated template
*/
public static String bind(String templateStr, Element element) throws TransformationException {
@@ -41,11 +41,11 @@ public class AcceleoDriverWrapper {
* Execute a script passed as parameter. It will be executed in the context
* of a base script that declares the meta-model (UML2) and has additional
* imports (currently none).
- *
+ *
* @param template
- * The template in string form
+ * The template in string form
* @param element
- * The UML element to which the template is applied
+ * The UML element to which the template is applied
* @return the evaluated template
*/
public static String evaluate(String templateStr, Element element, Object args[]) throws TransformationException {
@@ -57,21 +57,21 @@ public class AcceleoDriverWrapper {
}
/**
- * Evaluate an Acceleo template
- *
- * @param templateStr
- * The template in string form
- * @param templateName
- * name of the template. Used to identify template when errors occur. Must be a legal Acceleo template name, i.e. may only
- * contain alpha-numerical characters and '_'
- * @param element
- * The UML element to which the template is applied
- * @param args
- * an array of arguments that are passed to the template. Each argument
- * must be either an EObject, a String, an Integer or a Boolean
- * (TODO: currently not evaluated)
- * @return the evaluated template
- */
+ * Evaluate an Acceleo template
+ *
+ * @param templateStr
+ * The template in string form
+ * @param templateName
+ * name of the template. Used to identify template when errors occur. Must be a legal Acceleo template name, i.e. may only
+ * contain alpha-numerical characters and '_'
+ * @param element
+ * The UML element to which the template is applied
+ * @param args
+ * an array of arguments that are passed to the template. Each argument
+ * must be either an EObject, a String, an Integer or a Boolean
+ * (TODO: currently not evaluated)
+ * @return the evaluated template
+ */
public static String evaluate(String templateStr, String templateName, Element element, Object args[]) throws TransformationException {
try {
return AcceleoDriver.evaluate(templateStr, templateName, element, args);

Back to the top