1 | /* InitAppEvent.as */
|
---|
2 |
|
---|
3 | package gov.va.med.edp.control
|
---|
4 | {
|
---|
5 | import com.adobe.cairngorm.control.CairngormEvent;
|
---|
6 |
|
---|
7 | import flash.events.Event;
|
---|
8 |
|
---|
9 | public class InitAppEvent extends CairngormEvent
|
---|
10 | {
|
---|
11 | public static const EVENT_INIT_APP:String = "initApp";
|
---|
12 |
|
---|
13 | public static const SERVICE_USE_VLJ: int = 0;
|
---|
14 | public static const SERVICE_USE_CSP: int = 1
|
---|
15 | public static const SERVICE_USE_MOCK: int = 2;
|
---|
16 |
|
---|
17 | public static const SITE_ID: String = "siteId";
|
---|
18 |
|
---|
19 | public var server: String = "";
|
---|
20 | public var mode: int = 0;
|
---|
21 | public var token: String = "";
|
---|
22 | public var appName: String = "";
|
---|
23 | public var contextRoot: String = "";
|
---|
24 | public var protocol: String = "";
|
---|
25 | public var helpContextRoot: String = "";
|
---|
26 | public var siteId: String = "";
|
---|
27 | public var areaName: String = "";
|
---|
28 | public var timeout: Boolean = false;
|
---|
29 |
|
---|
30 | public function InitAppEvent(type:String, bubbles:Boolean=true, cancelable:Boolean=false)
|
---|
31 | {
|
---|
32 | super(type, bubbles, cancelable);
|
---|
33 | }
|
---|
34 |
|
---|
35 | override public function clone():Event
|
---|
36 | {
|
---|
37 | return new InitAppEvent(type);
|
---|
38 | }
|
---|
39 | }
|
---|
40 | }
|
---|