147 |
benjamin |
1 |
package org.tela_botanica.del.client.navigation.evenement.rechercheimage;
|
|
|
2 |
|
|
|
3 |
import java.util.List;
|
|
|
4 |
|
|
|
5 |
import org.tela_botanica.del.client.modeles.Image;
|
|
|
6 |
|
|
|
7 |
import com.google.gwt.event.shared.GwtEvent;
|
|
|
8 |
|
|
|
9 |
public class EvenementRechercheImage extends GwtEvent<GestionnaireEvenementRechercheImage> {
|
|
|
10 |
|
|
|
11 |
public static com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementRechercheImage> TYPE = new com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementRechercheImage>();
|
|
|
12 |
|
|
|
13 |
private List<Image> images;
|
|
|
14 |
|
|
|
15 |
public EvenementRechercheImage(List<Image> images) {
|
|
|
16 |
this.images = images;
|
|
|
17 |
}
|
|
|
18 |
|
|
|
19 |
@Override
|
|
|
20 |
protected void dispatch(GestionnaireEvenementRechercheImage handler) {
|
|
|
21 |
handler.onRechercheImage(this);
|
|
|
22 |
}
|
|
|
23 |
|
|
|
24 |
@Override
|
|
|
25 |
public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementRechercheImage> getAssociatedType() {
|
|
|
26 |
return TYPE;
|
|
|
27 |
}
|
|
|
28 |
|
|
|
29 |
public List<Image> getImages() {
|
|
|
30 |
return images;
|
|
|
31 |
}
|
|
|
32 |
|
|
|
33 |
public void setImages(List<Image> images) {
|
|
|
34 |
this.images = images;
|
|
|
35 |
}
|
|
|
36 |
|
|
|
37 |
}
|