Andreas Raab uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-kb.251.mcz==================== Summary ====================
Name: Morphic-kb.251
Author: kb
Time: 26 November 2009, 8:51:06 am
UUID: 3fc72dbc-e7d0-4d41-b656-61d545a9c192
Ancestors: Morphic-ar.250
fix: TheMainWorldDockingBar picks shows new project subclasses automatically in its New Project menu.
=============== Diff against Morphic-ar.250 ===============
Item was added:
+ ----- Method: TheWorldMainDockingBar>>updateNewProjectSubMenu: (in category 'submenu - projects') -----
+ updateNewProjectSubMenu: menu
+
+ Project allSubclasses do: [ :each |
+ menu addItem: [ :item |
+ item
+ contents: ('New ', each name) translated;
+ help: ('Start a new ', each name) translated;
+ target: self;
+ selector: #newProject:;
+ arguments: { each } ] ]!
Item was changed:
----- Method: TheWorldMainDockingBar>>newProjectMenuItemOn: (in category 'submenu - projects') -----
newProjectMenuItemOn: menu
menu addItem: [ :item |
item
contents: 'New Project' translated;
help: 'Start a new MorphicProject' translated;
icon: MenuIcons smallProjectIcon;
target: self;
selector: #newProject:;
arguments: { MorphicProject };
+ subMenuUpdater: self
+ selector: #updateNewProjectSubMenu: ]!
- addSubMenu: [ :subMenu |
- self newProjectMenuItemsOn: subMenu ] ]!
Item was removed:
- ----- Method: TheWorldMainDockingBar>>newProjectMenuItemsOn: (in category 'submenu - projects') -----
- newProjectMenuItemsOn: menu
-
- Project allSubclasses do: [ :each |
- menu addItem: [ :item |
- item
- contents: ('New ', each name) translated;
- help: ('Start a new ', each name) translated;
- target: self;
- selector: #newProject:;
- arguments: { each } ] ]!