class ArchetypesSectionPresenter extends Section<SpaceScreenModel> {

    @Override
    public Promise<Void> setup(final SpaceScreenModel model) {
        this.view.init(this);

        return archetypeTablePresenter.setup(false,
                                             this::fireChangeEvent).then(v -> {
            view.showDescription(!archetypeTablePresenter.isEmpty());
            view.setTable(archetypeTablePresenter.getView().getElement());
            return promises.resolve();
        });
    }

    @Inject public  ArchetypesSectionPresenter(final Event<SettingsSectionChange<SpaceScreenModel>> settingsSectionChangeEvent,
                                      final MenuItem<SpaceScreenModel> menuItem,
                                      final Promises promises,
                                      final View view,
                                      final @SpaceSettings ArchetypeTablePresenter archetypeTablePresenter,
                                      final Event<NotificationEvent> notificationEvent,
                                      final TranslationService ts);

}