Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjeremie.tatibouet2015-05-04 13:24:49 +0000
committerArnaud Cuccuru2015-05-05 16:47:26 +0000
commit67d24a73dcbbe539c906905c1f7788b1265ff11c (patch)
tree8ac3747985e5c0251ae8bb8f918fdf0f2636964b /plugins/uml/alf/org.eclipse.papyrus.uml.alf/src/org/eclipse/papyrus/uml
parentb8e467cba2b0fb654c7d8c10e43de9c5f526c6b1 (diff)
downloadorg.eclipse.papyrus-67d24a73dcbbe539c906905c1f7788b1265ff11c.tar.gz
org.eclipse.papyrus-67d24a73dcbbe539c906905c1f7788b1265ff11c.tar.xz
org.eclipse.papyrus-67d24a73dcbbe539c906905c1f7788b1265ff11c.zip
Enables the ALF editor when an operation is selected. Still some merge
problem at this step (e.g. the implementation of an operation not referenced in the "method" list after a compilation). Change-Id: I6cd85e10180d9b113fd5a77d23ac572c9426000c Signed-off-by: jeremie.tatibouet <jeremie.tatibouet@cea.fr> Reviewed-on: https://git.eclipse.org/r/47155 Tested-by: Hudson CI Reviewed-by: Arnaud Cuccuru <arnaud.cuccuru@cea.fr> Tested-by: Arnaud Cuccuru <arnaud.cuccuru@cea.fr>
Diffstat (limited to 'plugins/uml/alf/org.eclipse.papyrus.uml.alf/src/org/eclipse/papyrus/uml')
-rw-r--r--plugins/uml/alf/org.eclipse.papyrus.uml.alf/src/org/eclipse/papyrus/uml/alf/AlfMapper.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/uml/alf/org.eclipse.papyrus.uml.alf/src/org/eclipse/papyrus/uml/alf/AlfMapper.java b/plugins/uml/alf/org.eclipse.papyrus.uml.alf/src/org/eclipse/papyrus/uml/alf/AlfMapper.java
index 5c3ec87cca3..784262c8bc5 100644
--- a/plugins/uml/alf/org.eclipse.papyrus.uml.alf/src/org/eclipse/papyrus/uml/alf/AlfMapper.java
+++ b/plugins/uml/alf/org.eclipse.papyrus.uml.alf/src/org/eclipse/papyrus/uml/alf/AlfMapper.java
@@ -16,6 +16,7 @@
package org.eclipse.papyrus.uml.alf;
import java.io.IOException;
+import java.io.OutputStreamWriter;
import java.util.Collections;
import java.util.List;
@@ -33,6 +34,7 @@ import org.eclipse.m2m.qvt.oml.ExecutionContextImpl;
import org.eclipse.m2m.qvt.oml.ExecutionDiagnostic;
import org.eclipse.m2m.qvt.oml.ModelExtent;
import org.eclipse.m2m.qvt.oml.TransformationExecutor;
+import org.eclipse.m2m.qvt.oml.util.WriterLog;
import org.eclipse.uml2.uml.NamedElement;
import org.eclipse.uml2.uml.Package;
import org.eclipse.uml2.uml.PackageableElement;
@@ -65,6 +67,7 @@ public class AlfMapper {
this.context = new ExecutionContextImpl();
this.context.setConfigProperty("keepModeling", true);
+ this.context.setLog(new WriterLog(new OutputStreamWriter(System.err)));
this.injector = new AlfStandaloneSetup().createInjectorAndDoEMFRegistration();
}

Back to the top