The Trunk: Morphic-cmm.476.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-cmm.476.mcz

commits-2
Chris Muller uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-cmm.476.mcz

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

Name: Morphic-cmm.476
Author: cmm
Time: 16 November 2010, 7:25:25.152 pm
UUID: e91cb557-b7b2-4da2-ac29-f80705c28630
Ancestors: Morphic-ul.475

Allow TheWorldMainDockingBar's instance to be replaced with an alternate.

Create a subclass of TheWorldMainDockingBar, override #menusOn:, etc., then:

        TheWorldMainDockingBar instance: MyDockingBar new

=============== Diff against Morphic-ul.475 ===============

Item was changed:
+ ----- Method: TheWorldMainDockingBar class>>instance (in category 'access') -----
- ----- Method: TheWorldMainDockingBar class>>instance (in category 'instance creation') -----
  instance
  "Answer the receiver's instance"
+ ^ Instance ifNil: [ Instance := self new ]!
- ^ Instance
- ifNil: [Instance := super new]!

Item was added:
+ ----- Method: TheWorldMainDockingBar class>>instance: (in category 'access') -----
+ instance: aTheWorldMainDockingBar
+ Instance := aTheWorldMainDockingBar.
+ self updateInstances!

Item was changed:
+ ----- Method: TheWorldMainDockingBar class>>localeChanged (in category 'events') -----
- ----- Method: TheWorldMainDockingBar class>>localeChanged (in category 'as yet unclassified') -----
  localeChanged
  self updateInstances!

Item was removed:
- ----- Method: TheWorldMainDockingBar class>>new (in category 'instance creation') -----
- new
- "Singleton, use #instance"
- ^ self error: 'Use #instance'!