Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 68 Rev 70
Line 1... Line 1...
1
package org.tela_botanica.client.vues;
1
package org.tela_botanica.client.vues;
Line 2... Line 2...
2
 
2
 
Line 3... Line -...
3
import org.tela_botanica.client.observation.ObservationMediateur;
-
 
4
 
-
 
5
import com.gwtext.client.core.EventObject;
3
import org.tela_botanica.client.observation.ObservationMediateur;
6
import com.gwtext.client.widgets.Button;
-
 
7
import com.gwtext.client.widgets.Panel;
4
 
Line 8... Line 5...
8
import com.gwtext.client.widgets.event.ButtonListenerAdapter;
5
import com.gwtext.client.widgets.Panel;
9
import com.gwtext.client.widgets.layout.VerticalLayout;
6
import com.gwtext.client.widgets.layout.AccordionLayout;
10
 
7
 
11
/**
8
/**
Line 26... Line 23...
26
	 * 
23
	 * 
27
	 */
24
	 */
28
	private ArbreEntiteGeographiqueObservationFiltreVue arbreEntiteGeographiqueObservationFiltreVue = null;
25
	private ArbreEntiteGeographiqueObservationFiltreVue arbreEntiteGeographiqueObservationFiltreVue = null;
Line 29... Line -...
29
	
-
 
30
	
-
 
31
	/**
-
 
32
	 * Bouton de validation
-
 
Line 33... Line 26...
33
	 */
26
	
34
	private Button valider = null;
27
	
35
 
28
 
36
	/**
29
	/**
Line 47... Line 40...
47
	 * @param im
40
	 * @param im
48
	 *            le médiateur à associer
41
	 *            le médiateur à associer
49
	 */
42
	 */
50
	public PanneauFiltresObservationVues(ObservationMediateur obs) {
43
	public PanneauFiltresObservationVues(ObservationMediateur obs) {
Line 51... Line 44...
51
		
44
		
-
 
45
		super("Selections");
52
		super("Rechercher des Observations");
46
		
53
		observationMediateur = obs;
47
		observationMediateur = obs;
54
 
48
		
55
		this.setCollapsible(true);
49
		this.setCollapsible(true);
Line 56... Line 50...
56
		setLayout(new VerticalLayout());
50
		setLayout(new AccordionLayout(true));
57
 
51
 
Line 58... Line 52...
58
		arbreEntiteGeographiqueObservationFiltreVue = new ArbreEntiteGeographiqueObservationFiltreVue(observationMediateur);
52
		arbreEntiteGeographiqueObservationFiltreVue = new ArbreEntiteGeographiqueObservationFiltreVue(observationMediateur);
59
		add(arbreEntiteGeographiqueObservationFiltreVue);
-
 
60
 
-
 
61
		Panel panelValidation = new Panel();
-
 
62
		valider = new Button("Rechercher");
53
		add(arbreEntiteGeographiqueObservationFiltreVue);
63
		panelValidation.add(valider);
-
 
64
		panelValidation.setBorder(false);
-
 
65
		add(panelValidation);
-
 
66
 
-
 
67
		valider.addListener(new ButtonListenerAdapter() {
-
 
68
 
-
 
69
			public void onClick(Button button, EventObject e) {
-
 
70
 
-
 
71
			//	iMediateur.obtenirPhotoGalerie(iMediateur.getGalerieImage());
54
 
72
 
-
 
73
			}
55
		Panel dummy = new Panel("Date");
Line 74... Line 56...
74
 
56
		add(dummy);
75
		});
57
		
76
	}
58
	}