23,9 → 23,12 |
import org.tela_botanica.del.client.vues.plateformedetermination.vote.EnsembleVotesVue; |
import org.tela_botanica.del.client.vues.plateformedetermination.vote.barrerepartition.BarreRepartitionVotePresenteur; |
import org.tela_botanica.del.client.vues.plateformedetermination.vote.barrerepartition.BarreRepartitionVoteVue; |
import org.tela_botanica.del.client.vues.rechercheobservations.observationimages.ObservationImagesPresenteur; |
import org.tela_botanica.del.client.vues.rechercheobservations.observationimages.ObservationImagesVue; |
|
import com.google.gwt.event.dom.client.ClickEvent; |
import com.google.gwt.event.dom.client.ClickHandler; |
import com.google.gwt.user.client.Window; |
import com.google.gwt.user.client.ui.Button; |
import com.google.gwt.user.client.ui.HasWidgets; |
import com.google.gwt.user.client.ui.IsWidget; |
35,12 → 38,18 |
|
public abstract interface Vue extends IsWidget { |
public VerticalPanel getForum(); |
|
public VerticalPanel getDetailImageObservation(); |
|
public VerticalPanel getFormulaireRechercheEflore(); |
|
public VerticalPanel getVote(); |
|
public VerticalPanel getBarreRepartition(); |
|
public Button getBoutonAjoutProposition(); |
} |
|
private Vue vue; |
|
BarreRepartitionVotePresenteur barreRepartitionVotePresenteur; |
52,7 → 61,9 |
public void go(HasWidgets composite) { |
|
if (CacheClient.getInstance().getImageCourante() != null) { |
new DetailImageObservationPresenteur(new DetailImageObservationVue()).go(vue.getDetailImageObservation()); |
// new DetailImageObservationPresenteur(new |
// DetailImageObservationVue()).go(vue.getDetailImageObservation()); |
new ObservationImagesPresenteur(new ObservationImagesVue(), CacheClient.getInstance().getObservationCourante()).go(vue.getDetailImageObservation()); |
new EnsembleVotesPresenteur(new EnsembleVotesVue()).go(vue.getVote()); |
} |
new ForumPresenteur(new ForumVue()).go(vue.getForum()); |