[squeak-dev] The Trunk: ToolBuilder-Kernel-dtl.71.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Mar 29 21:09:06 UTC 2015


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

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

Name: ToolBuilder-Kernel-dtl.71
Author: dtl
Time: 29 March 2015, 5:09:02.348 pm
UUID: 367a75ee-64d0-4132-b36e-3e1be1e0b2e7
Ancestors: ToolBuilder-Kernel-mt.70

Allow the UIManager to specify titles for confirm dialogs. In Morphic, this is the text of the title bar. In MVC, it is a line of text added to the top of the dialog prompt.

#confirm:title replaces #confirm:label: which was defined previously in UIManager, but not implemented for Morphic or MVC. #title is consistent with other UIManager method naming and matches the implementation in UserDialogBoxMorph.

=============== Diff against ToolBuilder-Kernel-mt.70 ===============

Item was added:
+ ----- Method: UIManager>>confirm:orCancel:title: (in category 'ui requests') -----
+ confirm: aString orCancel: cancelBlock title: titleString
+ 	"Put up a yes/no/cancel menu with caption aString, and titleString to label the dialog.
+ 	Answer true if  the response is yes, false if no. If cancel is chosen, evaluate cancelBlock.
+ 	This is a modal question--the user must respond yes or no."
+ 	^self subclassResponsibility!

Item was added:
+ ----- Method: UIManager>>confirm:title: (in category 'ui requests') -----
+ confirm: queryString title: titleString
+ 	"Put up a yes/no menu with caption queryString, and titleString to label the dialog.
+ 	Answer true if the response is yes, false if no. This is a modal question--the user
+ 	must respond yes or no."
+ 	^self subclassResponsibility!

Item was added:
+ ----- Method: UIManager>>confirm:title:trueChoice:falseChoice: (in category 'ui requests') -----
+ confirm: queryString title: titleString trueChoice: trueChoice falseChoice: falseChoice
+ 	"Put up a yes/no menu with caption queryString, and titleString to label the dialog.
+ 	The actual wording for the two choices will be as provided in the trueChoice and
+ 	falseChoice parameters. Answer true if the response is the true-choice, false if it
+ 	is the false-choice. This is a modal question -- the user must respond one way or
+ 	the other."
+ 	^self subclassResponsibility!



More information about the Squeak-dev mailing list