@Override public void onEnterKeyPressed() { if (wizard.hasNext() && currentPage.isCompleted()) { onNextClicked(); } else if (wizard.canComplete()) { onImportClicked(); } }
@Override public void updateControls() { view.setBackButtonEnabled(false); view.setNextButtonEnabled(wizard.hasNext() && currentPage.isCompleted()); view.setImportButtonEnabled(wizard.canComplete()); }