Line 1... |
Line 1... |
1 |
package org.tela_botanica.client.vues;
|
1 |
package org.tela_botanica.client.vues;
|
Line 2... |
Line 2... |
2 |
|
2 |
|
3 |
import java.util.ArrayList;
|
- |
|
4 |
import java.util.Iterator;
|
3 |
import java.util.ArrayList;
|
Line 5... |
Line 4... |
5 |
import java.util.List;
|
4 |
import java.util.List;
|
6 |
|
5 |
|
7 |
import org.tela_botanica.client.ComposantClass;
|
6 |
import org.tela_botanica.client.ComposantClass;
|
Line 22... |
Line 21... |
22 |
import com.extjs.gxt.ui.client.event.SelectionChangedListener;
|
21 |
import com.extjs.gxt.ui.client.event.SelectionChangedListener;
|
23 |
import com.extjs.gxt.ui.client.event.SelectionListener;
|
22 |
import com.extjs.gxt.ui.client.event.SelectionListener;
|
24 |
import com.extjs.gxt.ui.client.store.ListStore;
|
23 |
import com.extjs.gxt.ui.client.store.ListStore;
|
25 |
import com.extjs.gxt.ui.client.widget.ContentPanel;
|
24 |
import com.extjs.gxt.ui.client.widget.ContentPanel;
|
26 |
import com.extjs.gxt.ui.client.widget.Info;
|
25 |
import com.extjs.gxt.ui.client.widget.Info;
|
27 |
import com.extjs.gxt.ui.client.widget.LayoutContainer;
|
- |
|
28 |
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
|
26 |
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
|
29 |
import com.extjs.gxt.ui.client.widget.table.Table;
|
27 |
import com.extjs.gxt.ui.client.widget.table.Table;
|
30 |
import com.extjs.gxt.ui.client.widget.table.TableColumn;
|
28 |
import com.extjs.gxt.ui.client.widget.table.TableColumn;
|
31 |
import com.extjs.gxt.ui.client.widget.table.TableColumnModel;
|
29 |
import com.extjs.gxt.ui.client.widget.table.TableColumnModel;
|
32 |
import com.extjs.gxt.ui.client.widget.table.TableItem;
|
30 |
import com.extjs.gxt.ui.client.widget.table.TableItem;
|
Line 34... |
Line 32... |
34 |
import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
|
32 |
import com.extjs.gxt.ui.client.widget.toolbar.ToolBar;
|
35 |
import com.google.gwt.core.client.GWT;
|
33 |
import com.google.gwt.core.client.GWT;
|
Line 36... |
Line 34... |
36 |
|
34 |
|
Line 37... |
Line -... |
37 |
public class StructureListePanneauVue extends ContentPanel implements Rafraichissable {
|
- |
|
38 |
|
35 |
public class StructureListePanneauVue extends ContentPanel implements Rafraichissable {
|
- |
|
36 |
|
39 |
private Rafraichissable structureListePanneauVue = null ;
|
37 |
private Mediateur mediateur = null ;
|
40 |
private Mediateur mediateur = null ;
|
38 |
private Rafraichissable structureListePanneauVue = null ;
|
41 |
private Table table = null;
|
39 |
private Table table = null;
|
42 |
private ListStore<Structure> store = null;
|
40 |
private ListStore<Structure> store = null;
|
43 |
private TableBinder<Structure> binder = null;
|
41 |
private TableBinder<Structure> binder = null;
|
44 |
private TextToolItem modifier;
|
42 |
private TextToolItem modifier;
|
Line 45... |
Line 43... |
45 |
private TextToolItem supprimer;
|
43 |
private TextToolItem supprimer;
|
- |
|
44 |
private TextToolItem ajouter;
|
- |
|
45 |
|
46 |
private TextToolItem ajouter;
|
46 |
public StructureListePanneauVue(Mediateur mediateurCourant) {
|
47 |
|
- |
|
48 |
public StructureListePanneauVue() {
|
47 |
mediateur = mediateurCourant;
|
Line 49... |
Line 48... |
49 |
Utilisateur utilisateur = (Utilisateur) Registry.get(RegistreId.UTILISATEUR_COURANT);
|
48 |
|
50 |
mediateur = Registry.get(RegistreId.MEDIATEUR);
|
49 |
Utilisateur utilisateur = (Utilisateur) Registry.get(RegistreId.UTILISATEUR_COURANT);
|
51 |
structureListePanneauVue = this;
|
50 |
structureListePanneauVue = this;
|