Changeset 1636


Ignore:
Timestamp:
12/01/11 15:06:46 (12 years ago)
Author:
jeafer
Message:

Jean-Charles branch ComponentBrowserGui commit1,
Changes regarding comment on the ComponentBrowserGui.

Starting to implement classes for Comment visualisation
CommentInfoPage? and CommentXmlPanel?
CommentService? (List and info)
Comment and CommentDescription?
Update on InfoPage?

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  
    11package clarin.cmdi.componentregistry.browser {
    2         import clarin.cmdi.componentregistry.common.CommentDescription;
    32        import clarin.cmdi.componentregistry.common.ItemDescription;
    43       
     
    98                public static const BROWSER_ITEM_SELECTED:String = "browserItemSelected";
    109                private var _itemDescription:ItemDescription;
    11                 private var _commentDescription:CommentDescription;
    1210                public function BrowserSelectionEvent(itemDescription:ItemDescription, bubbles:Boolean = false, cancelable:Boolean = false) {
    1311                        super(BROWSER_ITEM_SELECTED, bubbles, cancelable);
     
    1715                public function get itemDescription():ItemDescription {
    1816                        return _itemDescription;
    19                 }
    20                
    21                 public function get commentDescription():CommentDescription {
    22                         return _commentDescription;
    2317                }
    2418
  • ComponentRegistry/branches/jeaferversion/ComponentBrowserGui/src/main/flex/clarin/cmdi/componentregistry/browser/infoPage.mxml

    r1631 r1636  
    4646                                commentsSrv.addEventListener(BrowserService.ITEMS_LOADED, commentsLoaded);
    4747                        }
     48                }
    4849                       
    4950                        private function commentsLoaded(event:Event):void {
     
    8081               
    8182                private function loadCommentInfoPage(event:BrowserSelectionEvent):void {
    82                         commentSrv.load(event.commentDescription);
    83                        
    84                        
     83                        commentSrv.load(event.commentDescription);                     
    8584                }
    8685               
     
    119118                                                  label="xml"
    120119                                                  cmdComponent="{cmdComponent}"/>
    121                
     120
    122121                <mx:VDividedBox label="Comments({nrOfComments})"
    123122                                                width="100%">
     123                        <mx:TabNavigator id="tabnav"
     124                                                         width="100%"
     125                                                         height="100%"
     126                                                         color="0x323232"
     127                                                         y="59"
     128                                                         borderStyle="outset">
    124129                        <browser:xmlCommentPanel 
    125130                                id="viewAllComments" width="399" height="109"
     
    133138                                />
    134139                        <!-- id="viewComments" width="100%" -->
     140                        </mx:TabNavigator>
    135141                </mx:VDividedBox>
     142                       
    136143        </mx:ViewStack>
    137144       
Note: See TracChangeset for help on using the changeset viewer.