[GOODIE]/[BUG][FIX] PluggableFileList/ScreenController
Andrew C. Greenberg
werdna at gate.net
Sat Feb 12 21:12:52 UTC 2000
I had asked some questions earlier in the list about modal dialogs,
and opted to self-educate. Hope someone will take a look to see if I
did this right. In any case, I make this offering of a more GUI-like
"Standard File Dialog" for your edification. Presently works only in
MVC, but a quasi-modal Morphic version should be straightforward.
Although the doIts are parameterlist, the thing is reasonably
pluggable to handle more varied "standard file dialog" transactions,
allowing for all sorts of filtering, validation and different types
of return values.
"Change Set: PluggableFileList
Date: 12 February 2000
Author: Andrew C. Greenberg
1) Implements a more graphically attractive 'standard file dialog'
service similar to those found in Windows, MacOS and many Unix GUIs.
It is basically a highly pluggable modal FileList with buttons -- See
the class comment for more detail.
Sample doIts:
x _ PluggableFileList getFile
y _ PluggableFileList putFile
z _ PluggableFileList getFolder
2) PluggableFileList is installed as the MVC operation for the
'file...' menu selection as well. In time I hope to build a
Morphic-side dialog, so to replace the present menu-based interface
used there.
3) This changeset introduces a ModalSystemWindowView for building
Modal dialogs in MVC.
4) The changeset also fixes a typo in ScreenController, in which an
earlier change set had inadvertently elided the words 'dual change
sorter' to 'chang'"
-------------- next part --------------
Skipped content of type multipart/appledouble
More information about the Squeak-dev
mailing list
|