Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 443 Rev 500
Line 2... Line 2...
2
 
2
 
Line 3... Line 3...
3
import org.tela_botanica.client.ComposantId;
3
import org.tela_botanica.client.ComposantId;
4
 
4
 
5
import com.extjs.gxt.ui.client.Style.Orientation;
5
import com.extjs.gxt.ui.client.Style.Orientation;
6
import com.extjs.gxt.ui.client.widget.LayoutContainer;
6
import com.extjs.gxt.ui.client.widget.LayoutContainer;
-
 
7
import com.extjs.gxt.ui.client.widget.Status;
-
 
8
import com.extjs.gxt.ui.client.widget.layout.RowLayout;
Line 7... Line 9...
7
import com.extjs.gxt.ui.client.widget.StatusBar;
9
import com.extjs.gxt.ui.client.widget.toolbar.FillToolItem;
-
 
10
import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
8
import com.extjs.gxt.ui.client.widget.layout.RowLayout;
11
 
Line 9... Line 12...
9
 
12
public class StatutVue extends LayoutContainer {
10
public class StatutVue extends LayoutContainer {
13
	
11
	private StatusBar barreStatut = null;
14
	private Status barreStatut = null;
-
 
15
	
-
 
16
	public StatutVue() {
-
 
17
		setLayout(new RowLayout(Orientation.HORIZONTAL));
-
 
18
		setId(ComposantId.PANNEAU_STATUT);
-
 
19
 
-
 
20
		ToolBar toolBar = new ToolBar();
Line 12... Line -...
12
	
-
 
13
	public StatutVue() {
21
		toolBar.add(new FillToolItem());
14
		setLayout(new RowLayout(Orientation.HORIZONTAL));
22
		
Line 15... Line 23...
15
		setId(ComposantId.PANNEAU_STATUT);
23
		barreStatut = new Status();
16
		
24
		toolBar.add(barreStatut);
17
		barreStatut = new StatusBar();
25
		
Line 18... Line 26...
18
		add(barreStatut);
26
		add(barreStatut);
19
	}
27
	}
20
	
28
	
21
	public void showBusy(String message) {
29
	public void showBusy(String message) {
22
		barreStatut.showBusy(message);
30
		barreStatut.setBusy(message);