Subversion Repositories eFlore/Applications.del

Rev

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

Rev 220 Rev 221
Line 2... Line 2...
2
 
2
 
3
import com.google.gwt.event.dom.client.ClickEvent;
3
import com.google.gwt.event.dom.client.ClickEvent;
4
import com.google.gwt.event.dom.client.ClickHandler;
4
import com.google.gwt.event.dom.client.ClickHandler;
5
import com.google.gwt.user.client.ui.Button;
5
import com.google.gwt.user.client.ui.Button;
6
import com.google.gwt.user.client.ui.Composite;
-
 
7
import com.google.gwt.user.client.ui.HTMLPanel;
6
import com.google.gwt.user.client.ui.Composite;
8
import com.google.gwt.user.client.ui.HasWidgets;
7
import com.google.gwt.user.client.ui.HasWidgets;
9
import com.google.gwt.user.client.ui.Panel;
8
import com.google.gwt.user.client.ui.Panel;
Line 10... Line 9...
10
import com.google.gwt.user.client.ui.RootPanel;
9
import com.google.gwt.user.client.ui.RootPanel;
Line 11... Line 10...
11
 
10
 
12
public abstract class Presenteur {
11
public abstract class Presenteur {
13
 
12
 
-
 
13
	private Composite vue;
Line 14... Line 14...
14
	private Composite vue;
14
	private Panel overlay;
15
	private Panel overlay;
15
	private Panel overlayContenu;
-
 
16
	private PresenteurVue presenteurVue;
16
	private Panel overlayContenu;
17
 
17
 
18
	// Constructeur
Line 18... Line 19...
18
	// Constructeur
19
	public Presenteur(Composite vue) {
19
	public Presenteur(Composite vue) {
20
		presenteurVue = new PresenteurVue();
Line 34... Line 35...
34
		return this.vue;
35
		return this.vue;
35
	}
36
	}
Line 36... Line 37...
36
 
37
 
Line 37... Line 38...
37
	public void ouvrirFenetreModale(Presenteur presenteurModal) {
38
	public void ouvrirFenetreModale(Presenteur presenteurModal) {
38
 
39
 
39
		overlay = new HTMLPanel("");
40
		overlay = presenteurVue.overlay;
40
		overlay.setStyleName("overlay");
41
		overlay.setStyleName("overlay");
Line 41... Line 42...
41
		overlay.setVisible(false);
42
		overlay.setVisible(false);
42
		RootPanel.get().add(overlay);
43
		RootPanel.get().add(overlay);
Line 43... Line 44...
43
 
44
 
44
		overlayContenu = new HTMLPanel("");
45
		overlayContenu = presenteurVue.overlayContenu;
45
		overlayContenu.setStyleName("overlayContenu");
46
		overlayContenu.setStyleName("overlayContenu");
Line 46... Line 47...
46
 
47
 
47
		Button boutonFermer = new Button("Fermer");
48
		Button boutonFermer = presenteurVue.boutonFermer;