Subversion Repositories eFlore/Archives.cel-v2

Compare Revisions

Ignore whitespace Rev 45 → Rev 46

/trunk/src/org/tela_botanica/client/vues/PanneauMetadonneesVue.java
98,7 → 98,13
* Le bouton de validation
*/
Button validerInfo = null ;
/**
* Barre de notation
*/
BarreNotationVue noteVue = null ;
/**
* Booleen d'instanciation
*/
boolean estInstancie = false ;
143,6 → 149,7
commentaireGeneral = new TextArea() ;
commentaireGeneral.setAutoWidth(true) ;
Label labelDate = new Label("Date :") ;
Label labelNote = new Label("Note :") ;
labelDate.setHeight("20px") ;
152,10 → 159,14
validerInfo = new Button("OK") ;
noteVue = new BarreNotationVue(im, 5) ;
sousPanneauInfosGenerales.add(labelComm) ;
sousPanneauInfosGenerales.add(commentaireGeneral) ;
sousPanneauInfosGenerales.add(labelDate) ;
sousPanneauInfosGenerales.add(dateImage) ;
sousPanneauInfosGenerales.add(labelNote) ;
sousPanneauInfosGenerales.add(noteVue) ;
sousPanneauInfosGenerales.add(validerInfo) ;
sousPanneauInfosGenerales.setAutoHeight(true);
panneauMotsCles.setAutoHeight(true) ;
217,7 → 228,7
public void onClick(Button button, EventObject e) {
// lors du clic sur le bouton valider on met à jour les commentaires et la date
getIMediateur().mettreAJourInfo(commentaireGeneral.getText(), dateImage.getRawValue()) ;
getIMediateur().mettreAJourInfo(commentaireGeneral.getText(), dateImage.getRawValue(), noteVue.getNote()) ;
}
});
356,4 → 367,8
public ArbreMotsClesVue getPanneauMotsCles() {
return panneauMotsCles;
}
public BarreNotationVue getNoteVue() {
return noteVue ;
}
}