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

commits at source.squeak.org commits at source.squeak.org
Sun Dec 6 22:33:47 UTC 2009


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

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

Name: Morphic-dtl.261
Author: dtl
Time: 6 December 2009, 5:29:56 am
UUID: cb52d767-5b43-45d4-a0a2-4dddf267e287
Ancestors: Morphic-dtl.260

Implement MorphicProject class>>openViewAndEnter: to remove a Morphic dependency from ProjectLoader

=============== Diff against Morphic-dtl.260 ===============

Item was added:
+ ----- Method: MorphicProject class>>openViewAndEnter: (in category 'instance creation') -----
+ openViewAndEnter: morphOrList
+ 	"morphOrList has been reconstituted from a file. Open it in an appropriate
+ 	Morphic world."
+ 
+ 	| contents |
+ 	contents := morphOrList.
+ 	(morphOrList isKindOf: SqueakPage) ifTrue: [
+ 		contents := morphOrList contentsMorph
+ 	].
+ 	(contents isKindOf: PasteUpMorph) ifFalse:
+ 		[^ self inform: 'This is not a PasteUpMorph or
+ exported Project.' translated].
+ 	(self openViewOn: contents) enter
+ !




More information about the Squeak-dev mailing list