public void setGcodeFile(String file) { gcodeModel.setGcodeFile(file); gcodeRenderer.setObjectSize(gcodeModel.getMin(), gcodeModel.getMax()); }
@Override public void commandComplete(GcodeCommand command) { gcodeModel.setCurrentCommandNumber(command.getCommandNumber()); // TODO: When to redraw?? }