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