From d9c3def2f4b1ef7f62897538ef22df30f2255a0d Mon Sep 17 00:00:00 2001 From: Ansgar Radermacher Date: Wed, 20 Nov 2013 11:37:14 +0100 Subject: - Added statemachine to sample model for CDT integration. Context: bug 399864 [CDT/StateMachine] Papyrus shall enable to see code on transitions. --- .../model/TestCDTintegration.di | 12 ++ .../model/TestCDTintegration.notation | 177 ++++++++++++++++++++- .../model/TestCDTintegration.uml | 54 +++++-- 3 files changed, 227 insertions(+), 16 deletions(-) (limited to 'extraplugins') diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.di b/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.di index 5487592d61d..62c94133483 100644 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.di +++ b/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.di @@ -10,6 +10,12 @@ + + + + + + @@ -18,11 +24,17 @@ + + + + + + diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.notation b/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.notation index 1843e346db6..7d501409db1 100644 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.notation +++ b/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.notation @@ -1,5 +1,5 @@ - + @@ -43,7 +43,7 @@ - + @@ -102,13 +102,184 @@ - + + + + +
+ + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + +
+ + + + + + + + + + + + + + +
+ + +
+ + +
+ + + + + + + +
+ + +
+ + +
+ + +
+ + + + +
+ + +
+ + +
+ + + + + + + + + + + + + + + + +
+ + +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.uml b/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.uml index c93b1c60c02..e8f24619500 100644 --- a/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.uml +++ b/extraplugins/codegen/org.eclipse.papyrus.cpp.test/model/TestCDTintegration.uml @@ -1,12 +1,15 @@ + + This class contains a state machine + - + @@ -43,13 +46,38 @@ - - - - + + + + + + C/C++ + // this effect is a C++ +// opaque behavior with several lines + + + + + + + + + C/C++ + // Aber hier geht's, oder? + + + + C/C++ + // this effect is a C++ np +// opaque behavior with several lines + + + + + - + C/C++ @@ -57,7 +85,7 @@ cout << "value: " << arg; - + C/C++ @@ -68,15 +96,15 @@ args[0] = 2; - + - This is a test comment for operation 2 + - + @@ -116,7 +144,7 @@ args[0] = 2; - - - + + + -- cgit v1.2.3