Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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 no not a strict requirement for this onetutorial

Preliminaries

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.

...

Finding Documentation

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: SCCharts

...

Try to understand most parts of the metamodel. You don't have to understand every detail but you should get the idea.

Model Task

  1. Open the wiki page that explains the Textual SCCharts Language SCT.
  2. Search the SCChart, Initial State, State, Transition and Immediate Transition example and ...write down (on paper etc) what Answer the following questions
    1. Name the class of the root element of an SCChart
    2. How do you describe a superstate in the model?
    3. What is a valued object?
    4. How do you get the type of an interface variable?
    5. Outline the relationship between states, regions, transitions, and valued objects
    6. What other metamodels are needed for the SCCharts metamodel and write down which one is needed for what?
  3. Write down (on paper, text editor, etc) how the following SCChart models look like
    1. Open the wiki page that explains the Textual SCCharts Language SCT.
    2. Search the SCChart, Initial State, State, Transition and Immediate Transition example and ...
      1. write down (on paper or text editor, etc) how the model of that SCChart looks like.
      2. The user now marks C as final. What has to be changed in the model? What semantic problem do you see?
    3. Now, navigate to the Super State: Strong Abort Transition example. Write down (on paper)
    what
    1. how the model of that SCCharts looks like.
    2. And finally a more sophisticated model: Write down the model of ABO (from Examples).

Creating SCCharts Models Programmatically 

...