class ServerNavigationPresenter {

    public void onSelect(@Observes final ServerTemplateSelected serverTemplateSelected) {
        if (serverTemplateSelected != null &&
                serverTemplateSelected.getServerTemplateKey() != null &&
                serverTemplateSelected.getServerTemplateKey().getId() != null) {
            view.select(serverTemplateSelected.getServerTemplateKey().getId());
        } else {
            logger.warn("Illegal event argument.");
        }
    }

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

}