Mark simulations loaded from .ork file with blue sphere (same as data from
external sources -- do we actually have a way to load data from external sources?) and appropriate tooltip
This commit is contained in:
parent
f0621e5790
commit
9a078f0e68
@ -551,6 +551,7 @@ simpanel.col.Timetoapogee = Time to apogee
|
||||
simpanel.col.Flighttime = Flight time
|
||||
simpanel.col.Groundhitvelocity = Ground hit velocity
|
||||
simpanel.ttip.uptodate = <i>Up to date</i>
|
||||
simpanel.ttip.loaded = <i>Loaded from file</i>
|
||||
simpanel.ttip.outdated = <i><font color=\"red\">Out of date</font></i><br>Click <i><b>Run simulations</b></i> to simulate.
|
||||
simpanel.ttip.external = <i>Imported data</i>
|
||||
simpanel.ttip.notSimulated = <i>Not simulated yet</i><br>Click <i><b>Run simulations</b></i> to simulate.
|
||||
|
@ -710,6 +710,8 @@ public class SimulationPanel extends JPanel {
|
||||
tip += trans.get("simpanel.ttip.noData")+"<br>";
|
||||
break;
|
||||
case LOADED:
|
||||
tip += trans.get("simpanel.ttip.loaded") + "<br>";
|
||||
break;
|
||||
case UPTODATE:
|
||||
tip += trans.get("simpanel.ttip.uptodate") + "<br>";
|
||||
break;
|
||||
|
@ -33,7 +33,7 @@ public class Icons {
|
||||
map.put(Simulation.Status.NOT_SIMULATED, loadImageIcon("pix/spheres/gray-16x16.png", "Not simulated"));
|
||||
map.put(Simulation.Status.CANT_RUN, loadImageIcon("pix/spheres/yellow-16x16.png", "Can't run, no motors assigned."));
|
||||
map.put(Simulation.Status.UPTODATE, loadImageIcon("pix/spheres/green-16x16.png", "Up to date"));
|
||||
map.put(Simulation.Status.LOADED, loadImageIcon("pix/spheres/green-16x16.png", "Up to date"));
|
||||
map.put(Simulation.Status.LOADED, loadImageIcon("pix/spheres/blue-16x16.png", "Loaded from File"));
|
||||
map.put(Simulation.Status.OUTDATED, loadImageIcon("pix/spheres/red-16x16.png", "Out-of-date"));
|
||||
map.put(Simulation.Status.EXTERNAL, loadImageIcon("pix/spheres/blue-16x16.png", "Imported data"));
|
||||
SIMULATION_STATUS_ICON_MAP = Collections.unmodifiableMap(map);
|
||||
|
Loading…
x
Reference in New Issue
Block a user