Subversion Repositories eFlore/Applications.del

Rev

Rev 332 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 332 Rev 436
Line 21... Line 21...
21
import org.tela_botanica.del.client.vues.plateformedetermination.forum.ForumVue;
21
import org.tela_botanica.del.client.vues.plateformedetermination.forum.ForumVue;
22
import org.tela_botanica.del.client.vues.plateformedetermination.vote.EnsembleVotesPresenteur;
22
import org.tela_botanica.del.client.vues.plateformedetermination.vote.EnsembleVotesPresenteur;
23
import org.tela_botanica.del.client.vues.plateformedetermination.vote.EnsembleVotesVue;
23
import org.tela_botanica.del.client.vues.plateformedetermination.vote.EnsembleVotesVue;
24
import org.tela_botanica.del.client.vues.plateformedetermination.vote.barrerepartition.BarreRepartitionVotePresenteur;
24
import org.tela_botanica.del.client.vues.plateformedetermination.vote.barrerepartition.BarreRepartitionVotePresenteur;
25
import org.tela_botanica.del.client.vues.plateformedetermination.vote.barrerepartition.BarreRepartitionVoteVue;
25
import org.tela_botanica.del.client.vues.plateformedetermination.vote.barrerepartition.BarreRepartitionVoteVue;
-
 
26
import org.tela_botanica.del.client.vues.rechercheobservations.observationimages.ObservationImagesPresenteur;
-
 
27
import org.tela_botanica.del.client.vues.rechercheobservations.observationimages.ObservationImagesVue;
Line 26... Line 28...
26
 
28
 
27
import com.google.gwt.event.dom.client.ClickEvent;
29
import com.google.gwt.event.dom.client.ClickEvent;
-
 
30
import com.google.gwt.event.dom.client.ClickHandler;
28
import com.google.gwt.event.dom.client.ClickHandler;
31
import com.google.gwt.user.client.Window;
29
import com.google.gwt.user.client.ui.Button;
32
import com.google.gwt.user.client.ui.Button;
30
import com.google.gwt.user.client.ui.HasWidgets;
33
import com.google.gwt.user.client.ui.HasWidgets;
31
import com.google.gwt.user.client.ui.IsWidget;
34
import com.google.gwt.user.client.ui.IsWidget;
Line 32... Line 35...
32
import com.google.gwt.user.client.ui.VerticalPanel;
35
import com.google.gwt.user.client.ui.VerticalPanel;
Line 33... Line 36...
33
 
36
 
34
public class DeterminationPresenteur extends Presenteur {
37
public class DeterminationPresenteur extends Presenteur {
-
 
38
 
35
 
39
	public abstract interface Vue extends IsWidget {
-
 
40
		public VerticalPanel getForum();
36
	public abstract interface Vue extends IsWidget {
41
 
-
 
42
		public VerticalPanel getDetailImageObservation();
37
		public VerticalPanel getForum();
43
 
-
 
44
		public VerticalPanel getFormulaireRechercheEflore();
38
		public VerticalPanel getDetailImageObservation();
45
 
-
 
46
		public VerticalPanel getVote();
39
		public VerticalPanel getFormulaireRechercheEflore();
47
 
40
		public VerticalPanel getVote();	
48
		public VerticalPanel getBarreRepartition();
-
 
49
 
41
		public VerticalPanel getBarreRepartition();
50
		public Button getBoutonAjoutProposition();
Line 42... Line 51...
42
		public Button getBoutonAjoutProposition();
51
	}
Line 43... Line 52...
43
	}
52
 
Line 50... Line 59...
50
	}
59
	}
Line 51... Line 60...
51
 
60
 
Line 52... Line 61...
52
	public void go(HasWidgets composite) {
61
	public void go(HasWidgets composite) {
-
 
62
 
53
		
63
		if (CacheClient.getInstance().getImageCourante() != null) {
-
 
64
			// new DetailImageObservationPresenteur(new
54
		if (CacheClient.getInstance().getImageCourante() != null) {
65
			// DetailImageObservationVue()).go(vue.getDetailImageObservation());
55
			new DetailImageObservationPresenteur(new DetailImageObservationVue()).go(vue.getDetailImageObservation());
66
			new ObservationImagesPresenteur(new ObservationImagesVue(), CacheClient.getInstance().getObservationCourante()).go(vue.getDetailImageObservation());
56
			new EnsembleVotesPresenteur(new EnsembleVotesVue()).go(vue.getVote());
67
			new EnsembleVotesPresenteur(new EnsembleVotesVue()).go(vue.getVote());
57
		}
68
		}