| 1 | |
package org.kuali.student.lum.program.client.events; |
| 2 | |
|
| 3 | |
import com.google.gwt.event.shared.EventHandler; |
| 4 | |
import com.google.gwt.event.shared.GwtEvent; |
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | 0 | public class ProgramViewEvent extends GwtEvent<ProgramViewEvent.Handler> { |
| 10 | |
|
| 11 | 0 | public static Type<Handler> TYPE = new Type<Handler>(); |
| 12 | |
|
| 13 | |
@Override |
| 14 | |
public Type<Handler> getAssociatedType() { |
| 15 | 0 | return TYPE; |
| 16 | |
} |
| 17 | |
|
| 18 | |
@Override |
| 19 | |
protected void dispatch(Handler handler) { |
| 20 | 0 | handler.onEvent(this); |
| 21 | 0 | } |
| 22 | |
|
| 23 | 0 | public static interface Handler extends EventHandler { |
| 24 | |
void onEvent(ProgramViewEvent event); |
| 25 | |
} |
| 26 | |
} |