[squeak-dev] The Trunk: 60Deprecated-tfel.3.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Sep 23 14:54:50 UTC 2016


Tim Felgentreff uploaded a new version of 60Deprecated to project The Trunk:
http://source.squeak.org/trunk/60Deprecated-tfel.3.mcz

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

Name: 60Deprecated-tfel.3
Author: tfel
Time: 23 September 2016, 4:54:25.289724 pm
UUID: c54a411d-c089-7442-8413-739b29ca5fb4
Ancestors: 60Deprecated-mt.2

deprecate the old modalWindow property, was only used by eToys code

=============== Diff against 60Deprecated-mt.2 ===============

Item was added:
+ ----- Method: Morph>>becomeModal (in category '*60Deprecated-user-interface') -----
+ becomeModal
+ 	
+ 	self deprecated: 'The global becomeModal is no longer supported, use e.g. a dialog window'.
+ 	"self currentWorld
+ 		ifNotNil: [self currentWorld modalWindow: self]"!

Item was added:
+ ----- Method: PasteUpMorph>>modalWindow: (in category '*60Deprecated-accessing') -----
+ modalWindow: aMorph
+ 
+ 	self deprecated: 'The global becomeModal is no longer supported, use e.g. a dialog window'.
+ 	"(self valueOfProperty: #modalWindow)
+ 		ifNotNil: [:morph | morph doCancel].
+ 	self setProperty: #modalWindow toValue: aMorph.
+ 	aMorph
+ 		ifNotNil: [self
+ 				when: #aboutToLeaveWorld
+ 				send: #removeModalWindow
+ 				to: self]"!

Item was added:
+ ----- Method: PasteUpMorph>>removeModalWindow (in category '*60Deprecated-accessing') -----
+ removeModalWindow
+ 	self deprecated: 'The global becomeModal is no longer supported, use e.g. a dialog window'.
+ 	"self modalWindow: nil"!



More information about the Squeak-dev mailing list