@Test public void testShow() { popup.show(TITLE, okCommand, cancelCommand, alreadyInUseNames); verify(configPresenter, times(1)).clear(); verify(configPresenter, times(1)).setup(alreadyInUseNames); verify(basePopupView, times(1)).show(TITLE); }
public void show(final String title, final ParameterizedCommand<ContainerConfig> onSuccessCommand, final Command onCancelCommand, final List<String> alreadyInUseNames) { this.onSuccessCommand = onSuccessCommand; this.onCancelCommand = onCancelCommand; configPresenter.clear(); configPresenter.setup(alreadyInUseNames); view.show(title); }
ContainerConfigPopup extends BaseOkCancelPopup { public void show(final String title, final ParameterizedCommand<ContainerConfig> onSuccessCommand, final Command onCancelCommand, final List<String> alreadyInUseNames) { this.onSuccessCommand = onSuccessCommand; this.onCancelCommand = onCancelCommand; configPresenter.clear(); configPresenter.setup(alreadyInUseNames); view.show(title); } }
ContainerConfigPopup extends BaseOkCancelPopup { public void show(final String title, final ParameterizedCommand<ContainerConfig> onSuccessCommand, final Command onCancelCommand, final List<String> alreadyInUseNames) { this.onSuccessCommand = onSuccessCommand; this.onCancelCommand = onCancelCommand; configPresenter.clear(); configPresenter.setup(alreadyInUseNames); view.show(title); } @Inject  ContainerConfigPopup(final View view,
                                final ContainerConfigPresenter configPresenter); }
ContainerConfigPopup extends BaseOkCancelPopup { public void show(final String title, final ParameterizedCommand<ContainerConfig> onSuccessCommand, final Command onCancelCommand, final List<String> alreadyInUseNames) { this.onSuccessCommand = onSuccessCommand; this.onCancelCommand = onCancelCommand; configPresenter.clear(); configPresenter.setup(alreadyInUseNames); view.show(title); } @Inject  ContainerConfigPopup(final View view,
                                final ContainerConfigPresenter configPresenter); @PostConstruct @Override void init(); void show(final String title,
                     final ParameterizedCommand<ContainerConfig> onSuccessCommand,
                     final Command onCancelCommand,
                     final List<String> alreadyInUseNames); }
ContainerConfigPopup extends BaseOkCancelPopup { public void show(final String title, final ParameterizedCommand<ContainerConfig> onSuccessCommand, final Command onCancelCommand, final List<String> alreadyInUseNames) { this.onSuccessCommand = onSuccessCommand; this.onCancelCommand = onCancelCommand; configPresenter.clear(); configPresenter.setup(alreadyInUseNames); view.show(title); } @Inject  ContainerConfigPopup(final View view,
                                final ContainerConfigPresenter configPresenter); @PostConstruct @Override void init(); void show(final String title,
                     final ParameterizedCommand<ContainerConfig> onSuccessCommand,
                     final Command onCancelCommand,
                     final List<String> alreadyInUseNames);  }