Re: Document Based App - open
Re: Document Based App - open
- Subject: Re: Document Based App - open
- From: Dan Stein <email@hidden>
- Date: Fri, 4 Feb 2005 07:49:57 -0800
On Feb 4, 2005, at 7:21 AM, Jeff LaMarche wrote:
I've got a document based app that has a document type that it
supports, and one that it can use as the basis for a new document. I
originally had different menu commands for each one, but found that my
testers were confused - they tried to just open both kinds of
documents.
So, thought it seems a little odd, now you can use Open for either
(and it seems to be more intuitive). If you open a native document, it
just opens it. If you select the other filetype, it creates a new
document based on information take from the "opened" file. I change
the document type and the filename of the new document, but NSDocument
still thinks it's an existing file, the "Save..." menu option is still
highlighted. Is there a way to tell a document that it should behave
as if it's a newly created document, or do I need to manually gray out
the "Save..." option in this situation?
If it's possible to save the data in a valid form as your main document
type, then Save still seems reasonable.
I use a rubric like "Import..." and "Export..." for saving to a more
interoperable data format, which sounds a bit
like what you're doing.
If it's a "newly created document" with valid data in it that is not
characteristic of a New document with no data,
it also seems prudent to guide the user to the option of saving the
document in the main format.
Other opinions?
Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden