Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnsgar Radermacher2015-06-09 08:26:19 +0000
committerAnsgar Radermacher2015-06-09 08:29:04 +0000
commit7e138d091f8c26cd16668618a4555b0ff4fd8058 (patch)
tree863b4254bf2c0baff7afb2e3821824169228a50a /extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceCout.mtl
parent57717e9e3c920df737d09ac04e30eb241142b5c6 (diff)
downloadorg.eclipse.papyrus-7e138d091f8c26cd16668618a4555b0ff4fd8058.tar.gz
org.eclipse.papyrus-7e138d091f8c26cd16668618a4555b0ff4fd8058.tar.xz
org.eclipse.papyrus-7e138d091f8c26cd16668618a4555b0ff4fd8058.zip
469617 - [QDesigner] code generation for tracing is broken (since relying on Acceleo templates)
Diffstat (limited to 'extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceCout.mtl')
-rw-r--r--extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceCout.mtl14
1 files changed, 0 insertions, 14 deletions
diff --git a/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceCout.mtl b/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceCout.mtl
deleted file mode 100644
index fbbdcf1012e..00000000000
--- a/extraplugins/qompass-designer/tracing/org.eclipse.papyrus.qompass.modellibs.tracing/src/org/eclipse/papyrus/qompass/modellibs/tracing/acceleo/traceCout.mtl
+++ /dev/null
@@ -1,14 +0,0 @@
-[module traceCout('http://www.eclipse.org/uml2/5.0.0/UML')]
-
-[import org::eclipse::papyrus::qompass::designer::core::acceleo::UMLTool/]
-[import org::eclipse::papyrus::qompass::designer::core::acceleo::utils_cpp/]
-
-[template public traceOp(operation: Operation)]
-// declare operation & use directly. Problem: declaration can not be within the scope of an operation
-updateTimestamp ();
-cout "enter operation: " << [operation.name/] << " at " << timestamp.ticks() << " parameters: " <<
- [for (parameter : Parameter | operation.ownedParameter)] "[parameter.name/] (of type [parameter.type.name/]): " << [parameter.name/] [/for] << endl;
-)
-[if not (type = null)] [type.cppType()/] ret = [/if]rconn->[operation.cppCall()/];
-[if not (type = null)] return ret; [/if]
-[/template]

Back to the top