[squeak-dev] The Trunk: Morphic-ar.249.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Nov 26 03:51:48 UTC 2009


Andreas Raab uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ar.249.mcz

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

Name: Morphic-ar.249
Author: ar
Time: 25 November 2009, 7:50:55 am
UUID: 3dd4fb8b-67b3-694b-96cc-524e4e4e3e4f
Ancestors: Morphic-dtl.248

Allow project classes to return nil if they can't be created successfully. In addition, once a new project was created, enter it automatically.

=============== Diff against Morphic-dtl.248 ===============

Item was changed:
  ----- Method: TheWorldMainDockingBar>>newProject: (in category 'menu actions') -----
  newProject: projectClass
+ 	"Create a new project of the given type"
+ 	| newProject |
+ 	"Allow the project to return nil from #new to indicate that it was canceled."
+ 	newProject := projectClass new ifNil:[^self].
+ 	ProjectViewMorph openOn: newProject.
+ 	newProject enter.!
- 
- 	 ProjectViewMorph openOn: projectClass new!




More information about the Squeak-dev mailing list