Line 8... |
Line 8... |
8 |
import com.google.gwt.core.client.GWT;
|
8 |
import com.google.gwt.core.client.GWT;
|
9 |
import com.google.gwt.i18n.client.DateTimeFormat;
|
9 |
import com.google.gwt.i18n.client.DateTimeFormat;
|
10 |
import com.google.gwt.i18n.client.DateTimeFormat.PredefinedFormat;
|
10 |
import com.google.gwt.i18n.client.DateTimeFormat.PredefinedFormat;
|
11 |
import com.google.gwt.uibinder.client.UiBinder;
|
11 |
import com.google.gwt.uibinder.client.UiBinder;
|
12 |
import com.google.gwt.uibinder.client.UiField;
|
12 |
import com.google.gwt.uibinder.client.UiField;
|
- |
|
13 |
import com.google.gwt.user.client.Window;
|
13 |
import com.google.gwt.user.client.ui.Composite;
|
14 |
import com.google.gwt.user.client.ui.Composite;
|
14 |
import com.google.gwt.user.client.ui.FlexTable;
|
15 |
import com.google.gwt.user.client.ui.FlexTable;
|
15 |
import com.google.gwt.user.client.ui.IsWidget;
|
16 |
import com.google.gwt.user.client.ui.IsWidget;
|
16 |
import com.google.gwt.user.client.ui.Widget;
|
17 |
import com.google.gwt.user.client.ui.Widget;
|
Line 30... |
Line 31... |
30 |
}
|
31 |
}
|
Line 31... |
Line 32... |
31 |
|
32 |
|
32 |
@Override
|
33 |
@Override
|
Line -... |
Line 34... |
- |
|
34 |
public void ajouterInterventionDetermination(PropositionDetermination determination, IsWidget barreRepartition, IsWidget arbreCommentaires) {
|
33 |
public void ajouterInterventionDetermination(PropositionDetermination determination, IsWidget barreRepartition, IsWidget arbreCommentaires) {
|
35 |
|
34 |
|
36 |
|
35 |
htmlTableau.setHTML(1, 1, I18n.getVocabulary().nom());
|
37 |
htmlTableau.setHTML(1, 1, I18n.getVocabulary().nom());
|
36 |
htmlTableau.setHTML(1, 2, I18n.getVocabulary().contributeur());
|
38 |
htmlTableau.setHTML(1, 2, I18n.getVocabulary().contributeur());
|
37 |
htmlTableau.setHTML(1, 3, I18n.getVocabulary().fiabilite());
|
39 |
htmlTableau.setHTML(1, 3, I18n.getVocabulary().fiabilite());
|
Line 38... |
Line 40... |
38 |
htmlTableau.setHTML(1, 4, I18n.getVocabulary().date());
|
40 |
htmlTableau.setHTML(1, 4, I18n.getVocabulary().date());
|
39 |
htmlTableau.setHTML(1, 5, I18n.getVocabulary().commentaire());
|
41 |
htmlTableau.setHTML(1, 5, I18n.getVocabulary().commentaire());
|
40 |
|
42 |
|
41 |
htmlTableau.setWidget(2, 1, barreRepartition);
|
43 |
htmlTableau.setWidget(2, 1, barreRepartition);
|
- |
|
44 |
htmlTableau.setHTML(2, 2, determination.getAuteur());
|
- |
|
45 |
htmlTableau.setHTML(2, 4, DateTimeFormat.getFormat(PredefinedFormat.DATE_SHORT).format(determination.getDate()));
|
- |
|
46 |
htmlTableau.setWidget(2, 5, arbreCommentaires);
|
- |
|
47 |
|
42 |
htmlTableau.setHTML(2, 2, determination.getAuteur());
|
48 |
if (determination.estFils()) {
|
Line 43... |
Line 49... |
43 |
htmlTableau.setHTML(2, 4, DateTimeFormat.getFormat(PredefinedFormat.DATE_SHORT).format(determination.getDate()));
|
49 |
htmlTableau.setStyleName("enfant");
|
44 |
htmlTableau.setWidget(2, 5, arbreCommentaires);
|
50 |
}
|
Line 52... |
Line 58... |
52 |
htmlTableau.setHTML(1, 3, I18n.getVocabulary().commentaire());
|
58 |
htmlTableau.setHTML(1, 3, I18n.getVocabulary().commentaire());
|
Line 53... |
Line 59... |
53 |
|
59 |
|
54 |
htmlTableau.setHTML(2, 1, commentaire.getAuteur());
|
60 |
htmlTableau.setHTML(2, 1, commentaire.getAuteur());
|
55 |
htmlTableau.setHTML(2, 2, DateTimeFormat.getFormat(PredefinedFormat.DATE_SHORT).format(commentaire.getDate()));
|
61 |
htmlTableau.setHTML(2, 2, DateTimeFormat.getFormat(PredefinedFormat.DATE_SHORT).format(commentaire.getDate()));
|
- |
|
62 |
htmlTableau.setWidget(2, 3, arbreCommentaires);
|
- |
|
63 |
|
- |
|
64 |
if (commentaire.estFils()) {
|
- |
|
65 |
htmlTableau.setStyleName("enfant");
|
56 |
htmlTableau.setWidget(2, 3, arbreCommentaires);
|
66 |
}
|
Line 57... |
Line 67... |
57 |
}
|
67 |
}
|