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 |
private List<Image> images;
|
|
|
13 |
|
|
|
14 |
public EvenementRechercheImage(List<Image> images) {
|
|
|
15 |
this.images = images;
|
|
|
16 |
}
|
|
|
17 |
|
|
|
18 |
@Override
|
|
|
19 |
protected void dispatch(GestionnaireEvenementRechercheImage handler) {
|
|
|
20 |
handler.onRechercheImage(this);
|
|
|
21 |
}
|
|
|
22 |
|
|
|
23 |
@Override
|
|
|
24 |
public com.google.gwt.event.shared.GwtEvent.Type<GestionnaireEvenementRechercheImage> getAssociatedType() {
|
|
|
25 |
return TYPE;
|
|
|
26 |
}
|
|
|
27 |
|
|
|
28 |
public List<Image> getImages() {
|
|
|
29 |
return images;
|
|
|
30 |
}
|
|
|
31 |
|
|
|
32 |
public void setImages(List<Image> images) {
|
|
|
33 |
this.images = images;
|
|
|
34 |
}
|
|
|
35 |
|
|
|
36 |
}
|