*/
private void ladeSnap(final int nummer) {
PopSnapshot pop
= this.aufnahme.getPop(nummer);
RobSnapshot[] robs = pop.getRobSchnapp();
Vis neuVis;
Translator[] trans = new Translator[robs[0].getTStdCodes().length];
this.popNum = pop.getId();
this.graphen.clear();
for (int i = 0; i < robs.length; i++) {
for (int j = 0; j < trans.length; j++) {
trans[j] = new Translator(
robs[i].getTStdCodes()[j],
new ScriptInterpreter(
this.aktParams,
StaticMethods.MODUS_TRANSLATOR),
this.aktParams);
}
neuVis = new Vis(
this.nameRob(pop, robs[i]),
robs[i].getVStdCodes(),
robs[i].getConds(),
robs[i].getId(),
this.aktParams,
trans,
null);
this.graphen.add(neuVis);
int zustand = robs[i].getZustand();
if (zustand < 0) {
// Markiere Startzustand, falls zustand = -1.
if (neuVis.getRob().vAuts()[0].holeStartzustand() != null) {
zustand = neuVis.getRob().vAuts()[0]
.holeStartzustand().holeName();
}
}
neuVis.selKnoten(
neuVis.getRob().vAuts()[0].holeKnoten(zustand),
0);
neuVis.setBounds(this.getWidth(),
0,
800,
700);
}