Subversion Repositories eFlore/Applications.del

Rev

Rev 1221 | Rev 1553 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1221 Rev 1485
Line 84... Line 84...
84
		chargerImagesObservation();
84
		chargerImagesObservation();
85
		gererEvenements();
85
		gererEvenements();
86
	}
86
	}
Line 87... Line 87...
87
 
87
 
88
	protected void gererEvenements() {
-
 
89
		if (this.page.equals(ConstantesNavigation.PAGE_VALIDATION)) {
88
	protected void gererEvenements() {
90
			vue.getLienPlateforme().addClickHandler(new ClickHandler() {
89
		vue.getLienPlateforme().addClickHandler(new ClickHandler() {
91
	
90
 
92
				@Override
91
			@Override
93
				public void onClick(ClickEvent arg0) {
92
			public void onClick(ClickEvent arg0) {
94
					BusEvenementiel.getInstance().fireEvent(new EvenementValidation(observation));
93
				BusEvenementiel.getInstance().fireEvent(new EvenementValidation(observation));
95
				}
94
			}
96
	
95
 
97
			});
-
 
98
		} else {
-
 
99
			vue.getLienPlateforme().addClickHandler(new ClickHandler() {
-
 
100
				
-
 
101
				@Override
-
 
102
				public void onClick(ClickEvent arg0) {
-
 
103
					BusEvenementiel.getInstance().fireEvent(new EvenementValidationPictoflora(observation));
-
 
104
				}
-
 
105
	
-
 
106
			});
-
 
Line 107... Line 96...
107
		}
96
		});
Line 108... Line 97...
108
 
97
 
109
		BusEvenementiel.getInstance().addHandler(EvenementChangementImageValidation.TYPE, new GestionnaireEvenementChangementImageValidation() {
98
		BusEvenementiel.getInstance().addHandler(EvenementChangementImageValidation.TYPE, new GestionnaireEvenementChangementImageValidation() {