public void nextStep() { if (isViewAttached) { kernel.detach(data); } kernel.nextStep(); if (isViewAttached) { kernel.attach(data); } updateNavBarsAndRepaint(); scrollToConstructionStep(); }
/** * Advance to next construction step (using breakpoints if enabled in .ggb * file) */ public void nextConstructionStep() { if (app.getGuiManager() != null) { app.getGuiManager().getConstructionProtocolView().nextStep(); } else { kernel.nextStep(); } }