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