Subversion Repositories eFlore/Applications.del

Rev

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

package org.tela_botanica.del.client.composants.images;

import org.tela_botanica.del.client.composants.presenteur.Presenteur;
import org.tela_botanica.del.client.modeles.Image;

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

public class DetailImagePresenteur extends Presenteur {

        public abstract interface Vue extends IsWidget {
                public abstract void chargerImage(Image image);
        }
        
        public Vue vue;
        public DetailImagePresenteur(Image image, Vue vue) {
                this.vue = vue;
                this.vue.chargerImage(image);
        }

        @Override
        public void go(HasWidgets composite) {
                composite.add(vue.asWidget());
        }

        @Override
        protected void gererEvenements() {
                // TODO Auto-generated method stub
        }

}