Package jmri.jmrit.symbolicprog
Class ProgDefault
- java.lang.Object
-
- jmri.jmrit.symbolicprog.ProgDefault
-
public class ProgDefault extends java.lang.Object
Functions for use with programmer files, including the default file name.This was refactored from LocoSelPane in JMRI 1.5.3, which was the right thing to do anyway. But the real reason was that on MacOS Classic the static member holding the default programmer name was being overwritten when the class was (erroneously) initialized for a second time. This refactoring did not fix the problem. What did fix it was an ugly hack in the
CombinedLocoSelPane
class; see comments there for more information.
-
-
Constructor Summary
Constructors Constructor Description ProgDefault()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String[]
findListOfProgFiles()
static java.lang.String
getDefaultProgFile()
static void
setDefaultProgFile(java.lang.String s)
-
-
-
Constructor Detail
-
ProgDefault
public ProgDefault()
-
-
Method Detail
-
findListOfProgFiles
public static java.lang.String[] findListOfProgFiles()
-
getDefaultProgFile
public static java.lang.String getDefaultProgFile()
-
setDefaultProgFile
public static void setDefaultProgFile(java.lang.String s)
-
-