From a5387d3cc74350dd06ecab2c8524d63d7540e57f Mon Sep 17 00:00:00 2001
From: Eric Guzman
Date: Mon, 4 Jun 2012 16:37:09 -0700
Subject: Binding Panel - Add edit view
---
.../edit-binding-view.reel/edit-binding-view.html | 103 +++++++++++++++++++++
1 file changed, 103 insertions(+)
create mode 100644 js/panels/binding/edit-binding-view.reel/edit-binding-view.html
(limited to 'js/panels/binding/edit-binding-view.reel/edit-binding-view.html')
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
new file mode 100644
index 00000000..1d502a3e
--- /dev/null
+++ b/js/panels/binding/edit-binding-view.reel/edit-binding-view.html
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
--
cgit v1.2.3
From d7e39dd2ff310b9f05676b7de49756036ab03514 Mon Sep 17 00:00:00 2001
From: Eric Guzman
Date: Fri, 8 Jun 2012 15:57:08 -0700
Subject: Binding Panel - Update edit view - populate binding arguments
---
.../edit-binding-view.reel/edit-binding-view.html | 77 +++++++++++++++-------
1 file changed, 55 insertions(+), 22 deletions(-)
(limited to 'js/panels/binding/edit-binding-view.reel/edit-binding-view.html')
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 @@
"element": {"#": "edit-binding"}
}
},
- "objectsList" : {
- "prototype": "montage/ui/controller/array-controller",
- "bindings" : {
- "content": {"<-": "@owner.objectsList"}
- }
- },
- "sourceObjectSelect": {
- "prototype": "montage/ui/select-input.reel",
+ "sourceObjectField": {
+ "prototype": "js/components/hintable.reel",
"properties": {
- "element": {"#": "sourceObjectSelect"},
- "contentController": {"@": "objectsList"}
+ "element": {"#": "sourceObjectField"}
- }
+ },
+ "bindings": {
+ "value": {"<-": "@owner.sourceObjectIdentifier"}
+ },
+ "listeners" : [
+ {
+ "type": "change",
+ "listener": {"@": "owner"}
+ }
+ ]
},
- "boundObjectSelect": {
- "prototype": "montage/ui/select-input.reel",
+ "boundObjectField": {
+ "prototype": "js/components/hintable.reel",
"properties": {
- "element": {"#": "boundObjectSelect"},
- "contentController": {"@": "objectsList"}
-
- }
+ "element": {"#": "boundObjectField"}
+ },
+ "bindings": {
+ "value": {"<-": "@owner.boundObjectIdentifier"}
+ },
+ "listeners" : [
+ {
+ "type": "change",
+ "listener": {"@": "owner"}
+ }
+ ]
},
"sourceObjectPropertyPathField": {
"prototype": "js/components/hintable.reel",
@@ -69,6 +78,28 @@
"listener": {"@": "owner"}
}
]
+ },
+ "directionCheckbox": {
+ "prototype": "montage/ui/checkbox.reel",
+ "properties": {
+ "element": {"#": "direction-checkbox"}
+ },
+ "bindings": {
+ "checked": {"<-": "@owner.oneway"}
+ }
+ },
+ "closeButton" : {
+ "prototype": "montage/ui/button.reel",
+ "properties": {
+ "element": {"#": "close-button" },
+ "identifier": "closeButton"
+ },
+ "listeners": [
+ {
+ "type": "action",
+ "listener": {"@": "owner" }
+ }
+ ]
}
}
@@ -79,25 +110,27 @@
+
+