Bill, Mariano thanks for the feedback! 2010/1/21 Schwab,Wilhelm K <bschwab@anest.ufl.edu>:
Thanks for doing this! Â How did you modify the menu? Â I have *no* clue how to do that.
There is a method addModelItemsToWindowMenu:, which do the job.
Two comments, the first horribly pedantic. Â The prompt for the file name reads "Enter file name to save the workspace to" - we have no shortage of dangling prepositions. Â "Ener file name" would be preferable.
I agree.
More substantively, it does not prompt for a directory. Â I agree that the image directory is the most likely default, but Pinesoft probably > has given us a suitable file dialog, and if not, we should identify the omission.
There is such a dialog. FileDialogWindow. I use it when I ask user for file name to open. But I didn't find any way to force this dialog to ask for the new file name. I may be wrong, but it only allows user to choose from existing file names. Some comments from more experienced people would be helpful though. George