[squeak-dev] The Trunk: Morphic-dtl.225.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Nov 12 02:20:06 UTC 2009


David T. Lewis uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-dtl.225.mcz

==================== Summary ====================

Name: Morphic-dtl.225
Author: dtl
Time: 11 November 2009, 10:16:33 am
UUID: dc79931f-c0ac-42d6-9384-5f17b78269d3
Ancestors: Morphic-dtl.224

Factor Project>>saveState into MVCProject and MorphicProject.

=============== Diff against Morphic-dtl.224 ===============

Item was added:
+ ----- Method: MorphicProject>>saveState (in category 'enter') -----
+ saveState
+ 	"Save the current state in me prior to leaving this project"
+ 
+ 	changeSet := ChangeSet current.
+ 	thumbnail ifNotNil: [thumbnail hibernate].
+ 	world := World.
+ 	world sleep.
+ 	ActiveWorld := ActiveHand := ActiveEvent := nil.
+ 	Sensor flushAllButDandDEvents. "Will be reinstalled by World>>install"
+ 	transcript := Transcript
+ !




More information about the Squeak-dev mailing list