From b89a7ee8b956c96a1dcee995ea840feddc5d4b27 Mon Sep 17 00:00:00 2001 From: Pierre Frisch Date: Thu, 22 Dec 2011 07:25:50 -0800 Subject: First commit of Ninja to ninja-internal Signed-off-by: Valerio Virgillito --- js/models/element-model.js | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 js/models/element-model.js (limited to 'js/models/element-model.js') 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 @@ +/* +This file contains proprietary software owned by Motorola Mobility, Inc.
+No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
+(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved. +
*/ + +var Montage = require("montage/core/core").Montage; + +exports.ElementModel = Montage.create(Montage, { + + type: { value: null }, // Tag type that was created + selection: { value: null }, // Selection string + controller: { value: null }, // Controller Class + pi: { value: null }, + + id: { value: "" }, + classList: { value: null }, + + defaultRule: { value: null }, + + top: { value: null }, + left: { value: null }, + width: { value: null }, + height: { value: null }, + + /** + * Properties 3D + */ + props3D: { value: null }, + + /** + * Shape Info + */ + isShape: { value: false }, + shapeModel: { value: null }, + + /** + * SnapManager 2d Snap Cache Info + */ + isIn2DSnapCache : { value: false } + +}); \ No newline at end of file -- cgit v1.2.3