Coverage Report - org.kuali.student.lum.program.client.events.RemoveSpecializationEvent
 
Classes in this File Line Coverage Branch Coverage Complexity
RemoveSpecializationEvent
0%
0/8
N/A
1
RemoveSpecializationEvent$Handler
N/A
N/A
1
 
 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  
  * @author Igor
 8  
  */
 9  0
 public class RemoveSpecializationEvent extends GwtEvent<RemoveSpecializationEvent.Handler> {
 10  
 
 11  0
     public static Type<Handler> TYPE = new Type<Handler>();
 12  
 
 13  
     private String id;
 14  
 
 15  0
     public RemoveSpecializationEvent(String id) {
 16  0
         this.id = id;
 17  0
     }
 18  
 
 19  
     @Override
 20  
     public Type<Handler> getAssociatedType() {
 21  0
         return TYPE;
 22  
     }
 23  
 
 24  
     @Override
 25  
     protected void dispatch(Handler handler) {
 26  0
         handler.onEvent(this);
 27  0
     }
 28  
 
 29  
     public static interface Handler extends EventHandler {
 30  
         void onEvent(RemoveSpecializationEvent event);
 31  
     }
 32  
 }