Re: Display Format Pop-up on Open Panel
Re: Display Format Pop-up on Open Panel
- Subject: Re: Display Format Pop-up on Open Panel
- From: Graham Cox <email@hidden>
- Date: Wed, 31 Dec 2008 12:06:59 +1100
On 31 Dec 2008, at 4:04 am, Dong Feng wrote:
If there are more than one items, with the same NSDocumentClass, in
the CFBundleDocumentTypes array of the Info.plist, I see the "Save
As..." save panel will be automatically augmented with an accessor
view containing a format pop-up. Meanwhile, the open panel of "Open
File..." does not have an accessor view containing format pop-up,
although it accepts all document types. Is there any way to have the
open panel have an format pop-up accessor view automatically?
I don't believe so. Unlike the Save As case, there's a much less clear-
cut case for providing such filtering based on format, since the
thinking of the Open panel is that (from the user's POV) it simply
shows what can be opened, and the code that reads the file figures out
what to do with the format it is presented with. Why bother the user
with geeky concepts such as "format" when it's not necessary? (The
Save case is different, since you are committing data to disk so
unfortunately if different formats are an issue the user is required
to intervene as the computer is unable to read minds).
You'll have to add your own accessory panel and implement the
filtering yourself if you really have to - though from the usability
point of view you'll be creating a worse user experience by doing so.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden