[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: [PATCH] gattrib: reorganize file opening code



On Wednesday 18 July 2007 12:18:30 Stuart Brorson wrote:

> I'd be willing to hear of other example uses from others who have a
> different opinion.

Firstly, a gsch2pcb project file already contains all of the information 
needed about which schematics belong together.  Perhaps formalizing the file 
format and extension (useful for xgsch2pcb) would provide a good way to sort 
this problem out.  Then the File menu could look something like:

  Open...

  Add Schematic...

  Save

  Quit

Open Schematic: prompt to save if there are extant modifications, then show 
file selector for schematic files or project files.  N.b. that you should 
probably be allowed to select multiple project files, but only a single 

Add Schematic: show file selector for schematic files.  The selected schematic 
is added to the 

Save: Save all schematics.  If there is a current project, update the list of 
schematics in the on-disk file; otherwise, ask the user if he wants to save 
the project file, and show a Save As... dialog if he accepts.

Does this sound reasonable?  (Or if not hopefully a useful discussion 
point. ;)

                      Peter

This is a digitally signed message part.



_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev