10 UMLState 790 570 120 40 make ListCreated halign=left UMLState 790 610 120 40 make ListDeleted halign=left UMLState 790 720 120 40 doCreate halign=left style=wordwrap UMLState 540 380 120 50 read StateFile bg=yellow halign=left style=wordwrap UMLState 790 650 120 40 make ListModified halign=left UMLState 790 480 120 40 readState bg=green halign=left style=wordwrap UMLState 790 320 120 30 START bg=gray style=wordwrap UMLState 790 880 120 50 write StateFile bg=yellow halign=left style=wordwrap UMLState 790 760 120 40 doDelete halign=left style=wordwrap UMLState 790 800 120 40 doModify halign=left style=wordwrap UMLSpecialState 580 480 40 40 type=decision Relation 590 420 30 80 lt=<- 10.0;60.0;10.0;10.0 Relation 590 510 220 410 lt=<- 200.0;390.0;10.0;390.0;10.0;10.0 Relation 610 480 200 40 lt=<- 180.0;20.0;10.0;20.0 Relation 900 320 110 690 lt=<- 10.0;10.0;90.0;10.0;90.0;670.0;10.0;670.0 Relation 840 830 30 70 lt=<- 10.0;50.0;10.0;10.0 UMLState 790 970 120 50 Sleep style=wordwrap Relation 840 920 30 70 lt=<- 10.0;50.0;10.0;10.0 Relation 650 390 200 30 lt=<- 10.0;10.0;180.0;10.0 UMLSpecialState 830 380 40 40 type=decision Text 600 550 160 30 [No State File] Relation 840 410 30 90 lt=<- 10.0;70.0;10.0;10.0 Text 860 420 110 30 [n-th loop] Relation 840 340 30 60 lt=<- 10.0;40.0;10.0;10.0 Text 690 370 130 30 [1-st loop] Text 610 470 190 30 [State File exists] Relation 840 680 30 60 lt=<- 10.0;40.0;10.0;10.0 Relation 840 510 30 80 lt=<- 10.0;60.0;10.0;10.0 UMLState 900 1090 140 50 addDirectory halign=left style=wordwrap bg=#B39DDB UMLSpecialState 830 1090 40 40 type=decision Relation 840 1010 30 100 lt=<- 10.0;80.0;10.0;10.0 Relation 860 1090 60 40 lt=<- 40.0;20.0;10.0;20.0 Relation 840 270 270 840 lt=<- 10.0;50.0;10.0;20.0;250.0;20.0;250.0;820.0 Relation 840 1120 80 70 lt=<- 60.0;50.0;10.0;50.0;10.0;10.0 UMLState 900 1150 140 50 removeDirectory halign=left style=wordwrap bg=#B39DDB Relation 1030 1090 60 40 lt=<- 40.0;20.0;10.0;20.0 UMLSpecialState 1070 1090 40 40 type=decision Relation 1030 1120 80 70 lt=<- 60.0;10.0;60.0;50.0;10.0;50.0 UMLState 890 480 20 20 bg=green halign=left style=wordwrap UMLState 640 380 20 20 bg=yellow halign=left style=wordwrap UMLState 890 880 20 20 bg=yellow halign=left style=wordwrap Text 900 1060 160 30 [User Input] UMLState 890 570 20 20 halign=left UMLState 470 260 660 780 *Logic-Thread* halign=left valign=top layer=-1 UMLState 890 610 20 20 halign=left UMLState 890 650 20 20 halign=left UMLState 470 1040 660 180 *UI-Thread* valign=top halign=left layer=-1 UMLNote 680 730 90 100 Compare the Lists of the different instances UMLNote 540 320 90 50 1 per instance Relation 620 330 50 80 lt=. 10.0;10.0;30.0;10.0;30.0;60.0 Relation 760 730 50 50 lt=. 30.0;10.0;10.0;30.0 Relation 760 770 50 30 lt=. 30.0;10.0;10.0;10.0 Relation 760 790 50 50 lt=. 30.0;30.0;10.0;10.0