[Pkg] The Trunk: Morphic-cmm.476.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Nov 17 01:26:48 UTC 2010


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'!



More information about the Packages mailing list