Changeset 2116
- Timestamp:
- 08/17/12 14:03:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/branches/ComponentRegistry-1.12.0/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/editor/CMDComponentXMLEditor.as
r2115 r2116 166 166 handleHeader(_spec); 167 167 168 var collapseExpandBox:HBox = new HBox(); 169 collapseExpandBox.addChild(createCollapseAllButton()); 170 collapseExpandBox.addChild(createExpandAllButton()); 171 addChild(collapseExpandBox); 168 addChild(createCollapseExpandBox()); 172 169 173 170 handleElements(_firstComponent.cmdElements); … … 175 172 handleComponents(_firstComponent.cmdComponents); 176 173 addComponentAddButton(); 177 174 175 addChild(createCollapseExpandBox()); 176 178 177 trace("Created editor view in " + (getTimer() - start) + " ms."); 178 } 179 180 private function createCollapseExpandBox():HBox{ 181 var collapseExpandBox:HBox = new HBox(); 182 collapseExpandBox.addChild(createCollapseAllButton()); 183 collapseExpandBox.addChild(createExpandAllButton()); 184 return collapseExpandBox; 179 185 } 180 186 … … 182 188 var button:LabelButton = new LabelButton(collapseAll, "Collapse all"); 183 189 button.setStyle("color","blue"); 190 button.toolTip = "Collapse all components and elements in this editor"; 184 191 return button; 185 192 } … … 197 204 var button:LabelButton = new LabelButton(expandAll, "Expand all"); 198 205 button.setStyle("color","blue"); 206 button.toolTip = "Expand all components and elements in this editor"; 199 207 return button; 200 208 }
Note: See TracChangeset
for help on using the changeset viewer.