tim Rowledge uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-tpr.208.mcz==================== Summary ====================
Name: ToolBuilder-Morphic-tpr.208
Author: tpr
Time: 22 March 2018, 5:11:45.931652 pm
UUID: f88f9d36-8005-46ef-96e8-1dadd3301370
Ancestors: ToolBuilder-Morphic-tpr.207
Correct a couple of FileChooserDialog example comments to actually work
=============== Diff against ToolBuilder-Morphic-tpr.207 ===============
Item was changed:
----- Method: FileChooserDialog class>>openOn:suffixList:label: (in category 'instance creation') -----
openOn: aDirectory suffixList: patternList label: labelString
"Open a modal dialog to choose a file. Start the dialog with aDirectory selected
and files matching the file name suffixes in patternList. Set the user message
to labelString."
+ "FileChooserDialog openOn: FileDirectory default suffixList: { 'changes' . 'image' } label: 'Do something with the selected files' "
- "FileChooserDialog openOn: FileDirectory default suffixList: { '*.changes' . '*image' } label: 'Do something with the selected files' "
^self new
directory: aDirectory;
suffixList: patternList;
message: labelString;
getUserResponse!
Item was changed:
----- Method: FileChooserDialog class>>openOnSuffixList:label: (in category 'instance creation') -----
openOnSuffixList: patternList label: labelString
"Open a modal dialog to choose a file. Start the dialog with a default directory
selected and with files matching the file name suffixes in patternList. Set the
user message to labelString."
+ "FileChooserDialog openOnSuffixList: { 'changes' . 'image' } label: 'Do something with the selected files' "
- "FileChooserDialog openOnSuffixList: { '*.changes' . '*image' } label: 'Do something with the selected files' "
^self openOn: nil suffixList: patternList label: labelString
!