diff options
author | Valerio Virgillito | 2012-03-12 16:25:47 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-03-12 16:25:47 -0700 |
commit | c24f58c10231c30d3a8a4c9fb9a4f395dd746180 (patch) | |
tree | a0be6ee1daa3e21ed7df483721bc3116e4c20006 /js/components/layout/tools-list.reel/tools-list.html | |
parent | ac2db49e51f82f5a1cf52ec854b047e007ffbdd7 (diff) | |
download | ninja-c24f58c10231c30d3a8a4c9fb9a4f395dd746180.tar.gz |
Merge dhg637 DisabledState into master.
Committing Disabled states for tool-bar, tool-options, viewbar, breadcrumb
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/components/layout/tools-list.reel/tools-list.html')
-rwxr-xr-x | js/components/layout/tools-list.reel/tools-list.html | 33 |
1 files changed, 15 insertions, 18 deletions
diff --git a/js/components/layout/tools-list.reel/tools-list.html b/js/components/layout/tools-list.reel/tools-list.html index 3e49a4f3..5996e446 100755 --- a/js/components/layout/tools-list.reel/tools-list.html +++ b/js/components/layout/tools-list.reel/tools-list.html | |||
@@ -136,6 +136,21 @@ | |||
136 | "name": "ZoomTool" | 136 | "name": "ZoomTool" |
137 | }, | 137 | }, |
138 | 138 | ||
139 | "disable": { | ||
140 | "module": "montage/ui/condition.reel", | ||
141 | "name": "Condition", | ||
142 | "properties": { | ||
143 | "element": {"#": "disabledCondition"} | ||
144 | }, | ||
145 | "bindings": { | ||
146 | "condition": { | ||
147 | "boundObject": {"@": "owner"}, | ||
148 | "boundObjectPropertyPath": "disabled", | ||
149 | "oneway": true | ||
150 | } | ||
151 | } | ||
152 | }, | ||
153 | |||
139 | "owner": { | 154 | "owner": { |
140 | "module": "js/components/layout/tools-list.reel", | 155 | "module": "js/components/layout/tools-list.reel", |
141 | "name": "ToolsList", | 156 | "name": "ToolsList", |
@@ -165,25 +180,7 @@ | |||
165 | {"@": "repetition1"} | 180 | {"@": "repetition1"} |
166 | ] | 181 | ] |
167 | } | 182 | } |
168 | }, | ||
169 | |||
170 | "disabledCondition": { | ||
171 | "module": "montage/ui/condition.reel", | ||
172 | "name": "Condition", | ||
173 | "properties": { | ||
174 | "element": {"#": "disabledCondition"} | ||
175 | }, | ||
176 | "bindings": { | ||
177 | "condition": { | ||
178 | "boundObject": {"@": "owner"}, | ||
179 | "boundObjectPropertyPath": "disabled", | ||
180 | "oneway": true | ||
181 | } | ||
182 | } | ||
183 | } | 183 | } |
184 | |||
185 | |||
186 | |||
187 | } | 184 | } |
188 | </script> | 185 | </script> |
189 | 186 | ||