Skip to content

Commit dd54722

Browse files
committed
Support FileAbstractSelectionDialog
Answer file names for the fileList. Pretend to be under the FileDirectory root because otherwise the dialog will loop endlessly until it finds this root. This is because FSPath>>parent answers self if the path is the root already. And the root paths are not the same as the FileDirectory root.
1 parent e7fb87d commit dd54722

File tree

4 files changed

+7
-2
lines changed

4 files changed

+7
-2
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
enumeration
22
containingDirectory
3+
reference isRoot ifTrue: [^ FileDirectory root].
34
^ FSFileDirectoryAdapter on: reference parent

src/FS-FileDirectory-Adapters.package/FSFileDirectoryAdapter.class/methodProperties.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"/" : "jr 4/23/2017 23:06",
77
"=" : "jr 9/6/2020 12:53",
88
"asFSReference" : "jr 4/6/2018 21:44",
9-
"containingDirectory" : "jr 9/6/2020 13:02",
9+
"containingDirectory" : "jr 5/14/2021 11:26",
1010
"createDirectory:" : "jr 6/29/2017 16:06",
1111
"directoryNamed:" : "jr 4/23/2017 23:10",
1212
"directoryNames" : "jr 4/23/2017 23:09",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
accessing
2+
name
3+
^ reference basename

src/FS-FileDirectory-Adapters.package/FSFileDirectoryEntryAdapter.class/methodProperties.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@
66
"entry:" : "jr 4/23/2017 23:24",
77
"fileSize" : "jr 4/23/2017 23:28",
88
"isDirectory" : "jr 4/23/2017 23:26",
9-
"modificationTime" : "jr 4/23/2017 23:27" } }
9+
"modificationTime" : "jr 4/23/2017 23:27",
10+
"name" : "jr 5/14/2021 11:41" } }

0 commit comments

Comments
 (0)