Marcel Taeumel uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-mt.257.mcz==================== Summary ====================
Name: ToolBuilder-Morphic-mt.257
Author: mt
Time: 15 April 2020, 3:56:21.096534 pm
UUID: d24dd086-2194-9444-bff3-29bc71ae3e5a
Ancestors: ToolBuilder-Morphic-mt.256
Complements ToolBuilder-Kernel-mt.138.
=============== Diff against ToolBuilder-Morphic-mt.256 ===============
Item was added:
+ ----- Method: MorphicUIManager>>request:initialAnswer:onCancelReturn: (in category 'ui requests') -----
+ request: queryString initialAnswer: defaultAnswer onCancelReturn: cancelResponse
+ "Create an instance of me whose question is queryString with the given initial answer. Answer the string the user accepts. Answer cancelResponse if the user cancels."
+
+ self askForProvidedAnswerTo: queryString ifSupplied: [:answer |
+ ^ answer = #default
+ ifTrue: [defaultAnswer]
+ ifFalse: [answer]].
+
+ ^ FillInTheBlankMorph
+ request: queryString
+ initialAnswer: defaultAnswer
+ onCancelReturn: cancelResponse!