| Line 42... |
Line 42... |
| 42 |
import com.extjs.gxt.ui.client.event.Listener;
|
42 |
import com.extjs.gxt.ui.client.event.Listener;
|
| 43 |
import com.extjs.gxt.ui.client.event.SelectionListener;
|
43 |
import com.extjs.gxt.ui.client.event.SelectionListener;
|
| 44 |
import com.extjs.gxt.ui.client.store.ListStore;
|
44 |
import com.extjs.gxt.ui.client.store.ListStore;
|
| 45 |
import com.extjs.gxt.ui.client.store.Store;
|
45 |
import com.extjs.gxt.ui.client.store.Store;
|
| 46 |
import com.extjs.gxt.ui.client.store.StoreEvent;
|
46 |
import com.extjs.gxt.ui.client.store.StoreEvent;
|
| - |
|
47 |
import com.extjs.gxt.ui.client.widget.ContentPanel;
|
| 47 |
import com.extjs.gxt.ui.client.widget.HorizontalPanel;
|
48 |
import com.extjs.gxt.ui.client.widget.HorizontalPanel;
|
| 48 |
import com.extjs.gxt.ui.client.widget.Info;
|
49 |
import com.extjs.gxt.ui.client.widget.Info;
|
| 49 |
import com.extjs.gxt.ui.client.widget.LayoutContainer;
|
50 |
import com.extjs.gxt.ui.client.widget.LayoutContainer;
|
| 50 |
import com.extjs.gxt.ui.client.widget.MessageBox;
|
51 |
import com.extjs.gxt.ui.client.widget.MessageBox;
|
| 51 |
import com.extjs.gxt.ui.client.widget.Text;
|
52 |
import com.extjs.gxt.ui.client.widget.Text;
|
| Line 86... |
Line 87... |
| 86 |
private PersonneListe auteursInitialListe = null;
|
87 |
private PersonneListe auteursInitialListe = null;
|
| 87 |
private static boolean publicationAPersonneListeChargementOk = false;
|
88 |
private static boolean publicationAPersonneListeChargementOk = false;
|
| 88 |
private PersonneListe auteursAjoutes = null;
|
89 |
private PersonneListe auteursAjoutes = null;
|
| 89 |
private PersonneListe auteursSupprimes = null;
|
90 |
private PersonneListe auteursSupprimes = null;
|
| Line 90... |
Line 91... |
| 90 |
|
91 |
|
| 91 |
private LayoutContainer auteursFieldset = null;
|
92 |
private ContentPanel auteursFieldset = null;
|
| 92 |
private ComboBox<Projet> projetsCombo = null;
|
93 |
private ComboBox<Projet> projetsCombo = null;
|
| 93 |
private ArrayList<ComboBox<Personne>> auteurComboboxListe = null;
|
94 |
private ArrayList<ComboBox<Personne>> auteurComboboxListe = null;
|
| 94 |
private ListStore<Personne> auteursStorePartage = null;
|
95 |
private ListStore<Personne> auteursStorePartage = null;
|
| Line 488... |
Line 489... |
| 488 |
panneauFormulaire.setHeading(titre);
|
489 |
panneauFormulaire.setHeading(titre);
|
| 489 |
}
|
490 |
}
|
| Line 490... |
Line 491... |
| 490 |
|
491 |
|
| 491 |
|
492 |
|
| 492 |
private void creerZoneAuteurs() {
|
493 |
private void creerZoneAuteurs() {
|
| - |
|
494 |
auteursFieldset = new ContentPanel();
|
| - |
|
495 |
auteursFieldset.setLayout(new FitLayout());
|
| 493 |
// Fieldset Auteur
|
496 |
auteursFieldset.setHeading("Auteurs");
|
| 494 |
auteursFieldset = new LayoutContainer(new FitLayout());
|
497 |
|
| Line 495... |
Line 498... |
| 495 |
auteurComboboxListe = new ArrayList<ComboBox<Personne>>(0);
|
498 |
auteurComboboxListe = new ArrayList<ComboBox<Personne>>(0);
|
| 496 |
mediateur.clicObtenirListeAuteurs(this);
|
499 |
mediateur.clicObtenirListeAuteurs(this);
|
| Line 497... |
Line 500... |
| 497 |
|
500 |
|
| 498 |
creerChampsAuteur();
|
501 |
creerChampsAuteur();
|
| 499 |
}
|
502 |
}
|
| 500 |
|
503 |
|
| 501 |
private void creerChampsAuteur() {
|
504 |
private void creerChampsAuteur() {
|
| 502 |
auteursFieldset.removeAll();
|
505 |
auteursFieldset.removeAll();
|
| 503 |
barreOutils = creerBarreOutilsGrille();
|
506 |
barreOutils = creerBarreOutilsGrille();
|
| 504 |
panneauFormulaire.setTopComponent(barreOutils);
|
507 |
auteursFieldset.setTopComponent(barreOutils);
|