class SpaceArchetypeTablePresenter extends AbstractArchetypeTablePresenter {

    @Override
    public Promise<Void> makeDefaultValue(final String alias,
                                          final boolean updateList) {
        if (canMakeChanges() && !alias.equals(archetypePreferences.getDefaultSelection())) {
            archetypePreferences.setDefaultSelection(alias);
            if (updateList) {
                updateList();
            }
            super.runOnChangedCallback();
        }

        return promises.resolve();
    }

    @Inject public  SpaceArchetypeTablePresenter(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 SpaceScopedResolutionStrategySupplier spaceScopedResolutionStrategySupplier,
                                        final WorkspaceProjectContext projectContext,
                                        final OrganizationalUnitController organizationalUnitController);

}