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