class ValidationPresenter extends Section<ProjectScreenModel> {

    @Override
    public Promise<Void> setup(final ProjectScreenModel model) {

        repositories = model.getRepositories();

        view.init(this);

        validationItemPresenters.setup(
                view.getRepositoriesTable(),
                repositories.getRepositories().stream().sorted(comparing(r -> r.getMetadata().getId())).collect(toList()),
                (repository, presenter) -> presenter.setup(repository, this));

        return promises.resolve();
    }

    @Inject public  ValidationPresenter(final ValidationPresenter.View view,
                               final Promises promises,
                               final MenuItem<ProjectScreenModel> menuItem,
                               final Event<SettingsSectionChange<ProjectScreenModel>> settingsSectionChangeEvent,
                               final ValidationListPresenter validationItemPresenters);

}