aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rwxr-xr-xjs/components/layout/tools-list.reel/tools-list.html4
-rwxr-xr-xjs/components/layout/tools-properties.reel/tools-properties.html10
-rwxr-xr-xjs/components/tools-properties/binding-properties.reel/binding-properties.css17
-rwxr-xr-xjs/components/tools-properties/binding-properties.reel/binding-properties.html35
-rwxr-xr-xjs/components/tools-properties/binding-properties.reel/binding-properties.js25
-rw-r--r--js/controllers/objects-controller.js59
-rw-r--r--js/data/panels-data.js33
-rwxr-xr-xjs/data/tools-data.js11
-rwxr-xr-xjs/ninja.reel/ninja.html5
-rwxr-xr-xjs/ninja.reel/ninja.js20
-rwxr-xr-xjs/panels/Panel.reel/Panel.js10
-rwxr-xr-xjs/panels/PanelContainer.reel/PanelContainer.html20
-rwxr-xr-xjs/panels/PanelContainer.reel/PanelContainer.js29
-rw-r--r--js/panels/binding-panel.reel/binding-panel.css0
-rw-r--r--js/panels/binding-panel.reel/binding-panel.html28
-rw-r--r--js/panels/binding-panel.reel/binding-panel.js12
-rw-r--r--js/panels/objects/object.reel/object.css28
-rw-r--r--js/panels/objects/object.reel/object.html47
-rw-r--r--js/panels/objects/object.reel/object.js101
-rw-r--r--js/panels/objects/objects-panel.reel/objects-panel.css37
-rw-r--r--js/panels/objects/objects-panel.reel/objects-panel.html70
-rw-r--r--js/panels/objects/objects-panel.reel/objects-panel.js53
-rwxr-xr-xjs/stage/binding-view.reel/binding-hud.reel/binding-hud.css5
-rwxr-xr-xjs/stage/binding-view.reel/binding-hud.reel/binding-hud.html47
-rwxr-xr-xjs/stage/binding-view.reel/binding-hud.reel/binding-hud.js16
-rwxr-xr-xjs/stage/binding-view.reel/binding-view.css5
-rwxr-xr-xjs/stage/binding-view.reel/binding-view.html55
-rwxr-xr-xjs/stage/binding-view.reel/binding-view.js26
-rw-r--r--js/tools/bindingTool.js68
29 files changed, 868 insertions, 8 deletions
diff --git a/js/components/layout/tools-list.reel/tools-list.html b/js/components/layout/tools-list.reel/tools-list.html
index d5c33624..cbbcace4 100755
--- a/js/components/layout/tools-list.reel/tools-list.html
+++ b/js/components/layout/tools-list.reel/tools-list.html
@@ -103,6 +103,9 @@
103 "ZoomTool1": { 103 "ZoomTool1": {
104 "prototype": "js/tools/ZoomTool" 104 "prototype": "js/tools/ZoomTool"
105 }, 105 },
106 "BindingTool1": {
107 "prototype": "js/tools/BindingTool"
108 },
106 109
107 "disable": { 110 "disable": {
108 "prototype": "montage/ui/condition.reel", 111 "prototype": "montage/ui/condition.reel",
@@ -139,6 +142,7 @@
139 "RotateStageTool3D": {"@": "RotateStageTool3D1"}, 142 "RotateStageTool3D": {"@": "RotateStageTool3D1"},
140 "PanTool": {"@": "PanTool1"}, 143 "PanTool": {"@": "PanTool1"},
141 "ZoomTool": {"@": "ZoomTool1"}, 144 "ZoomTool": {"@": "ZoomTool1"},
145 "bindingTool": {"@": "BindingTool1"},
142 "components": [ 146 "components": [
143 {"@": "repetition1"} 147 {"@": "repetition1"}
144 ] 148 ]
diff --git a/js/components/layout/tools-properties.reel/tools-properties.html b/js/components/layout/tools-properties.reel/tools-properties.html
index e7d1ac8b..ffaa0fca 100755
--- a/js/components/layout/tools-properties.reel/tools-properties.html
+++ b/js/components/layout/tools-properties.reel/tools-properties.html
@@ -102,6 +102,12 @@
102 "element": {"#": "zoomProperties"} 102 "element": {"#": "zoomProperties"}
103 } 103 }
104 }, 104 },
105 "bindingProperties1": {
106 "prototype": "js/components/tools-properties/binding-properties.reel",
107 "properties": {
108 "element": {"#": "bindingProperties"}
109 }
110 },
105 111
106 "disable": { 112 "disable": {
107 "prototype": "montage/ui/condition.reel", 113 "prototype": "montage/ui/condition.reel",
@@ -134,7 +140,8 @@
134 "eraserProperties": {"@": "eraserProperties1"}, 140 "eraserProperties": {"@": "eraserProperties1"},
135 "rotateStageProperties": {"@": "rotateStageProperties1"}, 141 "rotateStageProperties": {"@": "rotateStageProperties1"},
136 "panProperties": {"@": "panProperties1"}, 142 "panProperties": {"@": "panProperties1"},
137 "zoomProperties": {"@": "zoomProperties1"} 143 "zoomProperties": {"@": "zoomProperties1"},
144 "bindingProperties": {"@": "bindingProperties1"}
138 }, 145 },
139 "bindings": { 146 "bindings": {
140 "currentSelectedTool": { 147 "currentSelectedTool": {
@@ -164,6 +171,7 @@
164 <div data-montage-id="rotateStageProperties"></div> 171 <div data-montage-id="rotateStageProperties"></div>
165 <div data-montage-id="panProperties"></div> 172 <div data-montage-id="panProperties"></div>
166 <div data-montage-id="zoomProperties"></div> 173 <div data-montage-id="zoomProperties"></div>
174 <div data-montage-id="bindingProperties"></div>
167 <div data-montage-id="disabledCondition" class="panelDisabled"></div> 175 <div data-montage-id="disabledCondition" class="panelDisabled"></div>
168 </div> 176 </div>
169 </body> 177 </body>
diff --git a/js/components/tools-properties/binding-properties.reel/binding-properties.css b/js/components/tools-properties/binding-properties.reel/binding-properties.css
new file mode 100755
index 00000000..19d2b6c6
--- /dev/null
+++ b/js/components/tools-properties/binding-properties.reel/binding-properties.css
@@ -0,0 +1,17 @@
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.bindingSubTools {
8 padding:9px;
9 font-size:12px;
10}
11
12.bindingSubTools label {
13
14}
15.bindingSubTools input[type=checkbox] {
16 margin: 0px 3px;
17} \ No newline at end of file
diff --git a/js/components/tools-properties/binding-properties.reel/binding-properties.html b/js/components/tools-properties/binding-properties.reel/binding-properties.html
new file mode 100755
index 00000000..cd0e0a50
--- /dev/null
+++ b/js/components/tools-properties/binding-properties.reel/binding-properties.html
@@ -0,0 +1,35 @@
1<!DOCTYPE HTML>
2<!-- <copyright>
3 This file contains proprietary software owned by Motorola Mobility, Inc.<br/>
4 No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/>
5 (c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
6 </copyright> -->
7<html>
8 <head>
9 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
10 <link rel="stylesheet" type="text/css" href="binding-properties.css">
11
12 <script type="text/montage-serialization">
13 {
14
15 "owner": {
16 "prototype": "js/components/tools-properties/binding-properties.reel",
17 "properties": {
18 "element": {"#": "bindingProperties"}
19 }
20 }
21 }
22 </script>
23
24 </head>
25
26 <body>
27 <div id="bindingProperties" class="subToolHolderPanel bindingSubTools">
28 <input class="nj-skinned" type="checkbox" />
29 <label>View All Bindings</label>
30 </div>
31 </body>
32
33</html>
34
35 \ No newline at end of file
diff --git a/js/components/tools-properties/binding-properties.reel/binding-properties.js b/js/components/tools-properties/binding-properties.reel/binding-properties.js
new file mode 100755
index 00000000..8d30d855
--- /dev/null
+++ b/js/components/tools-properties/binding-properties.reel/binding-properties.js
@@ -0,0 +1,25 @@
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;
8var Component = require("montage/ui/component").Component;
9var ToolProperties = require("js/components/tools-properties/tool-properties").ToolProperties;
10
11exports.BindingProperties = Montage.create(ToolProperties, {
12
13 _subPrepare: {
14 value: function() {
15
16 }
17 },
18
19 handleClick: {
20 value: function(event) {
21
22 }
23 }
24
25}); \ No newline at end of file
diff --git a/js/controllers/objects-controller.js b/js/controllers/objects-controller.js
new file mode 100644
index 00000000..70a3974c
--- /dev/null
+++ b/js/controllers/objects-controller.js
@@ -0,0 +1,59 @@
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