diff options
Diffstat (limited to 'js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.html')
-rw-r--r-- | js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.html | 46 |
1 files changed, 45 insertions, 1 deletions
diff --git a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.html b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.html index df104ecc..a9dda673 100644 --- a/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.html +++ b/js/panels/Components/ComponentsPanelBase.reel/ComponentsPanelBase.html | |||
@@ -11,12 +11,55 @@ | |||
11 | 11 | ||
12 | <script type="text/montage-serialization"> | 12 | <script type="text/montage-serialization"> |
13 | { | 13 | { |
14 | "componentControllerArrayTemp": { | ||
15 | "module": "montage/ui/controller/array-controller", | ||
16 | "name": "ArrayController", | ||
17 | "bindings": { | ||
18 | "content": { | ||
19 | "boundObject": {"@": "owner"}, | ||
20 | "boundObjectPropertyPath": "components" | ||
21 | } | ||
22 | } | ||
23 | }, | ||
24 | |||
14 | "owner": { | 25 | "owner": { |
15 | "module": "js/panels/Components/ComponentsPanelBase.reel", | 26 | "module": "js/panels/Components/ComponentsPanelBase.reel", |
16 | "name": "ComponentsPanelBase", | 27 | "name": "ComponentsPanelBase", |
17 | "properties": { | 28 | "properties": { |
18 | "element": {"#": "components_panel"} | 29 | "element": {"#": "components_panel"} |
19 | } | 30 | } |
31 | }, | ||
32 | |||
33 | "componentsController" : { | ||
34 | "module": "js/components/controllers/tree-controller", | ||
35 | "name": "TreeController", | ||
36 | "properties" : { | ||
37 | "branchKey" : "children", | ||
38 | "labelKey" : "text", | ||
39 | "delegate": {"@": "owner" } | ||
40 | }, | ||
41 | "bindings": { | ||
42 | "content": { | ||
43 | "boundObject": {"@": "owner"}, | ||
44 | "boundObjectPropertyPath": "data2" | ||
45 | } | ||
46 | } | ||
47 | }, | ||
48 | |||
49 | "componentsTree" : { | ||
50 | "module" : "js/components/treeview/treeview.reel", | ||
51 | "name" : "Treeview", | ||
52 | "properties" : { | ||
53 | "element" : {"#": "componentsContainer"}, | ||
54 | "branchComponent" : {"@": "branch" }, | ||
55 | "contentController": {"@": "componentsController"}, | ||
56 | "showRoot" : false | ||
57 | } | ||
58 | }, | ||
59 | |||
60 | "branch" : { | ||
61 | "module" : "js/components/treeview/ninja-branch.reel", | ||
62 | "name" : "Branch" | ||
20 | } | 63 | } |
21 | } | 64 | } |
22 | </script> | 65 | </script> |
@@ -26,8 +69,9 @@ | |||
26 | 69 | ||
27 | <div id="components_panel" class="components_panel"> | 70 | <div id="components_panel" class="components_panel"> |
28 | <div class="treeHolder"> | 71 | <div class="treeHolder"> |
29 | <ul id="comp_tree"></ul> | 72 | <ul id="comp_tree"></ul> |
30 | </div> | 73 | </div> |
74 | <div id="componentsContainer"></div> | ||
31 | </div> | 75 | </div> |
32 | 76 | ||
33 | </body> | 77 | </body> |