[squeak-dev] The Trunk: Morphic-dtl.787.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Mar 29 21:05:24 UTC 2015


David T. Lewis uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-dtl.787.mcz

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

Name: Morphic-dtl.787
Author: dtl
Time: 29 March 2015, 5:04:13.048 pm
UUID: 432e13de-c7e6-4d70-83ce-2992da504a5b
Ancestors: Morphic-topa.786

UserDialogBoxMorph constructor for UIManager access

=============== Diff against Morphic-topa.786 ===============

Item was changed:
  ----- Method: UserDialogBoxMorph class>>confirm:orCancel:at: (in category 'utilities') -----
  confirm: aString orCancel: cancelBlock at: aPointOrNil
+ 	^self
+ 		confirm: aString
+ 		orCancel: cancelBlock
+ 		title: 'Please confirm:'
+ 		at: aPointOrNil!
- 	
- 	^(self new
- 		title: 'Please confirm:';
- 		label: aString;
- 		addSelectedButton: '       Yes       ' translated value: true;
- 		addButton: '        No        ' translated  value: false;
- 		addCancelButton: '     Cancel     ' translated  value: nil;
- 		runModalIn: ActiveWorld forHand: ActiveHand at: aPointOrNil)
- 			ifNil: [ cancelBlock value ]!

Item was added:
+ ----- Method: UserDialogBoxMorph class>>confirm:orCancel:title:at: (in category 'utilities') -----
+ confirm: aString orCancel: cancelBlock title: titleString at: aPointOrNil
+ 	
+ 	^(self new
+ 		title: titleString;
+ 		label: aString;
+ 		addSelectedButton: '       Yes       ' translated value: true;
+ 		addButton: '        No        ' translated  value: false;
+ 		addCancelButton: '     Cancel     ' translated  value: nil;
+ 		runModalIn: ActiveWorld forHand: ActiveHand at: aPointOrNil)
+ 			ifNil: [ cancelBlock value ]!



More information about the Squeak-dev mailing list