32 lines
787 B
Java
32 lines
787 B
Java
package org.gcube.portlets.user.databasesmanager.client.events;
|
|
|
|
import org.gcube.portlets.user.databasesmanager.client.events.interfaces.SmartSamplingEventHandler;
|
|
|
|
import com.google.gwt.event.shared.GwtEvent;
|
|
|
|
public class SmartSamplingEvent extends GwtEvent<SmartSamplingEventHandler> {
|
|
|
|
public static Type<SmartSamplingEventHandler> TYPE = new Type<SmartSamplingEventHandler>();
|
|
|
|
@Override
|
|
protected void dispatch(SmartSamplingEventHandler handler) {
|
|
// TODO Auto-generated method stub
|
|
|
|
handler.onSmartSampling(this);
|
|
|
|
}
|
|
|
|
@Override
|
|
public Type<SmartSamplingEventHandler> getAssociatedType() {
|
|
// TODO Auto-generated method stub
|
|
return TYPE;
|
|
}
|
|
|
|
public EventsTypeEnum getKey() {
|
|
|
|
// TODO Auto-generated method stub
|
|
return EventsTypeEnum.SMART_SAMPLING_EVENT;
|
|
}
|
|
|
|
}
|