I also don't know which of the classes is intended
for display, or how
to display them.
MAFileModel represents a file in Smalltalk. It knows the filename,
mimetype, size, contents, etc. MAExternalFileModel is no different,
other than it stores the file contents externally to the image (see
class comment). The location and naming of this file is managed
automatically, you cannot change it.
Initially, I just want to use these to display links
to files that are
on the disk. Presumably that will use MAExternalFileModel somehow.
AFAIK other people have written MAFileModel subclasses that refer to a
specific external file.
Lukas
Later on, I may want to have pseudo files that include the ability to
select a format in which to download the file or to display the file
inline on the web page.
Ross Boylan
_______________________________________________
Magritte, Pier and Related Tools ...
https://www.iam.unibe.ch/mailman/listinfo/smallwiki
--
Lukas Renggli
http://www.lukas-renggli.ch