Subversion Repositories eFlore/Applications.coel

Rev

Rev 358 | Rev 1369 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 358 Rev 537
Line 1... Line 1...
1
package org.tela_botanica.client.vues;
1
package org.tela_botanica.client.vues;
Line -... Line 2...
-
 
2
 
2
 
3
 
-
 
4
import org.tela_botanica.client.Mediateur;
Line 3... Line 5...
3
 
5
import org.tela_botanica.client.i18n.Constantes;
4
import org.tela_botanica.client.i18n.Constantes;
6
import org.tela_botanica.client.images.Images;
5
 
7
 
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.LayoutContainer;
8
import com.extjs.gxt.ui.client.widget.layout.TableLayout;
9
import com.extjs.gxt.ui.client.widget.Text;
Line 9... Line 10...
9
import com.google.gwt.core.client.GWT;
10
import com.extjs.gxt.ui.client.widget.layout.TableLayout;
10
import com.google.gwt.user.client.ui.Image;
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{
11
import com.google.gwt.user.client.ui.PopupPanel;
15
	
12
 
16
	private Mediateur mediateur = null;
13
public class PopupChargement extends PopupPanel{
-
 
14
 
-
 
15
	public PopupChargement()	{
17
	private Constantes i18nC = null;
16
		super();
18
	
Line 17... Line 19...
17
		
19
	public PopupChargement(Mediateur mediateurCourrant) {
18
		//créer un loader
20
		super();
-
 
21
		mediateur = mediateurCourrant;
-
 
22
		i18nC = mediateur.i18nC;
-
 
23
		
Line 19... Line -...
19
		String url = "images/ajax-loader.gif";
-
 
20
		Image imgLoading = new Image(url);
-
 
21
		
24
		LayoutContainer cp = new LayoutContainer();
22
		LayoutContainer cp = new LayoutContainer();
25
		cp.setLayout(new TableLayout(2));
23
		cp.setLayout(new TableLayout(2));
-
 
Line 24... Line 26...
24
		
26
 
25
		Constantes constantes = GWT.create(Constantes.class);		
27
		Image imageChargement = Images.ICONES.ajaxLoader().createImage();
26
		
28
		cp.add(imageChargement);
27
		Text tLoad = new Text(constantes.chargement());
29
		
28
		cp.add(imgLoading);
30
		Text texteChargement = new Text(i18nC.chargement());