[squeak-dev] FileChooserDialog usage?

tim Rowledge tim at rowledge.org
Thu Dec 21 20:01:15 UTC 2017


> On 21-12-2017, at 10:50 AM, David T. Lewis <lewis at mail.msen.com> wrote:
> 
> FileChooserDialog class>>openOn: works quite nicely, but the example given
> in the class comment leads to message not understood #opneOn:pattern:message:

That’s odd; no trace of that in my image.

> 
> Can we get the class comment updated with the right expected usage? A class
> comment for DirectoryChooserDialog would be good too.

Definitely. 

> 
> I do like the actual file chooser/saver dialogs, they work nicely and are
> easy to use.
> 

The main thing needing improvement is the multicolumn list morph. Anyone with good ideas on how to make something akin to a table morph with adjustable column widths etc, please speak up!

> I have a questionabout FileAbstractSelectionDialog>>suffixList:. Not all
> operating systems and file systems make use of the unixy 'name.suffix'
> convention.  For example OpenVMS uses [Directory]FileName.Extension;Version
> where the trailing file version number would not fit nicely. I realize that
> nobody is using VMS for Squeak at the moment, so this is just an example.
> My question is, would it be better to use the actual match patterns (such
> as '*.txt') rather trying to construct the match pattern in suffixList: ?

An excellent question. RISC OS doesn’t use file extensions either but has had to sorta-kinda mange with them over the years. VMS  doesn’t seem like a big target either but it would be nice to have a better file name system that can handle such non-unixy naming. I always did like the VMS versioning stuff.


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful random insult:- A prime candidate for natural deselection.




More information about the Squeak-dev mailing list