Subversion Repositories eFlore/Applications.coel

Rev

Rev 358 | 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.i18n.Constantes;

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.core.client.GWT;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.PopupPanel;

public class PopupChargement extends PopupPanel{

        public PopupChargement()        {
                super();
                
                //créer un loader
                String url = "images/ajax-loader.gif";
                Image imgLoading = new Image(url);
                
                LayoutContainer cp = new LayoutContainer();
                cp.setLayout(new TableLayout(2));
                
                Constantes constantes = GWT.create(Constantes.class);           
                
                Text tLoad = new Text(constantes.chargement());
                cp.add(imgLoading);
                cp.add(tLoad);
                
                add(cp);
                center();
        }

}