This repository has been archived on 2021-11-25. You can view files and clone it, but cannot push or open issues or pull requests.
vmereports-manager-portlet/src/main/java/org/gcube/portlets/user/reportgenerator/client/events/RemovedUserCommentEvent.java

31 lines
798 B
Java

package org.gcube.portlets.user.reportgenerator.client.events;
import org.gcube.portlets.user.reportgenerator.client.targets.ReportTextArea;
import com.google.gwt.event.shared.GwtEvent;
public class RemovedUserCommentEvent extends GwtEvent<RemovedUserCommentEventHandler>{
public static Type<RemovedUserCommentEventHandler> TYPE = new Type<RemovedUserCommentEventHandler>();
private final ReportTextArea source;
public RemovedUserCommentEvent(ReportTextArea source) {
super();
this.source = source;
}
public ReportTextArea getSourceComponent() {
return source;
}
@Override
public Type<RemovedUserCommentEventHandler> getAssociatedType() {
return TYPE;
}
@Override
protected void dispatch(RemovedUserCommentEventHandler handler) {
handler.onRemovedComment(this);
}
}