60 lines
1.4 KiB
Java
60 lines
1.4 KiB
Java
package org.gcube.portlets.user.dataminermanagertester.client.application.monitor;
|
|
|
|
import com.google.gwt.event.shared.EventHandler;
|
|
import com.google.gwt.event.shared.GwtEvent;
|
|
import com.google.gwt.event.shared.HandlerRegistration;
|
|
import com.google.gwt.event.shared.HasHandlers;
|
|
|
|
/**
|
|
* Monitor Request Event
|
|
*
|
|
* @author Giancarlo Panichi
|
|
*
|
|
*
|
|
*/
|
|
public class MonitorRequestEvent extends
|
|
GwtEvent<MonitorRequestEvent.MonitorRequestEventHandler> {
|
|
|
|
public static Type<MonitorRequestEventHandler> TYPE = new Type<MonitorRequestEventHandler>();
|
|
|
|
|
|
public interface MonitorRequestEventHandler extends EventHandler {
|
|
void onMonitor(MonitorRequestEvent event);
|
|
***REMOVED***
|
|
|
|
public interface HasMonitorRequestEventHandler extends HasHandlers {
|
|
public HandlerRegistration addMonitorRequestEventHandler(
|
|
MonitorRequestEventHandler handler);
|
|
***REMOVED***
|
|
|
|
public MonitorRequestEvent() {
|
|
|
|
***REMOVED***
|
|
|
|
@Override
|
|
protected void dispatch(MonitorRequestEventHandler handler) {
|
|
handler.onMonitor(this);
|
|
***REMOVED***
|
|
|
|
@Override
|
|
public Type<MonitorRequestEventHandler> getAssociatedType() {
|
|
return TYPE;
|
|
***REMOVED***
|
|
|
|
public static Type<MonitorRequestEventHandler> getType() {
|
|
return TYPE;
|
|
***REMOVED***
|
|
|
|
public static void fire(HasHandlers source, MonitorRequestEvent event) {
|
|
source.fireEvent(event);
|
|
***REMOVED***
|
|
|
|
@Override
|
|
public String toString() {
|
|
return "MonitorRequestEvent []";
|
|
***REMOVED***
|
|
|
|
|
|
|
|
|
|
***REMOVED*** |