Subversion Repositories eFlore/Applications.del

Rev

Rev 1503 | Blame | Compare with Previous | Last modification | View Log | RSS feed

package org.tela_botanica.del.client.vues.identiplante.plateformedetermination.detail;

import org.tela_botanica.del.client.cache.CacheClient;

import com.google.gwt.user.client.ui.HasWidgets;
import com.google.gwt.user.client.ui.IsWidget;

public class DetailImageObservationPresenteur {
        
        public interface Vue extends IsWidget {
                public void chargerInformationsObservation(org.tela_botanica.del.client.modeles.Image image);
        }

        private Vue vue;
        
        public DetailImageObservationPresenteur(Vue vue) {
                this.vue = vue;
        }

        public void go(HasWidgets composite) {
                vue.chargerInformationsObservation(CacheClient.getInstance().getImageCourante());
                composite.add(vue.asWidget());
        }
}