aboutsummaryrefslogtreecommitdiff
path: root/js/data/tools-data.js
diff options
context:
space:
mode:
authorPierre Frisch2011-12-22 07:25:50 -0800
committerValerio Virgillito2012-01-27 11:18:17 -0800
commitb89a7ee8b956c96a1dcee995ea840feddc5d4b27 (patch)
tree0f3136ab0ecdbbbed6a83576581af0a53124d6f1 /js/data/tools-data.js
parent2401f05d1f4b94d45e4568b81fc73e67b969d980 (diff)
downloadninja-b89a7ee8b956c96a1dcee995ea840feddc5d4b27.tar.gz
First commit of Ninja to ninja-internal
Signed-off-by: Valerio Virgillito <rmwh84@motorola.com>
Diffstat (limited to 'js/data/tools-data.js')
-rw-r--r--js/data/tools-data.js245
1 files changed, 245 insertions, 0 deletions
diff --git a/js/data/tools-data.js b/js/data/tools-data.js
new file mode 100644
index 00000000..8ea84574
--- /dev/null
+++ b/js/data/tools-data.js
@@ -0,0 +1,245 @@
1/* <copyright>
2This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
3No 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
7var Montage = require("montage/core/core").Montage;
8
9exports.ToolsData = Montage.create(Montage, {
10
11 defaultToolsData: {
12 value: [
13 {
14 "id": "SelectionTool",
15 "properties": "selectionProperties",
16 "spriteSheet": true,
17 "action": "SelectionTool",
18 "toolTip": "Selection Tool (V)",
19 "cursor": "auto",
20 "lastInGroup": false,
21 "container": false,
22 "selected": true
23 },
24 {
25 "id": "SubselectionTool",
26 "properties": "subSelectionProperties",
27 "spriteSheet": true,
28 "action": "SubselectionTool",
29 "toolTip": "Subselect Tool",
30 "cursor": "auto",
31 "lastInGroup": false,
32 "container": false,
33 "selected": false
34 },
35 {
36 "id": "RotateTool3D",
37 "properties": "rotate3DProperties",
38 "spriteSheet": true,
39 "action": "Rotate3DTool",
40 "toolTip": "3D Rotate Object Tool",
41 "cursor": "auto",
42 "lastInGroup": false,
43 "container": false,
44 "selected": false
45 },
46 {
47 "id": "Translate3D",
48 "properties": "translate3DProperties",
49 "spriteSheet": true,
50 "action": "Translate3DTool",
51 "toolTip": "3D Translate Object Tool",
52 "cursor": "auto",
53 "lastInGroup": true,
54 "container": false,
55 "selected": false
56 },
57 {
58 "id": "TagTool",
59 "properties": "tagProperties",
60 "spriteSheet": true,
61 "action": "TagTool",
62 "toolTip": "Tag Tool (D)",
63 "cursor": "url('images/cursors/Crosshair.png') 8 8, default",
64 "lastInGroup": false,
65 "container": false,
66 "selected": false
67 },
68 {
69 "id": "PenTool",
70 "properties": "penProperties",
71 "spriteSheet": true,
72 "action": "PenTool",
73 "toolTip": "Pen Tool",
74 "cursor": "auto",
75 "lastInGroup": false,
76 "container": false,
77 "selected": false
78 },
79 {
80 "id": "TextTool",
81 "properties": "textProperties",
82 "spriteSheet": true,
83 "action": "TextTool",
84 "toolTip": "Text Tool",
85 "cursor": "text",
86 "lastInGroup": false,
87 "container": false,
88 "selected": false
89 },
90 {
91 "id": "ShapeContainer",
92 "properties": "shapeProperties",
93 "cursor": "url('images/cursors/Crosshair.png') 8 8, default",
94 "lastInGroup": false,
95 "container": true,
96 "subtools": [{ "id": "OvalTool",
97 "properties": "ovalProperties",
98 "spriteSheet": true,
99 "action": "OvalTool",
100 "toolTip": "Oval Tool (O)",
101 "lastInGroup": false,
102 "container": false,
103 "selected": false
104 },
105 {
106 "id": "RectangleTool",
107 "properties": "rectProperties",
108 "spriteSheet": true,
109 "action": "RectTool",
110 "toolTip": "Rectangle Tool (R)",
111 "lastInGroup": false,
112 "container": false,
113 "selected": true
114 },
115 {
116 "id": "LineTool",
117 "properties": "lineProperties",
118 "spriteSheet": true,
119 "action": "LineTool",
120 "toolTip": "Line Tool (L)",
121 "lastInGroup": false,
122 "container": false,
123 "selected": false
124 }],
125 "selected": false
126 },
127 {
128 "id": "PencilTool",
129 "properties": "pencilProperties",
130 "spriteSheet": true,
131 "action": "PencilTool",
132 "toolTip": "Pencil Tool",
133 "cursor": "auto",
134 "lastInGroup": false,
135 "container": false,
136 "selected": false
137 },
138 {
139 "id": "BrushTool",
140 "properties": "brushProperties",
141 "spriteSheet": true,
142 "action": "BrushTool",
143 "toolTip": "Brush Tool",
144 "cursor": "url('images/tools/brush_down.png'), default",
145 "lastInGroup": false,
146 "container": false,
147 "selected": false
148 },
149 {
150 "id": "FillTool",
151 "properties": "fillProperties",
152 "spriteSheet": true,
153 "action": "FillTool",
154 "toolTip": "Fill Tool",
155 "cursor": "url('images/tools/bucket_down.png'), default",
156 "lastInGroup": false,
157 "container": false,
158 "selected": false
159 },
160 {
161 "id": "InkBottleTool",
162 "properties": "inkbottleProperties",
163 "spriteSheet": true,
164 "action": "InkBottleTool",
165 "toolTip": "Ink Bottle Tool",
166 "cursor": "url('images/tools/inkbottle_down.png'), default",
167 "lastInGroup": false,
168 "container": false,
169 "selected": false
170 },
171 {
172 "id": "EyedropperTool",
173 "properties": "eyedropperProperties",
174 "spriteSheet": true,
175 "action": "EyedropperTool",
176 "toolTip": "Eyedropper Tool",
177 "cursor": "url('images/tools/eyedropper_down.png'), default",
178 "lastInGroup": false,
179 "container": false,
180 "selected": false
181 },
182 {
183 "id": "EraserTool",
184 "properties": "eraserProperties",
185 "spriteSheet": true,
186 "action": "EraserTool",
187 "toolTip": "Eraser Tool",
188 "cursor": "auto",
189 "lastInGroup": false,
190 "container": false,
191 "selected": false
192 },
193 {
194 "id": "RotateStageTool3D",
195 "properties": "rotateStageProperties",
196 "spriteSheet": true,
197 "action": "RotateStageTool3D",
198 "toolTip": "3D Rotate Stage Tool",
199 "cursor": "auto",
200 "lastInGroup": false,
201 "container": false,
202 "selected": false
203 },
204 {
205 "id": "PanTool",
206 "properties": "panProperties",
207 "spriteSheet": true,
208 "action": "PanTool",
209 "toolTip": "Pan Tool",
210 "cursor": "url('images/tools/hand_down.png'), default",
211 "lastInGroup": false,
212 "container": false,
213 "selected": false
214 },
215 {
216 "id": "ZoomTool",
217 "properties": "zoomProperties",
218 "spriteSheet": true,
219 "action": "ZoomTool",
220 "toolTip": "Zoom Tool (Z)",
221 "cursor": "url('images/cursors/zoom.png'),default",
222 "lastInGroup": false,
223 "container": false,
224 "selected": false
225 }
226 ]
227 },
228
229 selectedTool : {
230 value: null
231 },
232
233 selectedSubTool : {
234 value: null
235 },
236
237 defaultSubToolsData : {
238 value: null
239 },
240