Subversion Repositories eFlore/Applications.del

Rev

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

Rev 359 Rev 360
Line 31... Line 31...
31
		public abstract HasChangeHandlers getListeProtocoles();
31
		public abstract HasChangeHandlers getListeProtocoles();
Line 32... Line 32...
32
 
32
 
Line 33... Line 33...
33
		public abstract HasWidgets getZoneResultats();
33
		public abstract HasWidgets getZoneResultats();
-
 
34
 
-
 
35
		public abstract HasWidgets getZoneRecherche();
34
 
36
 
Line 35... Line 37...
35
		public abstract HasWidgets getZoneRecherche();
37
		public abstract String getNomProtocolSelectionne();
Line 36... Line 38...
36
	}
38
	}
Line 74... Line 76...
74
 
76
 
Line 75... Line 77...
75
		vue.getListeProtocoles().addChangeHandler(new ChangeHandler() {
77
		vue.getListeProtocoles().addChangeHandler(new ChangeHandler() {
76
 
78
 
-
 
79
			@Override
-
 
80
			public void onChange(ChangeEvent event) {
-
 
81
				Protocole protocoleCourant = null;
-
 
82
				for (Protocole protocole : protocoles) {
-
 
83
					if (protocole.getNom().equals(vue.getNomProtocolSelectionne())) {
-
 
84
						protocoleCourant = protocole;
Line 77... Line 85...
77
			@Override
85
					}
78
			public void onChange(ChangeEvent event) {
86
				}
79
 
87
 
80
				Protocole protocoleCourant = (Protocole) event.getSource();
88
				CacheClient.getInstance().setProtocoleCourant(protocoleCourant);
81
				EvenementChangementProtocole evenement = new EvenementChangementProtocole(protocoleCourant);
89
				EvenementChangementProtocole evenement = new EvenementChangementProtocole(protocoleCourant);
82
				BusEvenementiel.getInstance().fireEvent(evenement);
90
				BusEvenementiel.getInstance().fireEvent(evenement);