Subversion Repositories eFlore/Applications.coel

Rev

Rev 1292 | Rev 1415 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

package org.tela_botanica.client.vues;


import org.tela_botanica.client.Mediateur;
import org.tela_botanica.client.i18n.Constantes;
import org.tela_botanica.client.images.Images;

import com.extjs.gxt.ui.client.widget.LayoutContainer;
import com.extjs.gxt.ui.client.widget.Text;
import com.extjs.gxt.ui.client.widget.layout.TableLayout;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.PopupPanel;

public class PopupChargement extends PopupPanel{
        
        private Mediateur mediateur = null;
        private Constantes i18nC = null;
        
        public PopupChargement(Mediateur mediateurCourrant) {
                super();
                mediateur = mediateurCourrant;
                i18nC = mediateur.i18nC;
                
                LayoutContainer cp = new LayoutContainer();
                cp.setLayout(new TableLayout(2));

                Image imageChargement = Images.ICONES.ajaxLoader().createImage();
                cp.add(imageChargement);
                
                Text texteChargement = new Text(i18nC.chargement());
                cp.add(texteChargement);
                
                add(cp);
                center();
        }
}