Wiki source code of A SyncChart-Editor based on Yakindu
Version 47.1 by wah on 2012/10/31 13:13
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | = Yakindu SCT = | ||
| 2 | |||
| 3 | YAKINDU Statechart Tools (SCT) is an open source tool for the specification and development of reactive, event-based systems using state machines ([[Yakindu SCT User Guide>>attach:YAKINDU-SCT-UserGuide-1.2.0.pdf]]). | ||
| 4 | |||
| 5 | YAKINDU SCT consists of a graphical tool for editing and provides validation, simulation, and code generators for different target platforms. The tools are provided as Eclipse-plugins and integrate tightly into the IDE ([[Yakindu SCT Website>>url:http://www.itemis.de/itemis-ag/produkte/yakindu-open-source/yakindu-statechart-tools/language=de/43437/produktbeschreibung||shape="rect"]]). | ||
| 6 | |||
| 7 | [[image:attach:Yakindu SCT.png]] | ||
| 8 | |||
| 9 | = Yakindu SCT Editor VS KIELER SyncCharts Editor = | ||
| 10 | |||
| 11 | * [[Comparison of the graphical representation>>doc:Comparison of the graphical representation]] | ||
| 12 | * [[Comparison of the textual description language>>doc:Comparison of the textual description language]] | ||
| 13 | |||
| 14 | = Yakindu SCT module structure = | ||
| 15 | |||
| 16 | (% style="margin-left: 30.0px;" %) | ||
| 17 | [[See Yakindu Wiki>>url:http://svn.codespot.com/a/eclipselabs.org/yakindu/SCT2/trunk/plugins/org.yakindu.sct.doc.user/help/developer/01_Overview/overview.html||shape="rect"]] | ||
| 18 | |||
| 19 | = Customizing Yakindu SCT Editor to SyncCharts = | ||
| 20 | |||
| 21 | Two steps are required to adapt the Yakindu SCT Editor to the SyncCharts syntax: | ||
| 22 | |||
| 23 | * adapting the graphical representation (sgraph + ui) | ||
| 24 | * extending or replacing the textual description language (stext) | ||
| 25 | |||
| 26 | (% style="margin-left: 30.0px;" %) | ||
| 27 | == Adapting the graphical representation == | ||
| 28 | |||
| 29 | (% style="margin-left: 30.0px;" %) | ||
| 30 | (% style="color: rgb(0,0,0);" %)To adapt the graphical representation, several steps are required: | ||
| 31 | |||
| 32 | * | ||
| 33 | *1. adapting the Metamodel for the graphical represenation (% style="color: rgb(0,0,0);" %)of the state machine models(%%) (org.yakindu.sct.model.sgraph)\\ | ||
| 34 | *11. [[Yakindu SCT Metamodel>>attach:Yakindu sgraph.pdf]] | ||
| 35 | *11. [[KIELER SyncCharts Metamodel>>attach:synccharts.pdf]] | ||
| 36 | \\ | ||
| 37 | *1. Figures (org.yakindu.sct.ui.editor.editor.figures) | ||
| 38 | \\ | ||
| 39 | *1. Editparts (org.yakindu.sct.ui.editor.editparts) | ||
| 40 | \\ | ||
| 41 | *1. Propertysheets (org.yakindu.sct.ui.editor.propertysheets) | ||
| 42 | \\ | ||
| 43 | *1. The palette (org.yakindu.sct.ui.editor/plugin.xml) | ||
| 44 | |||
| 45 | (% style="margin-left: 60.0px;" %) | ||
| 46 | **Examples:** | ||
| 47 | |||
| 48 | * [[How to modify Initial and Finial States in Yakindu SCT Editor>>doc:How to modify Initial and Final States in Yakindu SCT Editor]] | ||
| 49 | * [[doc:How to add Transition Types in Yakindu SCT Editor]] | ||
| 50 | |||
| 51 | (% style="margin-left: 30.0px;" %) | ||
| 52 | == Extending or replacing the textual description language == | ||
| 53 | |||
| 54 | * | ||
| 55 | ** (% style="color: rgb(0,0,0);" %)Yakindu: The textual [[description language>>url:http://svn.codespot.com/a/eclipselabs.org/yakindu/SCT2/trunk/plugins/org.yakindu.sct.doc.user/help/user/05_Reference/reference.html#Statechartdescriptionlanguage||shape="rect"]] is used to declare and describe behaviors in the state machine. |