Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 989 Rev 1291
Line 1... Line 1...
1
package org.tela_botanica.client.vues;
1
package org.tela_botanica.client.vues;
Line 2... Line 2...
2
 
2
 
3
import org.tela_botanica.client.CarnetEnLigneMediateur;
3
import org.tela_botanica.client.CarnetEnLigneMediateur;
4
import org.tela_botanica.client.interfaces.Rafraichissable;
-
 
5
import org.tela_botanica.client.modeles.objets.Configuration;
-
 
6
 
4
import org.tela_botanica.client.interfaces.Rafraichissable;
7
import com.google.gwt.event.logical.shared.ValueChangeEvent;
5
import com.google.gwt.event.logical.shared.ValueChangeEvent;
8
import com.google.gwt.event.logical.shared.ValueChangeHandler;
6
import com.google.gwt.event.logical.shared.ValueChangeHandler;
9
import com.google.gwt.user.client.ui.CheckBox;
7
import com.google.gwt.user.client.ui.CheckBox;
10
import com.google.gwt.user.client.ui.HTML;
8
import com.google.gwt.user.client.ui.HTML;
Line 109... Line 107...
109
	    
107
	    
Line 110... Line 108...
110
	    public void ajouterListenerBoutons() {
108
	    public void ajouterListenerBoutons() {
Line -... Line 109...
-
 
109
	    	
111
	    	
110
	    	accepterLicence.addValueChangeHandler(new ValueChangeHandler<Boolean>() {
112
	    	accepterLicence.addValueChangeHandler(new ValueChangeHandler<Boolean>() {
111
				
113
				
112
				@Override
114
				public void onValueChange(ValueChangeEvent<Boolean> event) {
113
				public void onValueChange(ValueChangeEvent<Boolean> event) {
Line 115... Line 114...
115
					validerAcceptationLicence.setDisabled(!event.getValue());
114
					validerAcceptationLicence.setDisabled(!event.getValue());
Line -... Line 115...
-
 
115
				}
116
				}
116
			});
Line 117... Line 117...
117
			});
117
	    	
118
	    	
118
	    	validerAcceptationLicence.addListener(new ButtonListenerAdapter() {
119
	    	validerAcceptationLicence.addListener(new ButtonListenerAdapter() {
119
				
Line 120... Line 120...
120
				
120
				@Override
Line -... Line 121...
-
 
121
				public void onClick(Button button, EventObject e) {
121
				public void onClick(Button button, EventObject e) {
122
 
Line 122... Line 123...
122
 
123
					cm.rafraichir("licence_acceptee", false);
123
					cm.rafraichir("licence_acceptee", false);
124
				}
124
				}
125
			});
125
			});
126
	    	
Line -... Line 127...
-
 
127
	    	annulerAcceptationLicence.addListener(new ButtonListenerAdapter() {
126
	    	
128
				
127
	    	annulerAcceptationLicence.addListener(new ButtonListenerAdapter() {
129
				@Override
128
				
130
				public void onClick(Button button, EventObject e) {
Line 129... Line 131...
129
				public void onClick(Button button, EventObject e) {
131