52 lines
1.1 KiB
Java
52 lines
1.1 KiB
Java
package org.gcube.portlets.user.geoportaldataentry.client.events;
|
|
|
|
import com.google.gwt.event.shared.GwtEvent;
|
|
|
|
|
|
// TODO: Auto-generated Javadoc
|
|
/**
|
|
* The Class CreateNewProjectEvent.
|
|
*
|
|
* @author Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it)
|
|
*
|
|
* Oct 13, 2020
|
|
*/
|
|
public class CreateNewProjectEvent extends GwtEvent<CreateNewProjectEventHandler> {
|
|
|
|
/** The type. */
|
|
public static Type<CreateNewProjectEventHandler> TYPE = new Type<CreateNewProjectEventHandler>();
|
|
|
|
/**
|
|
* Instantiates a new cancel upload event.
|
|
*/
|
|
public CreateNewProjectEvent() {
|
|
}
|
|
|
|
/**
|
|
* Gets the associated type.
|
|
*
|
|
* @return the associated type
|
|
*/
|
|
/* (non-Javadoc)
|
|
* @see com.google.gwt.event.shared.GwtEvent#getAssociatedType()
|
|
*/
|
|
@Override
|
|
public Type<CreateNewProjectEventHandler> getAssociatedType() {
|
|
return TYPE;
|
|
}
|
|
|
|
/**
|
|
* Dispatch.
|
|
*
|
|
* @param handler the handler
|
|
*/
|
|
/* (non-Javadoc)
|
|
* @see com.google.gwt.event.shared.GwtEvent#dispatch(com.google.gwt.event.shared.EventHandler)
|
|
*/
|
|
@Override
|
|
protected void dispatch(CreateNewProjectEventHandler handler) {
|
|
handler.onCreateNewProject(this);
|
|
}
|
|
|
|
}
|