source: EDIS/trunk/java/tracking-ui-core/src/main/flex/gov/va/med/edp/command/ClearUnsavedViewsModelCommand.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: 735 bytes
Line 
1/* ClearUnsavedViewsModelCommand.as */
2
3package gov.va.med.edp.command
4{
5 import com.adobe.cairngorm.commands.ICommand;
6 import com.adobe.cairngorm.control.CairngormEvent;
7
8 import gov.va.med.edp.model.TrackingModelLocator;
9
10 public class ClearUnsavedViewsModelCommand implements ICommand
11 {
12 private var model:TrackingModelLocator = TrackingModelLocator.getInstance();
13
14 public function execute(event:CairngormEvent):void
15 {
16 //clear all dirty flags
17 model.logEdit.dirty = false;
18 model.config.bedMods = false;
19 model.config.boardMods = false;
20 model.config.colorMods = false;
21 model.config.paramMods = false;
22 model.config.selectionMods = false;
23 model.config.staffMods = false;
24 }
25 }
26}
Note: See TracBrowser for help on using the repository browser.