| 359 |
jp_milcent |
1 |
package org.tela_botanica.client.vues;
|
|
|
2 |
|
|
|
3 |
import org.tela_botanica.client.ComposantId;
|
|
|
4 |
|
|
|
5 |
import com.extjs.gxt.ui.client.Style.Orientation;
|
|
|
6 |
import com.extjs.gxt.ui.client.widget.LayoutContainer;
|
|
|
7 |
import com.extjs.gxt.ui.client.widget.StatusBar;
|
|
|
8 |
import com.extjs.gxt.ui.client.widget.layout.RowLayout;
|
|
|
9 |
|
|
|
10 |
public class StatutPanneauVue extends LayoutContainer {
|
|
|
11 |
private StatusBar barreStatut = null;
|
|
|
12 |
|
|
|
13 |
public StatutPanneauVue() {
|
|
|
14 |
setLayout(new RowLayout(Orientation.HORIZONTAL));
|
|
|
15 |
setId(ComposantId.PANNEAU_STATUT);
|
|
|
16 |
|
|
|
17 |
barreStatut = new StatusBar();
|
|
|
18 |
add(barreStatut);
|
|
|
19 |
}
|
|
|
20 |
|
|
|
21 |
public void showBusy(String message) {
|
|
|
22 |
barreStatut.showBusy(message);
|
|
|
23 |
}
|
|
|
24 |
|
|
|
25 |
public void clear() {
|
|
|
26 |
barreStatut.clear();
|
|
|
27 |
}
|
|
|
28 |
}
|