• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Custom Open/Save Directory Tree
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Custom Open/Save Directory Tree
      • From: Matt Neuburg <email@hidden>
References: 
 >Re: Custom Open/Save Directory Tree (From: Matt Neuburg <email@hidden>)

  • Prev by Date: User Entered Root Password (kmodload)
  • Next by Date: Re: Oracle BLOB over the Java bridge
  • Previous by thread: Re: Custom Open/Save Directory Tree
  • Next by thread: Re: Custom Open/Save Directory Tree
  • Index(es):
    • Date
    • Thread