The Trunk: Morphic-ar.249.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Morphic-ar.249.mcz

commits-2
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!