View Javadoc
1   package org.kuali.student.common.ui.client.event;
2   
3   import org.kuali.student.common.ui.client.configurable.mvc.sections.Section;
4   import org.kuali.student.common.ui.client.mvc.UncheckedApplicationEvent;
5   
6   public class SectionUpdateEvent extends UncheckedApplicationEvent<SectionUpdateHandler>{
7       public static final Type<SectionUpdateHandler> TYPE = new Type<SectionUpdateHandler>();
8   	private Section section;
9   	
10  	public void setSection(Section section){
11  		this.section = section;
12  	}
13  	
14  	public Section getSection(){
15  		return section;
16  	}
17  
18  	@Override
19  	protected void dispatch(SectionUpdateHandler handler) {
20  		handler.onSectionUpdate(this);
21  	}
22  
23  	@Override
24  	public Type<SectionUpdateHandler> getAssociatedType() {
25  		return TYPE;
26  	}
27  
28  }