36 lines
786 B
Java
36 lines
786 B
Java
package org.gcube.portlets.widgets.wsexplorer.client.event;
|
|
|
|
import com.google.gwt.event.shared.GwtEvent;
|
|
|
|
/**
|
|
*
|
|
*/
|
|
public class LoadRootEvent extends GwtEvent<LoadRootEventHandler> {
|
|
|
|
public static Type<LoadRootEventHandler> TYPE = new Type<LoadRootEventHandler>();
|
|
|
|
/**
|
|
* Instantiates a new double click event.
|
|
*
|
|
* @param target the target
|
|
*/
|
|
public LoadRootEvent() {
|
|
}
|
|
|
|
/* (non-Javadoc)
|
|
* @see com.google.gwt.event.shared.GwtEvent#getAssociatedType()
|
|
*/
|
|
@Override
|
|
public Type<LoadRootEventHandler> getAssociatedType() {
|
|
return TYPE;
|
|
}
|
|
|
|
/* (non-Javadoc)
|
|
* @see com.google.gwt.event.shared.GwtEvent#dispatch(com.google.gwt.event.shared.EventHandler)
|
|
*/
|
|
@Override
|
|
protected void dispatch(LoadRootEventHandler handler) {
|
|
handler.onLoadRoot(this);
|
|
}
|
|
}
|