j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
- The mechanism is pretty simple.
- When a class for a new tool is filed in, it's initialize method tells
FileList that it too can handle files.
- When a FileList menu is raised, it asks each file handling class what
services it can provide for this file ending.
This sounds awesome! One small thing, however: let's offer to let the handler examine the opened file in addition to just the file ending. For binary formats, the first few bytes of the file are usually enough to identify it more accurately than the filename. This doesn't help for text files, on the other hand.
Lex
squeak-dev@lists.squeakfoundation.org