@Test public void skipFirstLevelSelectedTest() { presenter.skipFirstLevelChanged(true); verify(parameters, times(2)).put(SKIP_FIRST_LEVEL_PARAM_NAME, "true"); verify(delegate).updateControls(); }
@Override public void skipFirstLevelChanged(boolean isSkipFirstLevel) { setImportParameterValue(SKIP_FIRST_LEVEL_PARAM_NAME, String.valueOf(isSkipFirstLevel)); updateDelegate.updateControls(); }
ZipImporterPagePresenter extends AbstractWizardPage<ImportProject> implements ZipImporterPageView.ActionDelegate { @Override public void skipFirstLevelChanged(boolean isSkipFirstLevel) { setImportParameterValue(SKIP_FIRST_LEVEL_PARAM_NAME, String.valueOf(isSkipFirstLevel)); updateDelegate.updateControls(); } }
ZipImporterPagePresenter extends AbstractWizardPage<ImportProject> implements ZipImporterPageView.ActionDelegate { @Override public void skipFirstLevelChanged(boolean isSkipFirstLevel) { setImportParameterValue(SKIP_FIRST_LEVEL_PARAM_NAME, String.valueOf(isSkipFirstLevel)); updateDelegate.updateControls(); } @Inject  ZipImporterPagePresenter(ZipImporterPageView view, CoreLocalizationConstant locale); }
ZipImporterPagePresenter extends AbstractWizardPage<ImportProject> implements ZipImporterPageView.ActionDelegate { @Override public void skipFirstLevelChanged(boolean isSkipFirstLevel) { setImportParameterValue(SKIP_FIRST_LEVEL_PARAM_NAME, String.valueOf(isSkipFirstLevel)); updateDelegate.updateControls(); } @Inject  ZipImporterPagePresenter(ZipImporterPageView view, CoreLocalizationConstant locale); @Override void init(ImportProject dataObject); @Override boolean isCompleted(); @Override void projectNameChanged(@Nonnull String name); @Override void projectUrlChanged(@Nonnull String url); @Override void projectDescriptionChanged(@Nonnull String projectDescription); @Override void projectVisibilityChanged(boolean visible); @Override void skipFirstLevelChanged(boolean isSkipFirstLevel); @Override void go(AcceptsOneWidget container); }
ZipImporterPagePresenter extends AbstractWizardPage<ImportProject> implements ZipImporterPageView.ActionDelegate { @Override public void skipFirstLevelChanged(boolean isSkipFirstLevel) { setImportParameterValue(SKIP_FIRST_LEVEL_PARAM_NAME, String.valueOf(isSkipFirstLevel)); updateDelegate.updateControls(); } @Inject  ZipImporterPagePresenter(ZipImporterPageView view, CoreLocalizationConstant locale); @Override void init(ImportProject dataObject); @Override boolean isCompleted(); @Override void projectNameChanged(@Nonnull String name); @Override void projectUrlChanged(@Nonnull String url); @Override void projectDescriptionChanged(@Nonnull String projectDescription); @Override void projectVisibilityChanged(boolean visible); @Override void skipFirstLevelChanged(boolean isSkipFirstLevel); @Override void go(AcceptsOneWidget container);  }