Subversion Repositories eFlore/Applications.coel

Rev

Rev 1764 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1764 Rev 1784
Line 134... Line 134...
134
	}
134
	}
Line 135... Line 135...
135
 
135
 
136
	private ToolBar creerBarreOutilsGrille() {
136
	private ToolBar creerBarreOutilsGrille() {
Line 137... Line -...
137
		ToolBar barreOutils = new ToolBar();  
-
 
138
		
-
 
139
		Button ajouterBouton = creerBoutonAjouter();
-
 
140
		barreOutils.add(ajouterBouton);
-
 
141
		
-
 
142
		barreOutils.add(new Text(" "));
137
		ToolBar barreOutils = new ToolBar();  
143
		
138
				
Line -... Line 139...
-
 
139
		publicationsSaisiesComboBox = creerComboBoxPublicationsSaisis();
-
 
140
		barreOutils.add(publicationsSaisiesComboBox);
-
 
141
		
-
 
142
		barreOutils.add(new Text(" ou "));
-
 
143
		
144
		publicationsSaisiesComboBox = creerComboBoxPublicationsSaisis();
144
		Button ajouterBouton = creerBoutonAjouter();
Line 145... Line 145...
145
		barreOutils.add(publicationsSaisiesComboBox);
145
		barreOutils.add(ajouterBouton);
146
		
146
		
Line 317... Line 317...
317
				}
317
				}
318
				return retour;
318
				return retour;
319
			}
319
			}
320
		});
320
		});
Line -... Line 321...
-
 
321
		
-
 
322
		publicationsCombo.getCombo().setEmptyText("Rechercher et sélectionner une publication existante dans la base");
321
		
323
		
322
		publicationsCombo.getCombo().addListener(Events.Select, new Listener<BaseEvent>() {
324
		publicationsCombo.getCombo().addListener(Events.Select, new Listener<BaseEvent>() {
323
			public void handleEvent(BaseEvent be) {
325
			public void handleEvent(BaseEvent be) {
324
				if (publicationsSaisiesComboBox.getValeur() instanceof ModelData) {
326
				if (publicationsSaisiesComboBox.getValeur() instanceof ModelData) {
325
					Publication publicationSaisieSelectionne = new Publication(publicationsSaisiesComboBox.getValeur(), false);					
327
					Publication publicationSaisieSelectionne = new Publication(publicationsSaisiesComboBox.getValeur(), false);