source: EDIS/trunk/java/tracking-ui-core/src/main/flex/gov/va/med/edp/control/ClearUnsavedViewsModelEvent.as@ 1227

Last change on this file since 1227 was 1227, checked in by George Lilly, 13 years ago

initial load of EDIS 1.0

File size: 873 bytes
Line 
1/* ClearUnsavedViewsModelEvent.as */
2
3package gov.va.med.edp.control
4{
5 import com.adobe.cairngorm.control.CairngormEvent;
6
7 import flash.events.Event;
8
9 public class ClearUnsavedViewsModelEvent extends CairngormEvent
10 {
11 public static const EVENT_CLEAR_UNSAVED_VIEWS:String = "clearUnsavedViewsModel";
12
13 public function ClearUnsavedViewsModelEvent(type:String, bubbles:Boolean=true, cancelable:Boolean=false)
14 {
15 super(type, bubbles, cancelable);
16 }
17
18 override public function clone():Event
19 {
20 return new ClearUnsavedViewsModelEvent(type);
21 }
22
23 public static function dispatchClearUnsavedViews():void {
24 var clearUnsavedViewsEvent: ClearUnsavedViewsModelEvent = new ClearUnsavedViewsModelEvent(ClearUnsavedViewsModelEvent.EVENT_CLEAR_UNSAVED_VIEWS);
25 clearUnsavedViewsEvent.dispatch();
26 }
27 }
28}
Note: See TracBrowser for help on using the repository browser.