Subversion Repositories eFlore/Applications.del

Rev

Rev 80 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 80 Rev 94
Line 1... Line 1...
1
package org.tela_botanica.del.client.vues.plateformedetermination.forum;
1
package org.tela_botanica.del.client.vues.plateformedetermination.forum;
Line 2... Line 2...
2
 
2
 
Line 3... Line 3...
3
import java.util.List;
3
import java.util.List;
4
 
4
 
Line 5... Line 5...
5
import org.tela_botanica.del.client.i18n.I18n;
5
import org.tela_botanica.del.client.i18n.I18n;
6
import org.tela_botanica.del.client.modeles.ObservationDetermination;
6
import org.tela_botanica.del.client.modeles.ObservationValidation;
7
 
7
 
8
import com.google.gwt.core.client.GWT;
8
import com.google.gwt.core.client.GWT;
Line 22... Line 22...
22
	
22
	
23
	public ForumVue()  {
23
	public ForumVue()  {
24
		initWidget(uiBinder.createAndBindUi(this));
24
		initWidget(uiBinder.createAndBindUi(this));
Line 25... Line 25...
25
	}
25
	}
Line 26... Line 26...
26
	
26
	
27
	public void chargerObservations(List<ObservationDetermination> determinations) {
27
	public void chargerObservations(List<ObservationValidation> determinations) {
28
		
28
		
29
		String ligne = "<table>"+
29
		String ligne = "<table>"+
30
		"<tr>"+
30
		"<tr>"+
31
		"<th> "+I18n.getVocabulary().nom()+" </th>"+
31
		"<th> "+I18n.getVocabulary().nom()+" </th>"+
32
		"<th> "+I18n.getVocabulary().contributeur()+" </th>"+
32
		"<th> "+I18n.getVocabulary().contributeur()+" </th>"+
33
		"<th> "+I18n.getVocabulary().fiabilite()+" </th>"+
33
		"<th> "+I18n.getVocabulary().fiabilite()+" </th>"+
Line 34... Line 34...
34
		"<th> "+I18n.getVocabulary().date()+" </th>"+
34
		"<th> "+I18n.getVocabulary().date()+" </th>"+
35
		"<th> "+I18n.getVocabulary().commentaire()+" </th>"+
35
		"<th> "+I18n.getVocabulary().commentaire()+" </th>"+
36
		"</tr>";
36
		"</tr>";
37
		
37
		
38
		for (ObservationDetermination observationDetermination : determinations) {
38
		for (ObservationValidation observationDetermination : determinations) {
39
			ligne += "<tr>"+
39
			ligne += "<tr>"+
40
							"<td>"+observationDetermination.getEspece()+"</td>"+
40
							"<td>"+observationDetermination.getEspece()+"</td>"+
41
							"<td>"+observationDetermination.getContributeur()+"</td>"+
41
							"<td>"+observationDetermination.getContributeur()+"</td>"+
42
							"<td>"+observationDetermination.getPourcentageConfiance()+"%</td>"+
42
							"<td>"+observationDetermination.getPourcentageConfiance()+"%</td>"+
43
							"<td>"+observationDetermination.getDateCommentaire()+"</td>"+
43
							"<td>"+observationDetermination.getDate()+"</td>"+
44
							"<td>"+observationDetermination.getCommentaire()+"</td>"+
44
							"<td>"+observationDetermination.getCommentaire()+"</td>"+