Changeset 559 in tmcsimulator
- Timestamp:
- 01/16/2020 12:13:15 PM (6 years ago)
- Location:
- trunk/src/tmcsim/simulationmanager
- Files:
-
- 2 edited
-
SimulationManager.java (modified) (3 diffs)
-
actions/GotoTimeIndexAction.java (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/simulationmanager/SimulationManager.java
r507 r559 47 47 48 48 private static final String CONFIG_FILE_NAME = "sim_manager_config.properties"; 49 /* 50 * Name of filesystem folder that contains Scenario xml files. 51 */ 52 public static final String kScenarioFolder = "Scenarios"; 49 53 /** 50 54 * Error logger. … … 225 229 { 226 230 arg1 = args[0]; 227 File scriptFile = new File( "scripts"+ System.getProperty("file.separator") + arg1);231 File scriptFile = new File(kScenarioFolder+ System.getProperty("file.separator") + arg1); 228 232 // if the script file exists, load it and show name in title bar 229 233 if (scriptFile.exists()) … … 233 237 app.theSimManagerView.setTitle("Simulation Manager: " + arg1); 234 238 simManLogger.logp(Level.INFO,"SimulationManager","Main", 235 "Sim Mgr starting with sc riptfile: " + arg1 + ".");239 "Sim Mgr starting with scenario file: " + arg1 + "."); 236 240 } 237 241 else 238 242 { 239 243 simManLogger.logp(Level.INFO,"SimulationManager","Main", 240 "Sc riptfile not found: " + arg1 +241 ". Starting with no sc ript.");244 "Scenario file not found: " + arg1 + 245 ". Starting with no scenario."); 242 246 } 243 247 } -
trunk/src/tmcsim/simulationmanager/actions/GotoTimeIndexAction.java
r2 r559 19 19 * to ensure the current simulation is paused, to clear all current 20 20 * incident info from the view, and then to reset the simulation time. 21 * Currently this action is invoked from "File>GoTo" menu. 21 22 * @author Matthew Cechini 22 23 */
Note: See TracChangeset
for help on using the changeset viewer.
