Subversion Repositories eFlore/Applications.coel

Compare Revisions

Ignore whitespace Rev 660 → Rev 661

/trunk/src/org/tela_botanica/client/vues/PersonneListeVue.java
74,7 → 74,15
modifier.setIcon(Images.ICONES.formModifier());
modifier.addSelectionListener(new SelectionListener<ButtonEvent>() {
public void componentSelected(ButtonEvent ce) {
mediateur.clicModifierPersonne(personneSelectionnee);
int tailleSelection = grille.getSelectionModel().getSelectedItems().size();
if ( tailleSelection == 0) {
Info.display("Information", "Veuillez sélectionner une personne.");
} else if (tailleSelection > 1) {
Info.display("Information", "Veuillez sélectionner une seule personne à la fois.");
} else {
mediateur.clicModifierPersonne(personneSelectionnee);
}
}
});
toolBar.add(modifier);