Changeset 2115 for ComponentRegistry/branches/ComponentRegistry-1.12.0/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/editor/ItemEdit.as
- Timestamp:
- 08/17/12 13:39:15 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/branches/ComponentRegistry-1.12.0/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/editor/ItemEdit.as
r2113 r2115 49 49 hideableForm.addChild(child); 50 50 } 51 52 public function setDetailsVisibleState(visibleState:Boolean):void{ 53 showToggleBox.visibleState = visibleState; 54 } 55 56 57 58 protected function setAllVisibleState(visibleState:Boolean):void{ 59 setDetailsVisibleState(visibleState); 60 for(var i:int=0;i<numChildren;i++){ 61 var child:Object = getChildAt(i); 62 if(child is ElementEdit || child is ComponentEdit){ 63 ItemEdit(child).setAllVisibleState(visibleState); 64 } 65 } 66 } 67 68 public function collapseAll():void{ 69 setAllVisibleState(false); 70 } 71 72 public function expandAll():void{ 73 setAllVisibleState(true); 74 } 51 75 } 52 76 }
Note: See TracChangeset
for help on using the changeset viewer.