Subversion Repositories eFlore/Applications.del

Rev

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

Rev 52 Rev 64
Line 9... Line 9...
9
import com.google.gwt.uibinder.client.UiBinder;
9
import com.google.gwt.uibinder.client.UiBinder;
10
import com.google.gwt.uibinder.client.UiField;
10
import com.google.gwt.uibinder.client.UiField;
11
import com.google.gwt.user.client.ui.Composite;
11
import com.google.gwt.user.client.ui.Composite;
12
import com.google.gwt.user.client.ui.FlowPanel;
12
import com.google.gwt.user.client.ui.FlowPanel;
13
import com.google.gwt.user.client.ui.HTML;
13
import com.google.gwt.user.client.ui.HTML;
-
 
14
import com.google.gwt.user.client.ui.HorizontalPanel;
14
import com.google.gwt.user.client.ui.Image;
15
import com.google.gwt.user.client.ui.Image;
15
import com.google.gwt.user.client.ui.Label;
16
import com.google.gwt.user.client.ui.Label;
16
import com.google.gwt.user.client.ui.Panel;
17
import com.google.gwt.user.client.ui.Panel;
17
import com.google.gwt.user.client.ui.VerticalPanel;
18
import com.google.gwt.user.client.ui.VerticalPanel;
18
import com.google.gwt.user.client.ui.Widget;
19
import com.google.gwt.user.client.ui.Widget;
Line 23... Line 24...
23
	// @UiTemplate("ObservationVue.ui.xml")
24
	// @UiTemplate("ObservationVue.ui.xml")
24
	interface MyUiBinder extends UiBinder<Widget, ObservationVue> {
25
	interface MyUiBinder extends UiBinder<Widget, ObservationVue> {
25
	}
26
	}
Line 26... Line 27...
26
 
27
 
-
 
28
	private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class);
-
 
29
 
-
 
30
	@UiField
-
 
31
	protected Label nomEspece, nomAuteur, nomObservateur, nomRetenu, dateObservation, famille, localite;
27
	private static MyUiBinder uiBinder = GWT.create(MyUiBinder.class);
32
 
28
	@UiField
33
	@UiField
Line 29... Line 34...
29
	Label nomEspece, nomAuteur, nomObservateur, nomRetenu, dateObservation, famille, localite;
34
	protected HorizontalPanel voter;
30
 
35
 
Line 31... Line 36...
31
	@UiField
36
	@UiField
Line 52... Line 57...
52
		nomRetenu.setText(observation.getNomRetenu());
57
		nomRetenu.setText(observation.getNomRetenu());
53
		dateObservation.setText(observation.getDate());
58
		dateObservation.setText(observation.getDate());
54
		famille.setText(observation.getFamille());
59
		famille.setText(observation.getFamille());
55
		localite.setText(observation.getLocalite());
60
		localite.setText(observation.getLocalite());
Line -... Line 61...
-
 
61
 
56
 
62
 
Line 57... Line 63...
57
	}
63
	}
58
 
64
 
59
	protected void showValidationData(List<ObservationValidation> validationDatas) {
65
	protected void showValidationData(List<ObservationValidation> validationDatas) {
Line 95... Line 101...
95
	public HTML getProposeValidationDataHtml() {
101
	public HTML getProposeValidationDataHtml() {
96
		// return proposeValidationDataHtml;
102
		// return proposeValidationDataHtml;
97
		return new HTML();
103
		return new HTML();
98
	}
104
	}
Line 99... Line 105...
99
 
105
 
100
	public Panel getRatePanel() {
106
	public HorizontalPanel getVoter() {
101
		// return ratePanel;
-
 
102
		return new FlowPanel();
107
		return voter;
Line 103... Line 108...
103
	}
108
	}
104
 
109
 
105
	public VerticalPanel getZoneCache() {
110
	public VerticalPanel getZoneCache() {