فهرست منبع

Documentation changes merged.

Rainer Klute 9 سال پیش
والد
کامیت
c72c68df49
15فایلهای تغییر یافته به همراه359 افزوده شده و 148 حذف شده
  1. 6 6
      plugins/org.yakindu.sct.doc.user/help/01_Overview/overview.textile
  2. 244 124
      plugins/org.yakindu.sct.doc.user/help/02_Getting_started/getting_started.textile
  3. BIN
      plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_080_editing_editor.png
  4. 89 0
      plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_080_editing_editor.svg
  5. BIN
      plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_090_editing_interfaces.png
  6. BIN
      plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_200_generation_create_generator_model.png
  7. BIN
      plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_210_generation_new_sgen_model_1.png
  8. BIN
      plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_220_generation_new_sgen_model_2.png
  9. BIN
      plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_230_generation_new_sgen_model_3.png
  10. BIN
      plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_240_generation_timer_service.png
  11. BIN
      plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_250_generation_use_as_source_folder.png
  12. BIN
      plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_300_java_integration_create_new_class.png
  13. BIN
      plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/ctrlspace.png
  14. 6 6
      plugins/org.yakindu.sct.doc.user/help/03_Tasks/tasks.textile
  15. 14 12
      plugins/org.yakindu.sct.doc.user/help/04_Reference/reference.textile

+ 6 - 6
plugins/org.yakindu.sct.doc.user/help/01_Overview/overview.textile

@@ -1,6 +1,6 @@
 h1. Overview
 
-h2(#WhatareYAKINDUStatechartTools2). What are YAKINDU Statechart Tools 2?
+h2(#WhatareYAKINDUStatechartTools). What are YAKINDU Statechart Tools?
 
 The statechart tools are a central part of YAKINDU: the modular toolkit for model-driven development of embedded systems. It is based on the open-source development platform Eclipse. YAKINDU Statechart Tools provide the following tools to deal with state machine diagrams:
 
@@ -15,13 +15,13 @@ The following graph shows these features and their relation to each other:
 !images/YAKINDU_features.png! 
 
 
-h2(#WhoisbehindYAKINDUStatechartTools2). Who is behind YAKINDU Statechart Tools 2?
+h2(#WhoisbehindYAKINDUStatechartTools). Who is behind YAKINDU Statechart Tools?
 
-The main part of YAKINDU SCT 2 is an open-source project ("http://www.yakindu.org/":http://www.yakindu.org/ ). Most developers work for itemis, a well-known consulting company specialized on model-based development.
+The main part of YAKINDU Statechart Tools is an open-source project ("http://www.yakindu.org/":http://www.yakindu.org/ ). Most developers work for itemis, a well-known consulting company specialized on model-based development.
 
-You may ask: Where does the money for open-source development come from? Well, we are providing professional services around Yakindu, be it training or on-site consulting, be it development of prototypes or implementation of full-blown IDEs for programming languages, you name it. We do not only know the framework very well but we are also experts in programming and domain-specific language design. If you need an advice get in contact with us ("http://www.yakindu.de/":http://www.yakindu.de/ ). 
+You may ask: Where does the money for open-source development come from? Well, we are providing professional services around YAKINDU, be it training or on-site consulting, be it development of prototypes or implementation of full-blown IDEs for programming languages, you name it. We do not only know the framework very well but we are also experts in programming and domain-specific language design. If you need an advice get in contact with us ("http://www.yakindu.de/":http://www.yakindu.de/ ). 
 
 
-h2(#WhoisusingtheYAKINDUStatechartTools2). Who is using YAKINDU Statechart Tools 2?
+h2(#WhoisusingtheYAKINDUStatechartTools). Who is using YAKINDU Statechart Tools?
 
-Initially the YAKINDU SCT 2 were designed for the embedded systems industry: automotive, system controls, vending machines etc. ut it brings benefit to everyone who needs to design, simulate and develop behavior. People can use the YAKINDU SCT 2 to generate Java, C, or C++.
+Initially YAKINDU Statechart Tools were designed for the embedded systems industry: automotive, system controls, vending machines etc. ut it brings benefit to everyone who needs to design, simulate and develop behavior. People can use YAKINDU Statechart Tools to generate Java, C, or C++.

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 244 - 124
plugins/org.yakindu.sct.doc.user/help/02_Getting_started/getting_started.textile


BIN
plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_080_editing_editor.png


+ 89 - 0
plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_080_editing_editor.svg

@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   width="1026"
+   height="859"
+   id="svg2"
+   version="1.1"
+   inkscape:version="0.48.5 r10040"
+   sodipodi:docname="callhandling_080_editing_editor.svg"
+   inkscape:export-filename="/data/home/klute/itemis/yakindu_statechart_tools/statecharts/plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_080_editing_editor.png"
+   inkscape:export-xdpi="90"
+   inkscape:export-ydpi="90">
+  <defs
+     id="defs4">
+    <filter
+       inkscape:collect="always"
+       id="filter3928"
+       color-interpolation-filters="sRGB">
+      <feGaussianBlur
+         inkscape:collect="always"
+         stdDeviation="0.53259707"
+         id="feGaussianBlur3930" />
+    </filter>
+  </defs>
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="2.9104461"
+     inkscape:cx="580.54118"
+     inkscape:cy="196.4354"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:window-width="1585"
+     inkscape:window-height="1056"
+     inkscape:window-x="464"
+     inkscape:window-y="413"
+     inkscape:window-maximized="0" />
+  <metadata
+     id="metadata7">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Ebene 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(1321.5714,5.709259)">
+    <image
+       y="-5.709259"
+       x="-1321.5714"
+       id="image3125"
+       xlink:href="file:///home/klute/itemis/yakindu_statechart_tools/statecharts/plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_070_create_model_completed.png"
+       height="859"
+       width="1026" />
+    <rect
+       style="color:black;fill:none;stroke:red;stroke-width:10;stroke-linejoin:round;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker:none;visibility:visible;display:inline;overflow:visible;filter:url(#filter3928);enable-background:accumulate"
+       id="rect3128"
+       width="548.57141"
+       height="305.71429"
+       x="-1089.7764"
+       y="152.72177"
+       transform="matrix(1.3259737,-0.00141724,0,1.6366257,289.49827,-101.65367)" />
+  </g>
+</svg>

BIN
plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_090_editing_interfaces.png


BIN
plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_200_generation_create_generator_model.png


BIN
plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_210_generation_new_sgen_model_1.png


BIN
plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_220_generation_new_sgen_model_2.png


BIN
plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_230_generation_new_sgen_model_3.png


BIN
plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_240_generation_timer_service.png


BIN
plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_250_generation_use_as_source_folder.png


BIN
plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/callhandling_300_java_integration_create_new_class.png


BIN
plugins/org.yakindu.sct.doc.user/help/02_Getting_started/images/ctrlspace.png


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 6 - 6
plugins/org.yakindu.sct.doc.user/help/03_Tasks/tasks.textile


+ 14 - 12
plugins/org.yakindu.sct.doc.user/help/04_Reference/reference.textile

@@ -1,4 +1,6 @@
-h1(#YAKINDUSCT2Reference). SCT Reference
+h1(#YAKINDUStatechartToolsReference). YAKINDU Statechart Tools Reference
+
+{toc}
 
 h2. Statechart elements
 
@@ -473,7 +475,7 @@ h2. SGen generator features
 
 All generators can be customized by a generator model. This is a textual model in a file, specifying generator features, i.e. the outlet path. The following screenshot shows an sample configuration for the Java code generator. 
 
-To get started with the generator model, Yakindu SCT includes a wizard that creates a basic configuration file with default values.
+To get started with the generator model, YAKINDU Statechart Tools includes a wizard that creates a basic configuration file with default values.
 
 !images/sGenEditor.png!
 
@@ -747,14 +749,14 @@ p. ==<!-- End sgen_feature_template -->==
 
 h2(#APISecification). API specifications of the generated code
 
-The explanations below are using the TrafficLight sample state machine to describe the API specifications of the code generated by the Yakindu C and Java code generators. The image below is showing the statechart. It models a pedestrian crossing with push-button operated traffic lights ("pelican crossing").
+The explanations below are using the _TrafficLight_ sample state machine to describe the API specifications of the code generated by the YAKINDU C and Java code generators. The image below is showing the statechart. It models a pedestrian crossing with push-button operated traffic lights ("pelican crossing").
 
 !(img-rounded shadowed#SpecJava)images/TrafficLight.png!
 
 
 h3(#JavaSpec). Specifications of Java code
 
-You can checkout the Java sample project _"org.yakindusct.examples.trafficlight":https://github.com/Yakindu/statecharts/tree/master/examples/org.yakindu.sct.examples.trafficlight_ from the "Yakindu Statechart Tools GitHub repository":https://github.com/Yakindu/statecharts. The Java example contains statechart, SGen model, graphical widgets, and some glue code to connect the generated code with the widgets. The graphical widgets are based on SWT.
+You can checkout the Java sample project _"org.yakindusct.examples.trafficlight":https://github.com/Yakindu/statecharts/tree/master/examples/org.yakindu.sct.examples.trafficlight_ from the "YAKINDU Statechart Tools GitHub repository":https://github.com/Yakindu/statecharts. The Java example contains statechart, SGen model, graphical widgets, and some glue code to connect the generated code with the widgets. The graphical widgets are based on SWT.
 
 To execute the Java example, run the file _CrossingDemoCycleBased.java_ as "Java Application" from the Eclipse _Run As_ context menu.
 
@@ -1077,7 +1079,7 @@ h4(#JavaInterVar). Interfaces, Variable and Event access
 
 ==<!-- FIXME: It should be made clear what a statechart interface is, in contrast to e. g. am interface in a programming language. -->==
 
-In a Yakindu statechart, variables and events are contained in *interfaces*. There can be a single default, unnamed interface plus zero or more named interfaces. In the generated Java code, these interfaces are defined as internal Java interfaces inside of an interface which has the same name as the state machine. Let's have a look at the following sample statechart interface declaration:
+In a YAKINDU statechart, variables and events are contained in *interfaces*. There can be a single default, unnamed interface plus zero or more named interfaces. In the generated Java code, these interfaces are defined as internal Java interfaces inside of an interface which has the same name as the state machine. Let's have a look at the following sample statechart interface declaration:
 
 bc(prettyprint).. 
 interface:
@@ -1201,7 +1203,7 @@ p. An additional interface @SCInterfaceListener@ is generated. This interface ha
 
 h4(#JavaOperationCallbacks). Operation callbacks
 
-Yakindu Statechart Tools support client code operations that can be used by a state machine and are executed as as actions. These operations have to be implemented in order to make a statechart executable. The figure below shows a sample statechart using an operation:
+YAKINDU Statechart Tools support client code operations that can be used by a state machine and are executed as as actions. These operations have to be implemented in order to make a statechart executable. The figure below shows a sample statechart using an operation:
 
 !images/OperationExample.png!
 
@@ -1325,7 +1327,7 @@ p. If the UI thread has been terminated by the user, the state machine will be s
 
 h3(#SpecC). Specifications of C code
 
-You can checkout the C sample project _"org.yakindu.sct.examples.c.trafficlight":https://github.com/Yakindu/statecharts/tree/master/examples/org.yakindu.sct.examples.c.trafficlight_ from the "Yakindu Statechart Tools GitHub repository":https://github.com/Yakindu/statecharts. The C example contains statechart, SGen model, graphical widgets, and some glue code to connect the generated code with the widgets. The graphical widgets are based on Qt.
+You can checkout the C sample project _"org.yakindu.sct.examples.c.trafficlight":https://github.com/Yakindu/statecharts/tree/master/examples/org.yakindu.sct.examples.c.trafficlight_ from the "YAKINDU Statechart Tools GitHub repository":https://github.com/Yakindu/statecharts. The C example contains statechart, SGen model, graphical widgets, and some glue code to connect the generated code with the widgets. The graphical widgets are based on Qt.
 
 To execute the C example, run the file _org_yakindu_sct_examples_c_trafficlight_ as _Local C/C++ application_ from the Eclipse _Run As_ context menu.
 
@@ -1363,7 +1365,7 @@ typedef void*         sc_eventid;
 #define bool_false false
 
 #endif /* SC_TYPES_H_ */
-p. The header file contains some basic definitions for C++ compiler compatibility and typedefs to map the Yakindu statechart types to C types. The next header file is named after the statechart. In case of the traffic light example it is called _TrafficLightWaiting.h_:
+p. The header file contains some basic definitions for C++ compiler compatibility and typedefs to map the YAKINDU statechart types to C types. The next header file is named after the statechart. In case of the traffic light example it is called _TrafficLightWaiting.h_:
 
 bc(prettyprint).. 
 #ifndef TRAFFICLIGHTWAITING_H_
@@ -1610,7 +1612,7 @@ You can conclude that in order to process the time events raised by the timing s
 
 h4(#COperationCallbacks). Operation callbacks
 
-Yakindu Statechart Tools support client code operations that can be used by a state machine and are executed as as actions. These operations have to be implemented in order to make a statechart executable. The figure below shows a sample statechart using an operation:
+YAKINDU Statechart Tools support client code operations that can be used by a state machine and are executed as as actions. These operations have to be implemented in order to make a statechart executable. The figure below shows a sample statechart using an operation:
 
 !images/OperationExample.png!
 
@@ -1731,7 +1733,7 @@ org_yakindu_sct_examples_c_trafficlight::~org_yakindu_sct_examples_c_trafficligh
 }
 h3(#CppSpec). Specifications of C++ code
 
-You can checkout the C++ sample project _"QtTrafficLightCpp":http://svn.codespot.com/a/eclipselabs.org/yakindu/SCT2/trunk/examples_ from the "Yakindu Google Code repository":http://svn.codespot.com/a/eclipselabs.org/yakindu/SCT2/trunk. The C++ example contains statechart, SGen model, graphical widgets, and some glue code to connect the generated code with the widgets. The graphical widgets are based on Qt.
+You can checkout the C++ sample project _"QtTrafficLightCpp":http://svn.codespot.com/a/eclipselabs.org/yakindu/SCT2/trunk/examples_ from the "YAKINDU Google Code repository":http://svn.codespot.com/a/eclipselabs.org/yakindu/SCT2/trunk. The C++ example contains statechart, SGen model, graphical widgets, and some glue code to connect the generated code with the widgets. The graphical widgets are based on Qt.
 
 ==<!-- FIXME: C: To execute the C example, run the file _org_yakindu_sct_examples_c_trafficlight_ as "Local C/C++ application" from the Eclipse _Run As_ context menu. -->==
 
@@ -1919,7 +1921,7 @@ h4(#CppInterVar). Interfaces, Variable and Event access
 
 ==<!-- FIXME: It should be made clear what a statechart interface is, in contrast to e. g. am interface in a programming language. -->==
 
-In a Yakindu statechart, variables and events are contained in *interfaces*. There can be a single default, unnamed interface plus zero or more named interfaces. In the generated C++ code, these interfaces are defined as internal subclasses inside of the main state machine class. Let's have a look at the following sample statechart interface declaration:
+In a YAKINDU statechart, variables and events are contained in *interfaces*. There can be a single default, unnamed interface plus zero or more named interfaces. In the generated C++ code, these interfaces are defined as internal subclasses inside of the main state machine class. Let's have a look at the following sample statechart interface declaration:
 
 bc(prettyprint).. 
 interface:
@@ -1992,7 +1994,7 @@ The value of an event can be accessed only if the event has been processed in a
 
 h4(#CppOperationCallbacks). Operation callbacks
 
-Yakindu Statechart Tools support client code operations that can be used by a state machine and are executed as as actions. These operations have to be implemented in order to make a statechart executable. The figure below shows a sample statechart using an operation:
+YAKINDU Statechart Tools support client code operations that can be used by a state machine and are executed as as actions. These operations have to be implemented in order to make a statechart executable. The figure below shows a sample statechart using an operation:
 
 !images/OperationExample.png!