COMP-522 Fall
2004
Shahla Almasri (salmas1@cs.mcgill.ca)
The proposal can be found here.
The report can be found here.
1. |
Python code for the tool | |
2. |
Statechart model | |
3. |
Image of the Statechart model | |
4. |
Circle image | |
5. |
Rectangle image | |
6. |
Triangle image |
1. |
Python code for the tool (GUI controller) | |
2. |
Shape class, which encapsulates all information about a shape on the canvas | |
3. |
Statechart model | |
4. |
Generated .des file | |
5. |
Python code generated from DrawingToolStatechart_mdl.py | |
6. |
Circle image | |
7. |
Rectangle image | |
8. |
Triangle image | |
9. |
Script to run the tool. |
1. |
Python code for the tool (GUI controller) | |
2. |
Global variables shared between classes | |
3. |
Shape class, which encapsulates all information about a shape on the canvas | |
4. |
Statechart model | |
5. |
Generated .des file | |
6. |
Python code generated from DrawingToolStatechart_mdl.py | |
7. |
Button class. It acts like a controller for the Button's statechart. | |
8. |
Statechart model for a button | |
9. |
Generated .des file | |
10. |
Generated Python code | |
11. |
RadioButton class. It acts like a controller for the RadioButton's statechart. | |
12. |
Statechart model for a radio button | |
13. |
Generated .des file | |
14. |
Generated Python code | |
15. |
Circle image | |
16. |
Rectangle image | |
17. |
Triangle image | |
18. |
Script to run the tool. |
In-class presentation: presentation.pdf / presentation.ppt
·
David Harel, “On Visual Formalism”, Communication of the ACM, 1998, Pages
514-530.
http://portal.acm.org/citation.cfm?doid=42411.42414
·
Huining Feng, “DCharts, A Formalism For Modeling and
Simulation Based Design of Reactive Software Systems”, Master Thesis,
http://moncs.cs.mcgill.ca/people/tfeng/thesis/thesis.html