147,14 → 147,14 |
private ToolBar creerBarreOutilsGrille() { |
ToolBar barreOutils = new ToolBar(); |
|
commentairesSaisisComboBox = creerComboBoxCommentairesSaisies(); |
barreOutils.add(commentairesSaisisComboBox); |
|
barreOutils.add(new Text(" ou ")); |
|
Button ajouterPersonneBouton = creerBoutonAjouter(); |
barreOutils.add(ajouterPersonneBouton); |
|
barreOutils.add(new Text(" ou ")); |
|
commentairesSaisisComboBox = creerComboBoxCommentairesSaisies(); |
barreOutils.add(commentairesSaisisComboBox); |
|
barreOutils.add(new SeparatorToolItem()); |
|
commentairesBoutonModifier = creerBoutonModifier(); |
317,6 → 317,8 |
} |
}); |
|
commentairesCombo.getCombo().setEmptyText("Rechercher et sélectionner une note existante dans la base"); |
|
commentairesCombo.getCombo().addListener(Events.Select, new Listener<BaseEvent>() { |
public void handleEvent(BaseEvent be) { |
if (commentairesSaisisComboBox.getValeur() instanceof ModelData) { |