Subversion Repositories eFlore/Applications.coel

Rev

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

Rev Author Line No. Line
335 gduche 1
package org.tela_botanica.client.vues;
2
 
3
 
537 jp_milcent 4
import org.tela_botanica.client.Mediateur;
335 gduche 5
import org.tela_botanica.client.i18n.Constantes;
537 jp_milcent 6
import org.tela_botanica.client.images.Images;
335 gduche 7
 
8
import com.extjs.gxt.ui.client.widget.LayoutContainer;
9
import com.extjs.gxt.ui.client.widget.Text;
10
import com.extjs.gxt.ui.client.widget.layout.TableLayout;
11
import com.google.gwt.user.client.ui.Image;
12
import com.google.gwt.user.client.ui.PopupPanel;
13
 
14
public class PopupChargement extends PopupPanel{
537 jp_milcent 15
 
16
	private Mediateur mediateur = null;
17
	private Constantes i18nC = null;
18
 
19
	public PopupChargement(Mediateur mediateurCourrant) {
335 gduche 20
		super();
537 jp_milcent 21
		mediateur = mediateurCourrant;
22
		i18nC = mediateur.i18nC;
335 gduche 23
 
24
		LayoutContainer cp = new LayoutContainer();
25
		cp.setLayout(new TableLayout(2));
537 jp_milcent 26
 
27
		Image imageChargement = Images.ICONES.ajaxLoader().createImage();
28
		cp.add(imageChargement);
335 gduche 29
 
537 jp_milcent 30
		Text texteChargement = new Text(i18nC.chargement());
31
		cp.add(texteChargement);
335 gduche 32
 
33
		add(cp);
34
		center();
35
	}
358 jp_milcent 36
}