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 public class RemoveSpecializationEvent extends GwtEvent<RemoveSpecializationEvent.Handler> {
10
11 public static Type<Handler> TYPE = new Type<Handler>();
12
13 private String id;
14
15 public RemoveSpecializationEvent(String id) {
16 this.id = id;
17 }
18
19 @Override
20 public Type<Handler> getAssociatedType() {
21 return TYPE;
22 }
23
24 @Override
25 protected void dispatch(Handler handler) {
26 handler.onEvent(this);
27 }
28
29 public static interface Handler extends EventHandler {
30 void onEvent(RemoveSpecializationEvent event);
31 }
32 }