Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1329 Rev 1367
Line 6... Line 6...
6
import org.tela_botanica.client.interfaces.Rafraichissable;
6
import org.tela_botanica.client.interfaces.Rafraichissable;
7
import org.tela_botanica.client.modeles.ValeurListe;
7
import org.tela_botanica.client.modeles.ValeurListe;
8
import org.tela_botanica.client.modeles.projet.Projet;
8
import org.tela_botanica.client.modeles.projet.Projet;
9
import org.tela_botanica.client.modeles.projet.ProjetListe;
9
import org.tela_botanica.client.modeles.projet.ProjetListe;
10
import org.tela_botanica.client.synchronisation.Sequenceur;
10
import org.tela_botanica.client.synchronisation.Sequenceur;
-
 
11
import org.tela_botanica.client.util.Debug;
11
import org.tela_botanica.client.util.UtilString;
12
import org.tela_botanica.client.util.UtilString;
12
import org.tela_botanica.client.vues.DetailVue;
13
import org.tela_botanica.client.vues.DetailVue;
Line 13... Line 14...
13
 
14
 
14
import com.extjs.gxt.ui.client.Style.Scroll;
15
import com.extjs.gxt.ui.client.Style.Scroll;
Line 123... Line 124...
123
	
124
	
124
	public void afficherDetail() {
125
	public void afficherDetail() {
125
		if (projet != null) {
126
		if (projet != null) {
126
			afficherEntete();
127
			afficherEntete();
127
			afficherDetailProjet();
128
			afficherDetailProjet();
128
		}
129
		};
129
		layout();
130
		layout();
Line 130... Line 131...
130
	}
131
	}
131
	
132
	
Line 224... Line 225...
224
		return html;
225
		return html;
225
	}
226
	}
Line 226... Line 227...
226
	
227
	
227
	public void rafraichir(Object nouvellesDonnees) {
228
	public void rafraichir(Object nouvellesDonnees) {
-
 
229
		if (nouvellesDonnees instanceof Projet) {
228
		if (nouvellesDonnees instanceof Projet) {
230
			if (Mediateur.DEBUG) System.out.println("|| ProjetDetailVue > Réception d'un Projet");
229
			projet = (Projet) nouvellesDonnees;
231
			projet = (Projet) nouvellesDonnees;
230
			projetChargementOk = true;
232
			projetChargementOk = true;
-
 
233
		} else if (nouvellesDonnees instanceof ProjetListe) {
231
		} else if (nouvellesDonnees instanceof ProjetListe) {
234
			if (Mediateur.DEBUG) System.out.println("|| ProjetDetailVue > Réception d'une ProjetListe");
232
			projets = (ProjetListe) nouvellesDonnees;
235
			projets = (ProjetListe) nouvellesDonnees;
233
			projetsChargementOk = true;
236
			projetsChargementOk = true;
-
 
237
		} else if(nouvellesDonnees instanceof ValeurListe) {
-
 
238
			if (Mediateur.DEBUG) System.out.println("|| ProjetDetailVue > Réception d'une ValeurListe");
234
		} else if(nouvellesDonnees instanceof ValeurListe) {
239
			
Line 235... Line 240...
235
			ValeurListe nValeurListe = (ValeurListe)nouvellesDonnees;
240
			ValeurListe nValeurListe = (ValeurListe)nouvellesDonnees;
236
			
241
			
237
			if (nValeurListe.getId() == listeValeurIndexationDureeInt) {
242
			if (nValeurListe.getId() == listeValeurIndexationDureeInt) {