diff options
Diffstat (limited to 'js/models/element-model.js')
-rw-r--r-- | js/models/element-model.js | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/js/models/element-model.js b/js/models/element-model.js new file mode 100644 index 00000000..6e1ac07a --- /dev/null +++ b/js/models/element-model.js | |||
@@ -0,0 +1,42 @@ | |||
1 | /* <copyright> | ||
2 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | ||
3 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | ||
4 | (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. | ||
5 | </copyright> */ | ||
6 | |||
7 | var Montage = require("montage/core/core").Montage; | ||
8 | |||
9 | exports.ElementModel = Montage.create(Montage, { | ||
10 | |||
11 | type: { value: null }, // Tag type that was created | ||
12 | selection: { value: null }, // Selection string | ||
13 | controller: { value: null }, // Controller Class | ||
14 | pi: { value: null }, | ||
15 | |||
16 | id: { value: "" }, | ||
17 | classList: { value: null }, | ||
18 | |||
19 | defaultRule: { value: null }, | ||
20 | |||
21 | top: { value: null }, | ||
22 | left: { value: null }, | ||
23 | width: { value: null }, | ||
24 | height: { value: null }, | ||
25 | |||
26 | /** | ||
27 | * Properties 3D | ||
28 | */ | ||
29 | props3D: { value: null }, | ||
30 | |||
31 | /** | ||
32 | * Shape Info | ||
33 | */ | ||
34 | isShape: { value: false }, | ||
35 | shapeModel: { value: null }, | ||
36 | |||
37 | /** | ||
38 | * SnapManager 2d Snap Cache Info | ||
39 | */ | ||
40 | isIn2DSnapCache : { value: false } | ||
41 | |||
42 | }); \ No newline at end of file | ||