pathWidgetMap.get(path).addedCommand(command);
// TODO notify timeLineWidget in case the step icon needs to change
}
public void moveUpCommand(AbstractCommandModel command) {
SimulationStepModel step = command.getStep();
if (step.getCommands().indexOf(command) == 0) {
// TODO disable button instead
return;
}
SimulationPathModel path = step.getPath();
step.moveUpCommand(command);
pathWidgetMap.get(path).movedUpCommand(command);
}