diff options
author | Pierre Frisch | 2011-12-22 07:25:50 -0800 |
---|---|---|
committer | Valerio Virgillito | 2012-01-27 11:18:17 -0800 |
commit | b89a7ee8b956c96a1dcee995ea840feddc5d4b27 (patch) | |
tree | 0f3136ab0ecdbbbed6a83576581af0a53124d6f1 /js/models/element-model.js | |
parent | 2401f05d1f4b94d45e4568b81fc73e67b969d980 (diff) | |
download | ninja-b89a7ee8b956c96a1dcee995ea840feddc5d4b27.tar.gz |
First commit of Ninja to ninja-internal
Signed-off-by: Valerio Virgillito <rmwh84@motorola.com>
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 | ||