Line 1... |
Line 1... |
1 |
package org.tela_botanica.client.vues;
|
1 |
package org.tela_botanica.client.vues;
|
Line 2... |
Line -... |
2 |
|
- |
|
3 |
import java.util.ArrayList;
|
2 |
|
4 |
import java.util.HashMap;
|
- |
|
5 |
import java.util.Iterator;
|
- |
|
Line 6... |
Line 3... |
6 |
import java.util.List;
|
3 |
import java.util.HashMap;
|
7 |
|
- |
|
8 |
import org.tela_botanica.client.Mediateur;
|
- |
|
9 |
import org.tela_botanica.client.RegistreId;
|
- |
|
10 |
import org.tela_botanica.client.composants.ChampMultiValeurs;
|
4 |
|
11 |
import org.tela_botanica.client.images.Images;
|
5 |
import org.tela_botanica.client.Mediateur;
|
12 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
- |
|
13 |
import org.tela_botanica.client.modeles.Collection;
|
- |
|
14 |
import org.tela_botanica.client.modeles.CollectionListe;
|
6 |
import org.tela_botanica.client.interfaces.Rafraichissable;
|
15 |
import org.tela_botanica.client.modeles.Configuration;
|
7 |
import org.tela_botanica.client.modeles.Collection;
|
16 |
import org.tela_botanica.client.modeles.Information;
|
- |
|
17 |
import org.tela_botanica.client.modeles.MenuApplicationId;
|
- |
|
18 |
import org.tela_botanica.client.modeles.Projet;
|
- |
|
19 |
import org.tela_botanica.client.modeles.ProjetListe;
|
- |
|
20 |
import org.tela_botanica.client.modeles.Structure;
|
8 |
import org.tela_botanica.client.modeles.Information;
|
21 |
import org.tela_botanica.client.modeles.StructureListe;
|
- |
|
Line 22... |
Line -... |
22 |
import org.tela_botanica.client.modeles.Valeur;
|
- |
|
23 |
import org.tela_botanica.client.modeles.ValeurListe;
|
- |
|
24 |
|
- |
|
25 |
import com.extjs.gxt.ui.client.Registry;
|
9 |
import org.tela_botanica.client.modeles.MenuApplicationId;
|
26 |
import com.extjs.gxt.ui.client.Style.SortDir;
|
10 |
import org.tela_botanica.client.modeles.Valeur;
|
27 |
import com.extjs.gxt.ui.client.event.BaseEvent;
|
- |
|
28 |
import com.extjs.gxt.ui.client.event.ButtonEvent;
|
11 |
|
29 |
import com.extjs.gxt.ui.client.event.ComponentEvent;
|
12 |
import com.extjs.gxt.ui.client.event.ButtonEvent;
|
30 |
import com.extjs.gxt.ui.client.event.EventType;
|
- |
|
31 |
import com.extjs.gxt.ui.client.event.Events;
|
- |
|
32 |
import com.extjs.gxt.ui.client.event.Listener;
|
13 |
import com.extjs.gxt.ui.client.event.ComponentEvent;
|
33 |
import com.extjs.gxt.ui.client.event.SelectionChangedEvent;
|
- |
|
34 |
import com.extjs.gxt.ui.client.event.SelectionChangedListener;
|
14 |
import com.extjs.gxt.ui.client.event.Events;
|
35 |
import com.extjs.gxt.ui.client.event.SelectionListener;
|
- |
|
36 |
import com.extjs.gxt.ui.client.event.WidgetListener;
|
- |
|
37 |
import com.extjs.gxt.ui.client.store.ListStore;
|
- |
|
38 |
import com.extjs.gxt.ui.client.store.Store;
|
- |
|
39 |
import com.extjs.gxt.ui.client.store.StoreEvent;
|
15 |
import com.extjs.gxt.ui.client.event.Listener;
|
40 |
import com.extjs.gxt.ui.client.store.StoreListener;
|
- |
|
41 |
import com.extjs.gxt.ui.client.widget.Component;
|
- |
|
42 |
import com.extjs.gxt.ui.client.widget.Info;
|
16 |
import com.extjs.gxt.ui.client.event.SelectionListener;
|
43 |
import com.extjs.gxt.ui.client.widget.LayoutContainer;
|
17 |
import com.extjs.gxt.ui.client.store.ListStore;
|
44 |
import com.extjs.gxt.ui.client.widget.MessageBox;
|
- |
|
45 |
import com.extjs.gxt.ui.client.widget.TabItem;
|
18 |
import com.extjs.gxt.ui.client.widget.Info;
|
46 |
import com.extjs.gxt.ui.client.widget.TabPanel;
|
19 |
import com.extjs.gxt.ui.client.widget.TabItem;
|
47 |
import com.extjs.gxt.ui.client.widget.Text;
|
- |
|
48 |
import com.extjs.gxt.ui.client.widget.button.Button;
|
- |
|
49 |
import com.extjs.gxt.ui.client.widget.form.ComboBox;
|
- |
|
50 |
import com.extjs.gxt.ui.client.widget.form.Field;
|
- |
|
51 |
import com.extjs.gxt.ui.client.widget.form.FieldSet;
|
- |
|
52 |
import com.extjs.gxt.ui.client.widget.form.HiddenField;
|
- |
|
53 |
import com.extjs.gxt.ui.client.widget.form.LabelField;
|
- |
|
54 |
import com.extjs.gxt.ui.client.widget.form.NumberField;
|
- |
|
55 |
import com.extjs.gxt.ui.client.widget.form.Radio;
|
- |
|
56 |
import com.extjs.gxt.ui.client.widget.form.TextArea;
|
- |
|
57 |
import com.extjs.gxt.ui.client.widget.form.TextField;
|
- |
|
58 |
import com.extjs.gxt.ui.client.widget.form.Validator;
|
- |
|
59 |
import com.extjs.gxt.ui.client.widget.form.ComboBox.TriggerAction;
|
- |
|
60 |
import com.extjs.gxt.ui.client.widget.form.FormPanel.LabelAlign;
|
- |
|
61 |
import com.extjs.gxt.ui.client.widget.layout.ColumnData;
|
- |
|
62 |
import com.extjs.gxt.ui.client.widget.layout.ColumnLayout;
|
20 |
import com.extjs.gxt.ui.client.widget.TabPanel;
|
63 |
import com.extjs.gxt.ui.client.widget.layout.FormData;
|
- |
|
64 |
import com.extjs.gxt.ui.client.widget.layout.RowLayout;
|
- |
|
Line 65... |
Line 21... |
65 |
import com.google.gwt.core.client.GWT;
|
21 |
import com.extjs.gxt.ui.client.widget.button.Button;
|
Line 66... |
Line 22... |
66 |
import com.google.gwt.i18n.client.NumberFormat;
|
22 |
import com.extjs.gxt.ui.client.widget.form.ComboBox;
|
67 |
import com.google.gwt.user.client.ui.Widget;
|
23 |
import com.google.gwt.core.client.GWT;
|
Line 137... |
Line 93... |
137 |
publicationOnglet = new CollectionFormPublication(this);
|
93 |
publicationOnglet = new CollectionFormPublication(this);
|
138 |
return publicationOnglet;
|
94 |
return publicationOnglet;
|
139 |
}
|
95 |
}
|
Line 140... |
Line 96... |
140 |
|
96 |
|
141 |
private TabItem creerOngletDescription() {
|
97 |
private TabItem creerOngletDescription() {
|
142 |
descriptionOnglet = creerOnglet(i18nC.collectionDescription(), "description");
|
- |
|
143 |
descriptionOnglet.addListener(Events.Select, new Listener<ComponentEvent>() {
|
- |
|
144 |
public void handleEvent(ComponentEvent be) {
|
- |
|
145 |
//peuplerOngletDescription();
|
- |
|
146 |
descriptionOnglet.layout();
|
- |
|
147 |
}
|
- |
|
148 |
});
|
- |
|
149 |
|
98 |
descriptionOnglet = new CollectionFormDescription(this);
|
150 |
return descriptionOnglet;
|
99 |
return descriptionOnglet;
|
Line 151... |
Line 100... |
151 |
}
|
100 |
}
|
152 |
|
101 |
|