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/data/appdata.js | 58 ++++++ js/data/menu-data.js | 399 +++++++++++++++++++++++++++++++++++++++ js/data/pi/pi-data.js | 512 ++++++++++++++++++++++++++++++++++++++++++++++++++ js/data/settings.js | 71 +++++++ js/data/tools-data.js | 245 ++++++++++++++++++++++++ 5 files changed, 1285 insertions(+) create mode 100644 js/data/appdata.js create mode 100644 js/data/menu-data.js create mode 100644 js/data/pi/pi-data.js create mode 100644 js/data/settings.js create mode 100644 js/data/tools-data.js (limited to 'js/data') diff --git a/js/data/appdata.js b/js/data/appdata.js new file mode 100644 index 00000000..0a6c4976 --- /dev/null +++ b/js/data/appdata.js @@ -0,0 +1,58 @@ +/* +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, + Component = require("montage/ui/component").Component; + +Keyboard = { + BACKSPACE:8, + TAB:9, + ENTER:13, + DELETE:46, + LEFT:37, + UP:38, + RIGHT:39, + DOWN:40, + ESCAPE: 27, + + A:65, + B:66, + C:67, + D:68, + E:69, + F:70, + G:71, + H:72, + I:73, + J:74, + K:75, + L:76, + M:77, + N:78, + O:79, + P:80, + Q:81, + R:82, + S:83, + T:84, + U:85, + V:86, + W:87, + X:88, + Y:89, + Z:90, + PLUS:187, + MINUS:189 +}; + +exports.AppData = Montage.create( Component, { + PILiveUpdate: { + value: false + } +}); + + + diff --git a/js/data/menu-data.js b/js/data/menu-data.js new file mode 100644 index 00000000..e9e47dc0 --- /dev/null +++ b/js/data/menu-data.js @@ -0,0 +1,399 @@ +/* +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.MenuData = Montage.create( Montage, { + topLevelMenu: { + value: [ + { + "header": "FILE", + "entries": [ + { + "displayText" : "New Project", + "hasSubMenu" : false, + "enabled": true, + "action": "executeNewProject" + }, + { + "displayText" : "New File", + "hasSubMenu" : false, + "enabled": true, + "action": "executeNewFile" + }, + { + "displayText" : "Open...", + "hasSubMenu" : false, + "enabled": true, + "action": "executeFileOpen" + }, + { + "displayText" : "", + "separator": true + }, + { + "displayText" : "Save", + "hasSubMenu" : false, + "enabled": false + }, + { + "displayText" : "Save As", + "hasSubMenu" : false, + "enabled": false + }, + { + "displayText" : "Save All", + "hasSubMenu" : false, + "enabled": false + }, + { + "displayText" : "", + "separator": true + }, + { + "displayText" : "Open Project", + "hasSubMenu" : false, + "enabled": true + }, + { + "displayText" : "Open Recent", + "hasSubMenu" : false, + "enabled": true + }, + { + "displayText" : "Close Project", + "hasSubMenu" : false, + "enabled": false + } + ] + }, + { + "header": "EDIT", + "entries": [ + { + "displayText" : "Undo", + "hasSubMenu" : false, + "enabled": { + "value": false, + "boundObj": "undocontroller", + "boundProperty": "canUndo" + }, + "action": "executeUndo" + }, + { + "displayText" : "Redo", + "hasSubMenu" : false, + "enabled": { + "value": false, + "boundObj": "undocontroller", + "boundProperty": "canRedo" + }, + "action": "executeRedo" + }, + { + "displayText" : "Cut", + "hasSubMenu" : false, + "enabled": true + }, + { + "displayText" : "Copy", + "hasSubMenu" : false, + "enabled": true + }, + { + "displayText" : "Paste", + "hasSubMenu" : false, + "enabled": true + } + ] + }, + { + "header": "VIEW", + "entries": [ + { + "displayText" : "Zoom In", + "hasSubMenu" : false, + "enabled": true + }, + { + "displayText" : "Zoom Out", + "hasSubMenu" : false, + "enabled": true + }, + { + "displayText" : "", + "separator": true + }, + { + "displayText" : "Live Preview", + "hasSubMenu" : false, + "enabled": true, + "checked": { + "value": false, + "boundProperty": "livePreview" + } + }, + { + "displayText" : "Layout View", + "hasSubMenu" : false, + "enabled": true, + "submenu": true, + "entries": [ + { + "displayText" : "View All", + "hasSubMenu" : false, + "radio": true, + "enabled": true, + "checked": { + "value": true, + "boundProperty": "layoutAll" + } + }, + { + "displayText" : "View Items Only", + "hasSubMenu" : false, + "radio": true, + "enabled": true, + "checked": { + "value": false, + "boundProperty": "layoutItems" + } + }, + { + "displayText" : "Off", + "hasSubMenu" : false, + "radio": true, + "enabled": true, + "checked": { + "value": false, + "boundProperty": "layoutOff" + } + } + ] + }, + { + "displayText" : "Snap", + "hasSubMenu" : false, + "enabled": true, + "checked": { + "value": true, + "boundProperty": "snap" + } + + }, + { + "displayText" : "Snap To", + "hasSubMenu" : false, + "enabled": { + "value": true, + "boundObj": "appModel", + "boundProperty": "snap" + }, + "submenu": true, + "entries": [ + { + "displayText" : "Grid", + "hasSubMenu" : false, + "enabled": true, + "checked": { + "value": true, + "boundProperty": "snapGrid" + } + }, + { + "displayText" : "Objects", + "hasSubMenu" : false, + "enabled": true, + "checked": { + "value": true, + "boundProperty": "snapObjects" + } + }, + { + "displayText" : "Snap Align", + "hasSubMenu" : false, + "enabled": true, + "checked": { + "value": true, + "boundProperty": "snapAlign" + } + } + ] + }, + { + "displayText" : "Show 3D Grid", + "hasSubMenu" : false, + "enabled": true, + "checked": { + "value": false, + "boundProperty": "show3dGrid" + } + }, + { + "displayText" : "", + "separator": true + }, + { + "displayText" : "Front View", + "hasSubMenu" : false, + "enabled": true, + "radio": true, + "checked": { + "value": true, + "boundProperty": "frontStageView" + } + }, + { + "displayText" : "Top View", + "hasSubMenu" : false, + "enabled": true, + "radio": true, + "checked": { + "value": true, + "boundProperty": "topStageView" + } + }, + { + "displayText" : "Side View", + "hasSubMenu" : false, + "enabled": true, + "radio": true, + "checked": { + "value": true, + "boundProperty": "sideStageView" + } + }, + { + "displayText" : "", + "separator": true + }, + { + "displayText" : "Debug", + "hasSubMenu" : false, + "enabled": true, + "checked": { + "value": true, + "boundProperty": "debug" + } + } + ] + }, + { + "header": "WINDOW", + "entries": [ + { + "displayText" : "Tools", + "hasSubMenu" : false, + "enabled": true + }, + { + "displayText" : "Timeline", + "hasSubMenu" : false, + "enabled": true + }, + { + "displayText" : "Properties", + "hasSubMenu" : false, + "enabled": true, + "checked": { + "value": true, + "boundProperty": "PropertiesPanel" + } + }, + { + "displayText" : "Project", + "hasSubMenu" : false, + "enabled": true, + "checked": { + "value": true, + "boundProperty": "ProjectPanel" + } + }, + { + "displayText" : "Color", + "hasSubMenu" : false, + "enabled": true, + "checked": { + "value": true, + "boundProperty": "ColorPanel" + } + }, + { + "displayText" : "Components", + "hasSubMenu" : false, + "enabled": true, + "checked": { + "value": true, + "boundProperty": "ComponentsPanel" + } + }, + { + "displayText" : "CSS", + "hasSubMenu" : false, + "enabled": true, + "checked": { + "value": true, + "boundProperty": "CSSPanel" + } + }, + { + "displayText" : "Materials", + "hasSubMenu" : false, + "enabled": true, + "checked": { + "value": true, + "boundProperty": "MaterialsPanel" + } + }, + { + "displayText" : "Code", + "hasSubMenu" : false, + "enabled": true + } + ] + }, + { + "header": "HELP", + "entries": [ + { + "displayText" : "About", + "hasSubMenu" : false, + "enabled": true + }, + { + "displayText" : "FAQ", + "hasSubMenu" : false, + "enabled": true + }, + { + "displayText" : "Forums", + "hasSubMenu" : false, + "enabled": true + } + ] + }, + { + "header": "TEST", + "entries": [ + { + "displayText" : "Open CSS View", + "hasSubMenu" : false, + "enabled": true + }, + { + "displayText" : "Open JS View", + "hasSubMenu" : false, + "enabled": true + } + ] + } + + ] + } +}); + + + diff --git a/js/data/pi/pi-data.js b/js/data/pi/pi-data.js new file mode 100644 index 00000000..f162e919 --- /dev/null +++ b/js/data/pi/pi-data.js @@ -0,0 +1,512 @@ +/* +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, + Component = require("montage/ui/component").Component; + +exports.PiData = Montage.create( Montage, { + + stagePi: { + value: [] + }, + + blockPi: { + value: [ + { + label: "Style", + + Section: [ + [ + { + type : "color", + id : "colorStroke", + prop: "border-color", + label : "Stroke" + }, + { + type : "color", + id : "colorFill", + prop: "background-color", + divider : true + } + ], + [ + { + type : "hottext", + id : "borderWidth", + prop : "border-width", + defaultValue: 0, + valueMutator: parseFloat, + label : "Border", + min : 0, + max : 100, + unit : "px", + acceptableUnits: ["pt", "px"] + } + ], + [ + { + type : "dropdown", + id : "borderStyle", + prop : "border-style", + defaultValue: "none", + label : "Style", + items : ["none","solid","hidden","dotted","dashed", "double","groove","ridge","inset","outset"], + divider : true + } + ], + [ + { + type : "dropdown", + id : "overflow", + prop : "overflow", + defaultValue: "visible", + label : "Overflow", + items : ["visible","hidden","scroll","auto","inherit"] + } + ] + ] + } + ] + }, + imagePi: { + value: [ + { + label: "Image Properties", + + Section: [ + [{ + type: "file", + id: "source", + prop: "src", + defaultValue: "", + label: "Source" + }], + [{ + type: "textbox", + id: "altText", + prop: "alt", + defaultValue: "", + label: "Alt Text" + }] + ] + }, + { + label: "Style", + + Section: [ + [ + { + type : "color", + id : "colorStroke", + label : "Stroke" + }, + { + type : "color", + id : "colorFill", + divider : true + } + ], + [ + { + type : "hottext", + id : "borderWidth", + prop : "border-width", + label : "Border", + min : 0, + max : 100, + unit : "px", + acceptableUnits: ["pt", "px"] + } + ], + [ + { + type : "dropdown", + id : "borderStyle", + prop : "border-style", + label : "Style", + items : ["none","solid","hidden","dotted","dashed", "double","groove","ridge","inset","outset"], + divider : true + } + ] + ] + } + ] + }, + videoPi: { + value: [ + { + label: "Video Properties", + + Section: [ + [ + { + type: "file", + id: "source", + prop: "src", + defaultValue: "", + label: "Source" + } + ], + [ + { + type: "file", + id: "poster", + prop: "poster", + defaultValue: "", + label: "Poster", + divider: true + } + ], + [ + { + type: "checkbox", + id: "autoplay", + prop: "autoplay", + defaultValue: false, + value: "Autoplay", + checked: true + }, + { + type: "checkbox", + id: "preload", + prop: "preload", + defaultValue: false, + value: "Preload", + divider: true + } + ], + [ + { + type: "checkbox", + id: "controls", + prop: "controls", + defaultValue: false, + value: "Controls", + checked: true + }, + { + type: "checkbox", + id: "loop", + prop: "loop", + defaultValue: false, + value: "Loop", + divider: true + } + ], + [ + { + type: "checkbox", + id: "muted", + prop: "muted", + defaultValue: false, + value: "Muted", + checked: true + } + ] + ] + } + ] + }, + canvasPi: { + value: [ + { + label: "Style", + + Section: [ + [ + { + type : "color", + id : "colorStroke", + prop: "border-color", + label : "Stroke" + }, + { + type : "color", + id : "colorFill", + prop: "background-color", + divider : true + } + ], + [ + { + type : "hottext", + id : "borderWidth", + prop : "border-width", + defaultValue: 0, + valueMutator: parseFloat, + label : "Border", + min : 0, + max : 100, + unit : "px", + acceptableUnits: ["pt", "px"] + } + ], + [ + { + type : "dropdown", + id : "borderStyle", + prop : "border-style", + defaultValue: "none", + label : "Style", + items : ["none","solid","hidden","dotted","dashed", "double","groove","ridge","inset","outset"], + divider : true + } + ], + [ + { + type : "dropdown", + id : "overflow", + prop : "overflow", + defaultValue: "visible", + label : "Overflow", + items : ["visible","hidden","scroll","auto","inherit"] + } + ] + ] + } + ] + }, + RectanglePi: { + value: [ + { + label: "Stroke and Fill", + + Section: [ + [ + { + type : "color", + id : "stroke" + }, + { + type : "color", + id : "fill", + divider : true + } + ], + [ + { + type : "hottext", + id : "strokeSize", + prop : "strokeSize", + label : "Stroke", + valueMutator: parseFloat, + min : 0, + max : 100, + value : 1, + unit : "px", + acceptableUnits: ["px", "pt"] + } + ] + ] + }, + { + label: "Corner Options", + + Section: [ + [ + { + type: "hottext", + id: "tlRadius", + prop : "tlRadius", + label: "TL", + value : 0, + min : 0, + max : 100, + unit : "%", + acceptableUnits: ["px", "pt", "%"] + }, + { + type : "hottext", + id : "trRadius", + prop : "trRadius", + label : "TR", + min : 0, + max : 100, + unit : "%", + acceptableUnits: ["px", "pt", "%"] + } + ], + [ + { + type : "hottext", + id : "blRadius", + prop : "blRadius", + label : "BL", + min : 0, + max : 100, + unit : "%", + acceptableUnits: ["px", "pt", "%"] + }, + { + type : "hottext", + id : "brRadius", + prop : "brRadius", + label : "BR", + min : 0, + max : 100, + unit : "%", + acceptableUnits: ["px", "pt", "%"] + } + ] + ] + }, + { + label: "Materials", + + Section: [ + [ + { + type: "dropdown", + id: "strokeMaterial", + label: "Stroke", + labelField: "_name", + items : { boundObject: "this.application.ninja.appModel", boundProperty: "materials" } + }, + { + type: "dropdown", + id: "fillMaterial", + label: "Fill", + labelField: "_name", + items : { boundObject: "this.application.ninja.appModel", boundProperty: "materials" } + } + ] + ] + } + ] + }, + LinePi: { + value: [ + { + label: "Stroke", + + Section: [ + [ + { + type : "color", + id : "stroke" + }, + { + type : "color", + id : "fill", + visible : false, + divider : true + } + ], + [ + { + type : "hottext", + id : "strokeSize", + prop : "strokeSize", + label : "Stroke", + valueMutator: parseFloat, + min : 0, + max : 100, + value : 1, + unit : "px", + acceptableUnits: ["pt", "px"] + } + ] + ] + }, + { + label: "Materials", + + Section: [ + [ + { + type: "dropdown", + id: "stroke", + label: "Stroke", + labelField: "_name", + items : { boundObject: "this.application.ninja.appModel", boundProperty: "materials" } + } + ] + ] + } + ] + }, + OvalPi: { + value: [ + { + label: "Stroke and Fill", + + Section: [ + [ + { + type : "color", + id : "stroke" + }, + { + type : "color", + id : "fill", + divider : true + } + ], + [ + { + type : "hottext", + id : "strokeSize", + prop : "strokeSize", + label : "Stroke", + valueMutator: parseFloat, + min : 0, + max : 100, + value : 1, + unit : "px", + acceptableUnits: ["pt", "px"] + } + ] + ] + }, + { + label: "Oval Options", + + Section: [ + [ + { + type: "hottext", + id: "innerRadius", + prop: "innerRadius", + label: "Inner Radius", + value : 0, + min : 0, + max : 100, + unit : "%", + acceptableUnits: ["%"] + + } + ] + ] + }, + { + label: "Materials", + + Section: [ + [ + { + type: "dropdown", + id: "strokeMaterial", + label: "Stroke", + labelFunction: function(item) { return item.getName(); }, + items : { boundObject: "this.application.ninja.appModel", boundProperty: "materials" } + }, + { + type: "dropdown", + id: "fillMaterial", + label: "Fill", + labelField: "_name", + items : { boundObject: "this.application.ninja.appModel", boundProperty: "materials" } + } + ] + ] + } + ] + } +}); + + + diff --git a/js/data/settings.js b/js/data/settings.js new file mode 100644 index 00000000..ffea2075 --- /dev/null +++ b/js/data/settings.js @@ -0,0 +1,71 @@ +/* +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, + Component = require("montage/ui/component").Component, + LocalStorage = require("js/controllers/local-storage-controller").LocalStorage; + +exports.Settings = Montage.create( Component, { + + version: { + value: "11.1213" + }, + + _settings: { + value: null + }, + + settings: { + get: function() { return this._settings; }, + set: function(value) { this._settings = value; } + }, + + getSetting: { + value: function(objName, fieldName, namespace) { + try { + objName = objName.replace(/-/gi, "_").replace(/\//gi, "zzSlash"); + return this.settings[objName][fieldName]; + } catch(e) { + return null; + } + } + }, + + setSetting: { + value: function(objName, fieldName, value, namespace) { + try { + objName = objName.replace(/-/gi, "_").replace(/\//gi, "zzSlash"); + + if(this.settings === null) { + this.settings = {}; + } + + if (this.settings[objName] == null) { + this.settings[objName] = {}; + } + + this.settings[objName][fieldName] = value; + + LocalStorage.setItem("settings", this.settings); + } catch(e) { + return null; + } + } + }, + + deserializedFromSerialization: { + value: function() { + + if (LocalStorage.getItem("version") != this.version) { + this.settings = {} + LocalStorage.setItem("version",this.version); + } else { + this.settings = LocalStorage.getItem("settings"); + } + + } + } +}); \ No newline at end of file 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 @@ +/* +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.ToolsData = Montage.create(Montage, { + + defaultToolsData: { + value: [ + { + "id": "SelectionTool", + "properties": "selectionProperties", + "spriteSheet": true, + "action": "SelectionTool", + "toolTip": "Selection Tool (V)", + "cursor": "auto", + "lastInGroup": false, + "container": false, + "selected": true + }, + { + "id": "SubselectionTool", + "properties": "subSelectionProperties", + "spriteSheet": true, + "action": "SubselectionTool", + "toolTip": "Subselect Tool", + "cursor": "auto", + "lastInGroup": false, + "container": false, + "selected": false + }, + { + "id": "RotateTool3D", + "properties": "rotate3DProperties", + "spriteSheet": true, + "action": "Rotate3DTool", + "toolTip": "3D Rotate Object Tool", + "cursor": "auto", + "lastInGroup": false, + "container": false, + "selected": false + }, + { + "id": "Translate3D", + "properties": "translate3DProperties", + "spriteSheet": true, + "action": "Translate3DTool", + "toolTip": "3D Translate Object Tool", + "cursor": "auto", + "lastInGroup": true, + "container": false, + "selected": false + }, + { + "id": "TagTool", + "properties": "tagProperties", + "spriteSheet": true, + "action": "TagTool", + "toolTip": "Tag Tool (D)", + "cursor": "url('images/cursors/Crosshair.png') 8 8, default", + "lastInGroup": false, + "container": false, + "selected": false + }, + { + "id": "PenTool", + "properties": "penProperties", + "spriteSheet": true, + "action": "PenTool", + "toolTip": "Pen Tool", + "cursor": "auto", + "lastInGroup": false, + "container": false, + "selected": false + }, + { + "id": "TextTool", + "properties": "textProperties", + "spriteSheet": true, + "action": "TextTool", + "toolTip": "Text Tool", + "cursor": "text", + "lastInGroup": false, + "container": false, + "selected": false + }, + { + "id": "ShapeContainer", + "properties": "shapeProperties", + "cursor": "url('images/cursors/Crosshair.png') 8 8, default", + "lastInGroup": false, + "container": true, + "subtools": [{ "id": "OvalTool", + "properties": "ovalProperties", + "spriteSheet": true, + "action": "OvalTool", + "toolTip": "Oval Tool (O)", + "lastInGroup": false, + "container": false, + "selected": false + }, + { + "id": "RectangleTool", + "properties": "rectProperties", + "spriteSheet": true, + "action": "RectTool", + "toolTip": "Rectangle Tool (R)", + "lastInGroup": false, + "container": false, + "selected": true + }, + { + "id": "LineTool", + "properties": "lineProperties", + "spriteSheet": true, + "action": "LineTool", + "toolTip": "Line Tool (L)", + "lastInGroup": false, + "container": false, + "selected": false + }], + "selected": false + }, + { + "id": "PencilTool", + "properties": "pencilProperties", + "spriteSheet": true, + "action": "PencilTool", + "toolTip": "Pencil Tool", + "cursor": "auto", + "lastInGroup": false, + "container": false, + "selected": false + }, + { + "id": "BrushTool", + "properties": "brushProperties", + "spriteSheet": true, + "action": "BrushTool", + "toolTip": "Brush Tool", + "cursor": "url('images/tools/brush_down.png'), default", + "lastInGroup": false, + "container": false, + "selected": false + }, + { + "id": "FillTool", + "properties": "fillProperties", + "spriteSheet": true, + "action": "FillTool", + "toolTip": "Fill Tool", + "cursor": "url('images/tools/bucket_down.png'), default", + "lastInGroup": false, + "container": false, + "selected": false + }, + { + "id": "InkBottleTool", + "properties": "inkbottleProperties", + "spriteSheet": true, + "action": "InkBottleTool", + "toolTip": "Ink Bottle Tool", + "cursor": "url('images/tools/inkbottle_down.png'), default", + "lastInGroup": false, + "container": false, + "selected": false + }, + { + "id": "EyedropperTool", + "properties": "eyedropperProperties", + "spriteSheet": true, + "action": "EyedropperTool", + "toolTip": "Eyedropper Tool", + "cursor": "url('images/tools/eyedropper_down.png'), default", + "lastInGroup": false, + "container": false, + "selected": false + }, + { + "id": "EraserTool", + "properties": "eraserProperties", + "spriteSheet": true, + "action": "EraserTool", + "toolTip": "Eraser Tool", + "cursor": "auto", + "lastInGroup": false, + "container": false, + "selected": false + }, + { + "id": "RotateStageTool3D", + "properties": "rotateStageProperties", + "spriteSheet": true, + "action": "RotateStageTool3D", + "toolTip": "3D Rotate Stage Tool", + "cursor": "auto", + "lastInGroup": false, + "container": false, + "selected": false + }, + { + "id": "PanTool", + "properties": "panProperties", + "spriteSheet": true, + "action": "PanTool", + "toolTip": "Pan Tool", + "cursor": "url('images/tools/hand_down.png'), default", + "lastInGroup": false, + "container": false, + "selected": false + }, + { + "id": "ZoomTool", + "properties": "zoomProperties", + "spriteSheet": true, + "action": "ZoomTool", + "toolTip": "Zoom Tool (Z)", + "cursor": "url('images/cursors/zoom.png'),default", + "lastInGroup": false, + "container": false, + "selected": false + } + ] + }, + + selectedTool : { + value: null + }, + + selectedSubTool : { + value: null + }, + + defaultSubToolsData : { + value: null + }, + + selectedToolInstance : { + value: null + } + +}); \ No newline at end of file -- cgit v1.2.3