Changeset 1636
- Timestamp:
- 12/01/11 15:06:46 (12 years ago)
- Location:
- ComponentRegistry/branches/jeaferversion/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry
- Files:
-
- 8 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ComponentRegistry/branches/jeaferversion/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/browser/BrowserSelectionEvent.as
r1631 r1636 1 1 package clarin.cmdi.componentregistry.browser { 2 import clarin.cmdi.componentregistry.common.CommentDescription;3 2 import clarin.cmdi.componentregistry.common.ItemDescription; 4 3 … … 9 8 public static const BROWSER_ITEM_SELECTED:String = "browserItemSelected"; 10 9 private var _itemDescription:ItemDescription; 11 private var _commentDescription:CommentDescription;12 10 public function BrowserSelectionEvent(itemDescription:ItemDescription, bubbles:Boolean = false, cancelable:Boolean = false) { 13 11 super(BROWSER_ITEM_SELECTED, bubbles, cancelable); … … 17 15 public function get itemDescription():ItemDescription { 18 16 return _itemDescription; 19 }20 21 public function get commentDescription():CommentDescription {22 return _commentDescription;23 17 } 24 18 -
ComponentRegistry/branches/jeaferversion/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/browser/infoPage.mxml
r1631 r1636 46 46 commentsSrv.addEventListener(BrowserService.ITEMS_LOADED, commentsLoaded); 47 47 } 48 } 48 49 49 50 private function commentsLoaded(event:Event):void { … … 80 81 81 82 private function loadCommentInfoPage(event:BrowserSelectionEvent):void { 82 commentSrv.load(event.commentDescription); 83 84 83 commentSrv.load(event.commentDescription); 85 84 } 86 85 … … 119 118 label="xml" 120 119 cmdComponent="{cmdComponent}"/> 121 120 122 121 <mx:VDividedBox label="Comments({nrOfComments})" 123 122 width="100%"> 123 <mx:TabNavigator id="tabnav" 124 width="100%" 125 height="100%" 126 color="0x323232" 127 y="59" 128 borderStyle="outset"> 124 129 <browser:xmlCommentPanel 125 130 id="viewAllComments" width="399" height="109" … … 133 138 /> 134 139 <!-- id="viewComments" width="100%" --> 140 </mx:TabNavigator> 135 141 </mx:VDividedBox> 142 136 143 </mx:ViewStack> 137 144
Note: See TracChangeset
for help on using the changeset viewer.