diff options
author | Eric Guzman | 2012-04-23 11:55:08 -0700 |
---|---|---|
committer | Eric Guzman | 2012-04-23 11:55:08 -0700 |
commit | c0fce534c255ef1e25779e2f0e8de95bb4e160cf (patch) | |
tree | 61d313ae0dc14f5abf56d084e723bc1a30c64c1b /js/panels/css-panel/styles-view-container.reel/styles-view-container.html | |
parent | 0e5520008925f480d5d1bb8356220c773d1c5e37 (diff) | |
download | ninja-c0fce534c255ef1e25779e2f0e8de95bb4e160cf.tar.gz |
CSS Panel - Add styles view delegate. Add handling for adding rules to stylesheets
Diffstat (limited to 'js/panels/css-panel/styles-view-container.reel/styles-view-container.html')
-rw-r--r-- | js/panels/css-panel/styles-view-container.reel/styles-view-container.html | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/js/panels/css-panel/styles-view-container.reel/styles-view-container.html b/js/panels/css-panel/styles-view-container.reel/styles-view-container.html index e8ddb139..56e965c2 100644 --- a/js/panels/css-panel/styles-view-container.reel/styles-view-container.html +++ b/js/panels/css-panel/styles-view-container.reel/styles-view-container.html | |||
@@ -37,6 +37,13 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
37 | } | 37 | } |
38 | } | 38 | } |
39 | }, | 39 | }, |
40 | "stylesViewDelegate" : { | ||
41 | "module": "js/panels/css-panel/styles-view-mediator", | ||
42 | "name": "StylesViewMediator", | ||
43 | "properties": { | ||
44 | "ruleListContainer": {"@": "ruleListContainer"} | ||
45 | } | ||
46 | }, | ||
40 | "ruleListContainer": { | 47 | "ruleListContainer": { |
41 | "module": "js/panels/css-panel/rule-list-container.reel", | 48 | "module": "js/panels/css-panel/rule-list-container.reel", |
42 | "name": "RuleListContainer" | 49 | "name": "RuleListContainer" |
@@ -49,7 +56,14 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot | |||
49 | "module": "js/components/toolbar.reel", | 56 | "module": "js/components/toolbar.reel", |
50 | "name": "Toolbar", | 57 | "name": "Toolbar", |
51 | "properties": { | 58 | "properties": { |
52 | "element": {"#": "styles-view-toolbar"} | 59 | "element": {"#": "styles-view-toolbar"}, |
60 | "delegate": {"@": "stylesViewDelegate" }, | ||
61 | "buttons": [ | ||
62 | { | ||
63 | "title": "Add", | ||
64 | "identifier": "add" | ||
65 | } | ||
66 | ] | ||
53 | } | 67 | } |
54 | } | 68 | } |
55 | } | 69 | } |