Subversion Repositories eFlore/Applications.coel

Rev

Rev 358 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
335 gduche 1
package org.tela_botanica.client.vues;
2
 
3
 
4
import org.tela_botanica.client.i18n.Constantes;
5
 
6
import com.extjs.gxt.ui.client.widget.LayoutContainer;
7
import com.extjs.gxt.ui.client.widget.Text;
8
import com.extjs.gxt.ui.client.widget.layout.TableLayout;
9
import com.google.gwt.core.client.GWT;
10
import com.google.gwt.user.client.ui.Image;
11
import com.google.gwt.user.client.ui.PopupPanel;
12
 
13
public class PopupChargement extends PopupPanel{
14
 
15
	public PopupChargement()	{
16
		super();
17
 
18
		//créer un loader
19
		String url = "images/ajax-loader.gif";
20
		Image imgLoading = new Image(url);
21
 
22
		LayoutContainer cp = new LayoutContainer();
23
		cp.setLayout(new TableLayout(2));
24
 
25
		Constantes constantes = GWT.create(Constantes.class);
26
 
27
		Text tLoad = new Text(constantes.chargement());
28
		cp.add(imgLoading);
29
		cp.add(tLoad);
30
 
31
		add(cp);
32
		center();
33
	}
34
 
35
}