<
From version < 4.1 >
edited by ssm
on 2016/04/18 17:33
To version < 8.1 >
edited by ssm
on 2016/04/21 16:46
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,10 @@
1 -This is a light-weight tutorial for developing additions for SCCharts. It will use Eclipse, EMF, and Xtend and therefore, finishing the corresponding tutorials could prove useful. However, they are no strict requirement for this one.
1 +{{layout}}
2 +{{layout-section ac:type="single"}}
3 +{{layout-cell}}
4 +
2 2  
6 +This is a light-weight tutorial for developing additions for SCCharts in KIELER. It will use Eclipse, EMF, and Xtend and therefore, finishing the corresponding tutorials could prove useful. However, they are not a strict requirement for this tutorial.
7 +
3 3  = Preliminaries =
4 4  
5 5  There's a few things to do before we dive into the tutorial itself. For example, to do Eclipse programming, you will have to get your hands on an Eclipse installation first. Read through the following sections to get ready for the tutorial tasks.
... ... @@ -7,9 +7,32 @@
7 7  == Required Software ==
8 8  
9 9  As you're going to develop for KIELER SCCharts we recommend to use the semantic Oomph setup as described in [[doc:KIELER.Getting Eclipse]] (Oomph Setup). However, you could also install all componentes by yourself. Please consult the other tutorials if you want to do that. You would need to install the Modeling Tools and the Xtext SDK.
15 +{{/layout-cell}}
16 +{{/layout-section}}
10 10  
11 -Additionally, install the** EcoreViz** from the **Ecore Model Visualization** category from the **OpenKieler** update site: [[http:~~/~~/rtsys.informatik.uni-kiel.de/~~~~kieler/updatesite/nightly-openkieler/>>url:http://rtsys.informatik.uni-kiel.de/~~kieler/updatesite/nightly-openkieler/||rel="nofollow" shape="rect"]]
18 +{{layout-section ac:type="three_equal"}}
19 +{{layout-cell}}
20 +Additionally, install the** EcoreViz** from the **Ecore Model Visualization** category from the **OpenKieler** update site: [[http:~~/~~/rtsys.informatik.uni-kiel.de/~~~~kieler/updatesite/nightly-openkieler/>>url:http://rtsys.informatik.uni-kiel.de/~~kieler/updatesite/nightly-openkieler/||rel="nofollow" shape="rect"]]. For this, choose //Install New Software...// in the //Help// tab.
12 12  
22 +Due to the ongoing migration you have to install a workaround for EcoreViz to function. You have to install the KLighD diagram view directly from [[http:~~/~~/rtsys.informatik.uni-kiel.de/~~~~kieler/updatesite/release_pragmatics_2016-02/>>url:http://rtsys.informatik.uni-kiel.de/~~kieler/updatesite/release_pragmatics_2016-02/||shape="rect"]]. Select the features
23 +
24 +* KIELER Lightweight Diagrams - Developer Resources and
25 +* KIELER Lightweight Diagrams Generic Diagram View.
26 +
27 +(This step should be obsolete in the near future.)
28 +{{/layout-cell}}
29 +
30 +{{layout-cell}}
31 +[[image:attach:InstallEcoreViz.png]]
32 +{{/layout-cell}}
33 +
34 +{{layout-cell}}
35 +[[image:attach:InstallKLighDFeatures.png]]
36 +{{/layout-cell}}
37 +{{/layout-section}}
38 +
39 +{{layout-section ac:type="single"}}
40 +{{layout-cell}}
13 13  == Recommended Tutorials ==
14 14  
15 15  We recommend that you have completed the following tutorials before diving into this one (or at least sweep over them). However, this is not a strict requirement.
... ... @@ -31,7 +31,7 @@
31 31  
32 32  == Finding Documentation ==
33 33  
34 -You can find links additional documentation to the aforementioned topics in the corresponding tutorials. If you get stuck with a particular topic, please consult that tutorial. For SCCharts, you should read the SCCharts confluence page in our wiki: [[doc:KIELER.SCCharts]]
62 +You can find additional documentation to the aforementioned topics in the corresponding tutorials. If you get stuck with a particular topic, please consult that tutorial. For SCCharts, you should read the SCCharts confluence page in our wiki: [[doc:KIELER.SCCharts]]
35 35  
36 36  As usual, documentation often gets obsolete or wrong if not maintained regularly, so please, if you find missing, misleading, or outdated information, please let us know.
37 37  
... ... @@ -48,7 +48,7 @@
48 48  
49 49  = The SCCharts Metamodel =
50 50  
51 -Navigate to the models folder of the plugin {{code language="none"}}de.cau.cs.kieler.sccharts{{/code}}. Here, open the {{code language="none"}}sccharts.ecore{{/code}} and right-click on the {{code language="none"}}sccharts.ecore{{/code}} file and select //Visualize Ecore Model//. Since you also installed **EcoreViz** from the OpenKieler Suite, you should now see a graphical representation of the SCCharts metamodel. Every SCChart will be a model of this metamodel.
79 +Navigate to the {{code language="none"}}models{{/code}} folder of the plugin {{code language="none"}}de.cau.cs.kieler.sccharts{{/code}}. Here, open the {{code language="none"}}sccharts.ecore{{/code}} and right-click on the {{code language="none"}}sccharts.ecore{{/code}} file and select //Visualize Ecore Model//. Since you also installed **EcoreViz** from the OpenKieler Suite, you should now see a graphical representation of the SCCharts metamodel. Every SCChart will be a model of this metamodel.
52 52  
53 53  IMAGE
54 54  
... ... @@ -56,12 +56,20 @@
56 56  
57 57  ==== Model Task ====
58 58  
59 -1. (% style="line-height: 1.42857;" %)Open the wiki page that explains the [[doc:KIELER.Textual SCCharts Language SCT]].
60 -1. (% style="line-height: 1.4286; line-height: 1.4286" %)Search the (%%)//SCChart, Initial State, State, Transition and Immediate Transition //example and ...
61 -11. write down (on paper etc) what the model of that SCChart looks like.
62 -11. The user now marks C as final. What has to be changed in the model? What semantic problem do you see?
63 -1. (% style="line-height: 1.42857;" %)Now, navigate to the //Super State: Strong Abort Transition //example. Write down (on paper) what the model of that SCCharts looks like.
64 -1. And finally a more sophisticated model: Write down the model of ABO (from [[doc:KIELER.Examples]]).
87 +1. (% style="line-height: 20.0px;" %)Answer the following questions
88 +11. (% style="line-height: 20.0px;" %)Name the class of the root element of an SCChart
89 +11. (% style="line-height: 20.0px;" %)How do you describe a superstate in the model?
90 +11. (% style="line-height: 20.0px;" %)What is a valued object?
91 +11. (% style="line-height: 20.0px;" %)How do you get the type of an interface variable?
92 +11. Outline the relationship between states, regions, transitions, and valued objects
93 +11. (% style="line-height: 20.0px;" %)What other metamodels are needed for the SCCharts metamodel and write down which one is needed for what?
94 +1. (% style="line-height: 20.0px;" %)Write down (on paper, text editor, etc) how the following SCChart models look like
95 +11. (% style="line-height: 1.42857;" %)Open the wiki page that explains the [[doc:KIELER.Textual SCCharts Language SCT]].
96 +11. (% style="line-height: 1.4286; line-height: 1.4286" %)Search the (%%)//SCChart, Initial State, State, Transition and Immediate Transition //example and ...
97 +111. write down (on paper or text editor, etc) how the model of that SCChart looks like.
98 +111. The user now marks C as final. What has to be changed in the model? What semantic problem do you see?
99 +11. (% style="line-height: 1.42857;" %)Now, navigate to the //Super State: Strong Abort Transition //example. Write down (on paper) how the model of that SCCharts looks like.
100 +11. And finally a more sophisticated model: Write down the model of ABO (from [[doc:KIELER.Examples]]).
65 65  
66 66  = Creating SCCharts Models Programmatically =
67 67  
... ... @@ -396,3 +396,6 @@
396 396  Congratulations! You finished the SCCharts Development Tutorial. Ask your supervisor for further instructions!
397 397  
398 398  
435 +{{/layout-cell}}
436 +{{/layout-section}}
437 +{{/layout}}
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -16810255
1 +16810299
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/TUT/pages/16810255/SCCharts Development
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/TUT/pages/16810299/SCCharts Development