Fold Top,java file in $KEPLER/src/exp/ dir into Ptolemy src
Getting the FILE|Open menu to initially point to the $KEPLER/demos directory required a change to the PTII ptolemy/gui/Top.java file. This was done by placing a slightly modified version in the Kepler exp directory to override the Ptolemy version.
This version of the file should be reworked with a parameter to set the intial directory in Kepler but use the Ptolemy settings in PTII; and the resulting file folded into the Ptolemy source tree.
#2 Updated by ben leinfelder over 12 years ago
I've reworked the Top file we have in our src/exp tree:
-Removed the use of the Configuration class within Top
-Added an accessor to allow Kepler to set the _directory for Top to use when doing it's initial open/save file dialogs
-left Derik's change to map the correct shortcut keys for different OS platforms
Hopefully this will pass muster with the PII police.
p.s. the KeplerInitializer class will now look up the default file dialog directory on start up and set it in Top.