@Test public void initConfigurationTest() { final ArchetypeTableConfiguration expectedConfig = new ArchetypeTableConfiguration.Builder() .withAddAction() .withDeleteAction() .withValidateAction() .withStatusColumn() .build(); assertEquals(expectedConfig, presenter.initConfiguration()); }
@Override public ArchetypeTableConfiguration initConfiguration() { return new ArchetypeTableConfiguration.Builder() .withAddAction() .withDeleteAction() .withValidateAction() .withStatusColumn() .build(); }
GlobalArchetypeTablePresenter extends AbstractArchetypeTablePresenter { @Override public ArchetypeTableConfiguration initConfiguration() { return new ArchetypeTableConfiguration.Builder() .withAddAction() .withDeleteAction() .withValidateAction() .withStatusColumn() .build(); } }
GlobalArchetypeTablePresenter extends AbstractArchetypeTablePresenter { @Override public ArchetypeTableConfiguration initConfiguration() { return new ArchetypeTableConfiguration.Builder() .withAddAction() .withDeleteAction() .withValidateAction() .withStatusColumn() .build(); } @Inject  GlobalArchetypeTablePresenter(final View view,
                                         final ArchetypeListPresenter archetypeListPresenter,
                                         final BusyIndicatorView busyIndicatorView,
                                         final TranslationService ts,
                                         final AddArchetypeModalPresenter addArchetypeModalPresenter,
                                         final ArchetypePreferences archetypePreferences,
                                         final Caller<ArchetypeService> archetypeService,
                                         final PreferenceScopeFactory preferenceScopeFactory,
                                         final Promises promises,
                                         final AuthorizationManager authorizationManager,
                                         final User user); }
GlobalArchetypeTablePresenter extends AbstractArchetypeTablePresenter { @Override public ArchetypeTableConfiguration initConfiguration() { return new ArchetypeTableConfiguration.Builder() .withAddAction() .withDeleteAction() .withValidateAction() .withStatusColumn() .build(); } @Inject  GlobalArchetypeTablePresenter(final View view,
                                         final ArchetypeListPresenter archetypeListPresenter,
                                         final BusyIndicatorView busyIndicatorView,
                                         final TranslationService ts,
                                         final AddArchetypeModalPresenter addArchetypeModalPresenter,
                                         final ArchetypePreferences archetypePreferences,
                                         final Caller<ArchetypeService> archetypeService,
                                         final PreferenceScopeFactory preferenceScopeFactory,
                                         final Promises promises,
                                         final AuthorizationManager authorizationManager,
                                         final User user); @Override Promise<Void> loadPreferences(final PaginatedArchetypeList paginatedList); @Override Promise<Void> makeDefaultValue(final String alias,
                                          final boolean updateList); @Override ArchetypeTableConfiguration initConfiguration(); @Override boolean canMakeChanges(); @Override Promise<Void> savePreferences(final boolean updateList); }
GlobalArchetypeTablePresenter extends AbstractArchetypeTablePresenter { @Override public ArchetypeTableConfiguration initConfiguration() { return new ArchetypeTableConfiguration.Builder() .withAddAction() .withDeleteAction() .withValidateAction() .withStatusColumn() .build(); } @Inject  GlobalArchetypeTablePresenter(final View view,
                                         final ArchetypeListPresenter archetypeListPresenter,
                                         final BusyIndicatorView busyIndicatorView,
                                         final TranslationService ts,
                                         final AddArchetypeModalPresenter addArchetypeModalPresenter,
                                         final ArchetypePreferences archetypePreferences,
                                         final Caller<ArchetypeService> archetypeService,
                                         final PreferenceScopeFactory preferenceScopeFactory,
                                         final Promises promises,
                                         final AuthorizationManager authorizationManager,
                                         final User user); @Override Promise<Void> loadPreferences(final PaginatedArchetypeList paginatedList); @Override Promise<Void> makeDefaultValue(final String alias,
                                          final boolean updateList); @Override ArchetypeTableConfiguration initConfiguration(); @Override boolean canMakeChanges(); @Override Promise<Void> savePreferences(final boolean updateList);  }