Re: Custom Open/Save Directory Tree
Re: Custom Open/Save Directory Tree
- Subject: Re: Custom Open/Save Directory Tree
- From: Kyle Moffett <email@hidden>
- Date: Sun, 16 Jun 2002 00:18:07 -0400
On Saturday, June 15, 2002, at 09:30 PM, Matt Neuburg wrote:
On Fri, 14 Jun 2002 22:24:51 -0400, Kyle Moffett <email@hidden>
said:
I am working on an application for performing database operations.
There are
several different kinds of records, each needing its own window editor
with
one window for each record opened. I thought that the best way might
be
to
subclass NSDocument for each record type, then reimplement open/save
mechanisms for the database. Unfortunately I ran into a problem. I
cannot
figure out how to get the open and save dialog boxes to look at a
different
hierarchy, my database tree. Does anybody know how I can do this, or
am
I barking up the wrong tree?
Might the SimpleBrowser example provide some inspiration here? m.
Ahh, that will help, but I still cannot use the default open/save
mechanism
built into the NSDocumentController system. Is it possible to display a
custom
open/save panel to return a path? I would like to change the default
panels to
my own, then implement writeToFile:ofType: and readFromFile:ofType: to do
database access based on the path. Is this even possible?
Thanks,
Kyle Moffett
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.