class ServerNavigationPresenter {

    public void setup(final ServerTemplateKey firstTemplate,
                      final Collection<ServerTemplateKey> serverTemplateKeys) {
        view.clean();
        serverTemplates.clear();
        addTemplate(checkNotNull("serverTemplate2BeSelected",
                                 firstTemplate));
        for (final ServerTemplateKey serverTemplateKey : serverTemplateKeys) {
            if (!serverTemplateKey.equals(firstTemplate)) {
                addTemplate(serverTemplateKey);
            }
        }
    }

    @Inject public  ServerNavigationPresenter(final Logger logger,
                                     final View view,
                                     final Event<AddNewServerTemplate> addNewServerTemplateEvent,
                                     final Event<ServerTemplateListRefresh> serverTemplateListRefreshEvent,
                                     final Event<ServerTemplateSelected> serverTemplateSelectedEvent);

}