You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
594 B
Java
29 lines
594 B
Java
package org.gcube.portlets.user.newsfeed.client.event;
|
|
|
|
import com.google.gwt.event.shared.GwtEvent;
|
|
|
|
|
|
|
|
public class SeeLikesEvent extends GwtEvent<SeeLikesEventHandler> {
|
|
public static Type<SeeLikesEventHandler> TYPE = new Type<SeeLikesEventHandler>();
|
|
private final String feedid;
|
|
|
|
public SeeLikesEvent(String feedid) {
|
|
this.feedid = feedid;
|
|
}
|
|
|
|
public String getFeedId() {
|
|
return feedid;
|
|
}
|
|
|
|
@Override
|
|
public Type<SeeLikesEventHandler> getAssociatedType() {
|
|
return TYPE;
|
|
}
|
|
|
|
@Override
|
|
protected void dispatch(SeeLikesEventHandler handler) {
|
|
handler.onSeeLikes(this);
|
|
}
|
|
}
|