aboutsummaryrefslogtreecommitdiff
path: root/js/panels/binding/edit-binding-view.reel/edit-binding-view.html
diff options
context:
space:
mode:
authorEric Guzman2012-06-08 15:57:08 -0700
committerEric Guzman2012-06-08 15:57:08 -0700
commitd7e39dd2ff310b9f05676b7de49756036ab03514 (patch)
treee2172344da9dce58f11cb72ebc8cc63242a6494b /js/panels/binding/edit-binding-view.reel/edit-binding-view.html
parent6a27268ebf1cd5fa7bf8313eb5712fd5f6985758 (diff)
downloadninja-d7e39dd2ff310b9f05676b7de49756036ab03514.tar.gz
Binding Panel - Update edit view - populate binding arguments
Diffstat (limited to 'js/panels/binding/edit-binding-view.reel/edit-binding-view.html')
-rw-r--r--js/panels/binding/edit-binding-view.reel/edit-binding-view.html77
1 files changed, 55 insertions, 22 deletions
diff --git a/js/panels/binding/edit-binding-view.reel/edit-binding-view.html b/js/panels/binding/edit-binding-view.reel/edit-binding-view.html
index 1d502a3e..0c1abcee 100644
--- a/js/panels/binding/edit-binding-view.reel/edit-binding-view.html
+++ b/js/panels/binding/edit-binding-view.reel/edit-binding-view.html
@@ -16,27 +16,36 @@
16 "element": {"#": "edit-binding"} 16 "element": {"#": "edit-binding"}
17 } 17 }
18 }, 18 },
19 "objectsList" : { 19 "sourceObjectField": {
20 "prototype": "montage/ui/controller/array-controller", 20 "prototype": "js/components/hintable.reel",
21 "bindings" : {
22 "content": {"<-": "@owner.objectsList"}
23 }
24 },
25 "sourceObjectSelect": {
26 "prototype": "montage/ui/select-input.reel",
27 "properties": { 21 "properties": {
28 "element": {"#": "sourceObjectSelect"}, 22 "element": {"#": "sourceObjectField"}
29 "contentController": {"@": "objectsList"}
30 23
31 } 24 },
25 "bindings": {
26 "value": {"<-": "@owner.sourceObjectIdentifier"}
27 },
28 "listeners" : [
29 {
30 "type": "change",
31 "listener": {"@": "owner"}
32 }
33 ]
32 }, 34 },
33 "boundObjectSelect": { 35 "boundObjectField": {
34 "prototype": "montage/ui/select-input.reel", 36 "prototype": "js/components/hintable.reel",
35 "properties": { 37 "properties": {
36 "element": {"#": "boundObjectSelect"}, 38 "element": {"#": "boundObjectField"}
37 "contentController": {"@": "objectsList"} 39 },
38 40 "bindings": {
39 } 41 "value": {"<-": "@owner.boundObjectIdentifier"}
42 },
43 "listeners" : [
44 {
45 "type": "change",
46 "listener": {"@": "owner"}
47 }
48 ]
40 }, 49 },
41 "sourceObjectPropertyPathField": { 50 "sourceObjectPropertyPathField": {
42 "prototype": "js/components/hintable.reel", 51 "prototype": "js/components/hintable.reel",
@@ -69,6 +78,28 @@
69 "listener": {"@": "owner"} 78 "listener": {"@": "owner"}
70 } 79 }
71 ] 80 ]
81 },
82 "directionCheckbox": {
83 "prototype": "montage/ui/checkbox.reel",
84 "properties": {
85 "element": {"#": "direction-checkbox"}
86 },
87 "bindings": {
88 "checked": {"<-": "@owner.oneway"}
89 }
90 },
91 "closeButton" : {
92 "prototype": "montage/ui/button.reel",
93 "properties": {
94 "element": {"#": "close-button" },
95 "identifier": "closeButton"
96 },
97 "listeners": [
98 {
99 "type": "action",
100 "listener": {"@": "owner" }
101 }
102 ]
72 } 103 }
73 104
74 } 105 }
@@ -79,25 +110,27 @@
79 110
80 <ul> 111 <ul>
81 <li class="edit-source-object"> 112 <li class="edit-source-object">
82 <label>Source Object:</label><select data-montage-id="sourceObjectSelect" class="nj-skinned"></select> 113 <label>Source Object:</label><span data-montage-id="sourceObjectField" class="hintable-field">Test</span>
83 <br> 114 <br>
84 <label>Source Object Property Path:</label><span data-montage-id="so-pp" class="so-pp">Test</span> 115 <label>Source Object Property Path:</label><span data-montage-id="so-pp" class="hintable-field so-pp">Test</span>
85 </li> 116 </li>
86 117
87 <li class="edit-bound-object"> 118 <li class="edit-bound-object">
88 <label>Bound Object:</label><select data-montage-id="boundObjectSelect" class="nj-skinned"></select> 119 <label>Bound Object:</label><span data-montage-id="boundObjectField" class="hintable-field">Test</span>
89 <br> 120 <br>
90 <label>Bound Object Property Path:</label><span data-montage-id="bo-pp" class="bo-pp">Test</span> 121 <label>Bound Object Property Path:</label><span data-montage-id="bo-pp" class="hintable-field bo-pp">Test</span>
91 </li> 122 </li>
92 123
93 <li class="edit-general-properties"> 124 <li class="edit-general-properties">
94 <input data-montage-id="oneway-checkbox" type="checkbox" class="nj-skinned"><label>Oneway</label> 125 <input data-montage-id="direction-checkbox" type="checkbox" class="nj-skinned"><label>Oneway</label>
95 </li> 126 </li>
96 <li> 127 <li>
97 <label>Converter</label><span>Test</span> 128 <label>Converter</label><span>Test</span>
98 </li> 129 </li>
99 </ul> 130 </ul>
100 131
132 <button data-montage-id="close-button" class="nj-skinned">Close</button>
133
101</div> 134</div>
102</body> 135</body>
103</html> \ No newline at end of file 136</html> \ No newline at end of file