Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracuccuru2013-04-25 06:17:24 -0400
committeracuccuru2013-04-25 06:17:24 -0400
commit9d76adb710cc9ead2cd5018a3c72ed75b35a3fab (patch)
tree6940630268614a4fd9e8a114e4232071dfe490b1 /sandbox
parentc845a822f75363c05f199a8d346820b7de97835e (diff)
downloadorg.eclipse.papyrus-9d76adb710cc9ead2cd5018a3c72ed75b35a3fab.tar.gz
org.eclipse.papyrus-9d76adb710cc9ead2cd5018a3c72ed75b35a3fab.tar.xz
org.eclipse.papyrus-9d76adb710cc9ead2cd5018a3c72ed75b35a3fab.zip
401874: [moka] An OpaqueBehaviorExecution shall be implemented for all opaque behaviors defined in the FoundationalModelLibrary
https://bugs.eclipse.org/bugs/show_bug.cgi?id=401874 Applying patch from Ed Seidwitz (for using a specific console in StandardInput/OutputChannel services) on the trunk
Diffstat (limited to 'sandbox')
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/META-INF/MANIFEST.MF3
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/Activator.classbin986 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/StandardLibraryRegistry.classbin8904 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/StandardServicesRegistry.classbin1975 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/And.classbin2905 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Implies.classbin2921 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Not.classbin2852 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Or.classbin2901 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/ToBoolean.classbin2901 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/ToString.classbin2891 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Xor.classbin2895 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Abs.classbin2884 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Add.classbin2887 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Div.classbin2889 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Greater.classbin3034 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/GreaterOrEqual.classbin3056 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Lower.classbin3028 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/LowerOrEqual.classbin3050 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Max.classbin2935 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Min.classbin2935 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Minus.classbin2893 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Mod.classbin2889 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Neg.classbin2839 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Times.classbin2893 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/ToInteger.classbin2899 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/ToString.classbin2889 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/ToUnlimitedNatural.classbin2902 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardInputChannelImpl$ReadLineExecution.classbin3611 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardInputChannelImpl.classbin1473 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl$Write.classbin3031 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl$WriteLineExecution.classbin3084 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl.classbin1610 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/list/ListConcat.classbin2109 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/list/ListGet.classbin2364 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/list/ListSize.classbin2851 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/string/Concat.classbin2811 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/string/Size.classbin2963 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/string/Substring.classbin3170 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Greater.classbin3077 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/GreaterOrEqual.classbin3104 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Lower.classbin3070 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/LowerOrEqual.classbin3098 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Max.classbin2999 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Min.classbin3038 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/ToInteger.classbin2955 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/ToString.classbin2976 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/ToUnlimitedNatural.classbin3233 -> 0 bytes
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/src/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardInputChannelImpl.java6
-rw-r--r--sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/src/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl.java26
49 files changed, 30 insertions, 5 deletions
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/META-INF/MANIFEST.MF b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/META-INF/MANIFEST.MF
index 6a3ba6d6a2e..48adbf80ef8 100644
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/META-INF/MANIFEST.MF
+++ b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/META-INF/MANIFEST.MF
@@ -14,6 +14,7 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.emf;bundle-version="2.6.0",
org.eclipse.papyrus.moka;bundle-version="0.10.0",
org.eclipse.papyrus.infra.core;bundle-version="0.10.0",
- org.eclipse.papyrus.infra.core.log;bundle-version="0.10.0"
+ org.eclipse.papyrus.infra.core.log;bundle-version="0.10.0",
+ org.eclipse.ui.console;bundle-version="3.5.200"
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-ActivationPolicy: lazy
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/Activator.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/Activator.class
deleted file mode 100644
index 430d9635706..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/Activator.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/StandardLibraryRegistry.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/StandardLibraryRegistry.class
deleted file mode 100644
index 288cca140da..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/StandardLibraryRegistry.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/StandardServicesRegistry.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/StandardServicesRegistry.class
deleted file mode 100644
index 1d751ea48bd..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/StandardServicesRegistry.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/And.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/And.class
deleted file mode 100644
index e7e6b9a03b2..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/And.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Implies.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Implies.class
deleted file mode 100644
index 84907f177c8..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Implies.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Not.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Not.class
deleted file mode 100644
index e4bc1ae7940..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Not.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Or.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Or.class
deleted file mode 100644
index 11aa4fd3e82..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Or.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/ToBoolean.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/ToBoolean.class
deleted file mode 100644
index c85012074d7..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/ToBoolean.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/ToString.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/ToString.class
deleted file mode 100644
index dd2f0de4d28..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/ToString.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Xor.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Xor.class
deleted file mode 100644
index 417bf447f7e..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/boolean_/Xor.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Abs.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Abs.class
deleted file mode 100644
index 97bd2b4e373..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Abs.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Add.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Add.class
deleted file mode 100644
index 51e680ce88b..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Add.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Div.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Div.class
deleted file mode 100644
index 03e72a5bf1a..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Div.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Greater.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Greater.class
deleted file mode 100644
index 77cd83da009..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Greater.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/GreaterOrEqual.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/GreaterOrEqual.class
deleted file mode 100644
index 9fc261041ac..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/GreaterOrEqual.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Lower.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Lower.class
deleted file mode 100644
index 753ef4aa681..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Lower.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/LowerOrEqual.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/LowerOrEqual.class
deleted file mode 100644
index cdea62a0d0a..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/LowerOrEqual.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Max.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Max.class
deleted file mode 100644
index 4cedcb80f8d..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Max.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Min.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Min.class
deleted file mode 100644
index 3f39f639b4d..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Min.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Minus.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Minus.class
deleted file mode 100644
index c9f57e3ee39..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Minus.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Mod.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Mod.class
deleted file mode 100644
index 9c2227ebafb..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Mod.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Neg.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Neg.class
deleted file mode 100644
index ce2ebb1da35..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Neg.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Times.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Times.class
deleted file mode 100644
index 4c69b0449e4..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/Times.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/ToInteger.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/ToInteger.class
deleted file mode 100644
index 8c6f5250751..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/ToInteger.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/ToString.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/ToString.class
deleted file mode 100644
index 15a9f1419ab..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/ToString.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/ToUnlimitedNatural.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/ToUnlimitedNatural.class
deleted file mode 100644
index 1d1fc6ce401..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/integer/ToUnlimitedNatural.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardInputChannelImpl$ReadLineExecution.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardInputChannelImpl$ReadLineExecution.class
deleted file mode 100644
index 73f84d2e50e..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardInputChannelImpl$ReadLineExecution.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardInputChannelImpl.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardInputChannelImpl.class
deleted file mode 100644
index 6cebc9921e1..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardInputChannelImpl.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl$Write.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl$Write.class
deleted file mode 100644
index 74baea65035..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl$Write.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl$WriteLineExecution.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl$WriteLineExecution.class
deleted file mode 100644
index 1ff9f352f67..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl$WriteLineExecution.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl.class
deleted file mode 100644
index b25d6414be8..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/list/ListConcat.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/list/ListConcat.class
deleted file mode 100644
index c20f005d150..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/list/ListConcat.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/list/ListGet.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/list/ListGet.class
deleted file mode 100644
index fd8f03c5db8..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/list/ListGet.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/list/ListSize.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/list/ListSize.class
deleted file mode 100644
index ed0d0382b71..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/list/ListSize.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/string/Concat.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/string/Concat.class
deleted file mode 100644
index 14608d1e102..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/string/Concat.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/string/Size.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/string/Size.class
deleted file mode 100644
index 653b83dea00..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/string/Size.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/string/Substring.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/string/Substring.class
deleted file mode 100644
index 12f081a34e8..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/string/Substring.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Greater.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Greater.class
deleted file mode 100644
index 0f1df18e7d6..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Greater.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/GreaterOrEqual.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/GreaterOrEqual.class
deleted file mode 100644
index 1d2d269f45f..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/GreaterOrEqual.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Lower.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Lower.class
deleted file mode 100644
index 2543d00a8da..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Lower.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/LowerOrEqual.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/LowerOrEqual.class
deleted file mode 100644
index 4a534b0be32..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/LowerOrEqual.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Max.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Max.class
deleted file mode 100644
index 6f4c546640c..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Max.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Min.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Min.class
deleted file mode 100644
index 5ed14019aa5..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/Min.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/ToInteger.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/ToInteger.class
deleted file mode 100644
index fb84957d7ed..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/ToInteger.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/ToString.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/ToString.class
deleted file mode 100644
index 70adc891174..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/ToString.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/ToUnlimitedNatural.class b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/ToUnlimitedNatural.class
deleted file mode 100644
index 6ca62cbef8a..00000000000
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/bin/org/eclipse/papyrus/moka/fuml/standardlibrary/library/unlimitednatural/ToUnlimitedNatural.class
+++ /dev/null
Binary files differ
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/src/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardInputChannelImpl.java b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/src/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardInputChannelImpl.java
index 9d1fb711b12..419dc0d7b9a 100644
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/src/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardInputChannelImpl.java
+++ b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/src/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardInputChannelImpl.java
@@ -15,6 +15,7 @@
package org.eclipse.papyrus.moka.fuml.standardlibrary.library.io;
import java.io.BufferedReader;
+import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
@@ -36,10 +37,13 @@ public class StandardInputChannelImpl extends Object_ {
protected static OpaqueBehavior readLineMethod ;
protected static BufferedReader bufferedReader ;
+
+ protected InputStream in = null;
public StandardInputChannelImpl(Class service) {
super() ;
this.types.add(service) ;
+ this.in = StandardOutputChannelImpl.getConsole().getInputStream();
}
@Override
@@ -68,7 +72,7 @@ public class StandardInputChannelImpl extends Object_ {
// This implementation does not produce errorStatus information.
try {
if (bufferedReader == null)
- bufferedReader = new BufferedReader(new InputStreamReader(System.in)) ;
+ bufferedReader = new BufferedReader(new InputStreamReader(in)) ;
String line = bufferedReader.readLine() ;
StringValue result = new StringValue() ;
result.value = "" + line ;
diff --git a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/src/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl.java b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/src/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl.java
index 709dd08c603..12a85c4a651 100644
--- a/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/src/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl.java
+++ b/sandbox/Moka/org.eclipse.papyrus.moka.fuml.standardlibrary/src/org/eclipse/papyrus/moka/fuml/standardlibrary/library/io/StandardOutputChannelImpl.java
@@ -24,6 +24,11 @@ import org.eclipse.papyrus.moka.fuml.Semantics.CommonBehaviors.BasicBehaviors.Op
import org.eclipse.papyrus.moka.fuml.Semantics.CommonBehaviors.BasicBehaviors.ParameterValue;
import org.eclipse.papyrus.moka.fuml.debug.Debug;
import org.eclipse.papyrus.moka.fuml.registry.SystemServicesRegistryUtils;
+import org.eclipse.ui.console.ConsolePlugin;
+import org.eclipse.ui.console.IConsole;
+import org.eclipse.ui.console.IConsoleManager;
+import org.eclipse.ui.console.IOConsole;
+import org.eclipse.ui.console.IOConsoleOutputStream;
import org.eclipse.uml2.uml.Behavior;
import org.eclipse.uml2.uml.Class;
import org.eclipse.uml2.uml.OpaqueBehavior;
@@ -34,9 +39,24 @@ public class StandardOutputChannelImpl extends Object_ {
protected static OpaqueBehavior writeLineMethod ;
protected static OpaqueBehavior writeMethod;
+ protected static final String CONSOLE_NAME = "fUML Console";
+
+ protected static IOConsole console = null;
+ protected IOConsoleOutputStream out = null;
+
+ public static IOConsole getConsole() {
+ if (console == null) {
+ console = new IOConsole(CONSOLE_NAME, null);
+ IConsoleManager conMan = ConsolePlugin.getDefault().getConsoleManager();
+ conMan.addConsoles(new IConsole[]{console});
+ }
+ return console;
+ }
+
public StandardOutputChannelImpl(Class service) {
super() ;
- this.types.add(service) ;
+ this.types.add(service) ;
+ this.out = getConsole().newOutputStream();
}
@Override
@@ -67,7 +87,7 @@ public class StandardOutputChannelImpl extends Object_ {
// Supposed to have only one input argument, corresponding to parameter 'value'
try {
String message = ((StringValue)inputParameters.get(0).values.get(0)).value;
- System.out.println(message);
+ out.write(message + "\n");
// This implementation does not produce errorStatus information.
} catch (Exception e) {
Debug.println("An error occured during the execution of writeLine " + e.getMessage());
@@ -102,7 +122,7 @@ public class StandardOutputChannelImpl extends Object_ {
// Supposed to have only one input argument, corresponding to parameter 'value'
try {
String message = inputParameters.get(0).values.get(0).toString();
- System.out.print(message);
+ out.write(message);
// This implementation does not produce errorStatus information.
} catch (Exception e) {
Debug.println("An error occured during the execution of write " + e.getMessage());

Back to the top