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/RemovedCitationEvent.java

27 lines
658 B
Java

package org.gcube.portlets.user.reportgenerator.client.events;
import com.google.gwt.event.shared.GwtEvent;
public class RemovedCitationEvent extends GwtEvent<RemovedCitationEventHandler>{
public static Type<RemovedCitationEventHandler> TYPE = new Type<RemovedCitationEventHandler>();
private final String citekey;
public RemovedCitationEvent(String citekey) {
this.citekey = citekey;
}
public String getCitekey() {
return citekey;
}
@Override
public Type<RemovedCitationEventHandler> getAssociatedType() {
return TYPE;
}
@Override
protected void dispatch(RemovedCitationEventHandler handler) {
handler.onRemovedCitation(this);
}
}