Changeset 458 for gssim_ui


Ignore:
Timestamp:
09/11/12 15:52:36 (13 years ago)
Author:
mcichenski
Message:
 
Location:
gssim_ui/branches/vine/gssimstudio/src/web/ui/flex/app/gssim/gssimstudio/editor
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • gssim_ui/branches/vine/gssimstudio/src/web/ui/flex/app/gssim/gssimstudio/editor/gssim/editors/archive/ExperimentStatisticsWindow.mxml

    r457 r458  
    165165                                <!--<charts:ResourceViewer width="100%" height="100%" />--> 
    166166                        </mx:VBox> 
    167                         <mx:VBox width="100%" height="100%" id="ganntChart" label="{resourceManager.getString('ArchiveViewer', 'Task')}"> 
     167                        <mx:VBox width="100%" height="100%" id="ganntChart" label="{resourceManager.getString('ArchiveViewer', 'Task')}" visible="false" includeInLayout="false"> 
    168168                                <charts:GanntChart scheduleViewerHeight="{this.height - 200}" scheduleViewerWidth="{this.width - 220}" id="gannt" /> 
    169169                        </mx:VBox> 
     
    173173                                                <components:MultiImageContainer id="mimg" /> 
    174174                                        </mx:Canvas> 
    175                                         <components:MultiImageNavigator id="nav" width="300" height="300" /> 
     175                                        <components:MultiImageNavigator id="nav" width="300" height="300" includeInLayout="false" visible="false" /> 
    176176                                </mx:HBox> 
    177177                        </mx:VBox> 
  • gssim_ui/branches/vine/gssimstudio/src/web/ui/flex/app/gssim/gssimstudio/editor/views/ArchiveViewer.mxml

    r417 r458  
    1414                <![CDATA[ 
    1515                        import gssim.gssimstudio.editor.flare.query.StringUtil; 
     16                        import gssim.gssimstudio.editor.gssim.editors.archive.ExperimentStatisticsWindow; 
    1617                        import gssim.gssimstudio.editor.gssim.editors.archive.GroupStatisticsWindow; 
    1718                        import gssim.gssimstudio.editor.gssim.experiment.ExperimentID; 
     
    212213                        } 
    213214                         
    214                         protected function experimentSelectionChanged(event:ListEvent):void 
    215                         { 
    216                                 experimentData.loadExperiment(getCurrentExperiment()); 
     215                        protected function experimentView(event:ListEvent):void 
     216                        { 
     217                                var window : ExperimentStatisticsWindow = new ExperimentStatisticsWindow(); 
     218                                window.loadExperiment(getCurrentExperiment()); 
     219                                ViewsHelper.ArchiveCanvas.windowManager.add(window); 
    217220                        } 
    218221 
     
    237240         
    238241        <code:MDICanvas id="mdiCanvas" width="100%" height="100%" backgroundColor="#FFFFFF" backgroundAlpha="0"> 
    239                 <s:VGroup paddingLeft="64" width="100%"> 
     242                <s:VGroup paddingLeft="64" width="100%" height="100%"> 
    240243                        <mx:HDividedBox width="100%"> 
    241244                                <mx:AdvancedDataGrid height="100%" width="100%" labelField="@label" id="tree" 
    242                                                  itemClick="experimentSelectionChanged(event)" 
     245                                                 itemDoubleClick="experimentView(event)" 
    243246                                                 groupItemRenderer="gssim.gssimstudio.editor.gssim.components.CheckADGRenderer" 
    244247                                                 > 
     
    257260                                        </mx:columns> 
    258261                                </mx:AdvancedDataGrid> 
     262                                <!-- 
    259263                                <archive:ExperimentDataGroup id="experimentData" visible="{selectedExperiment != null}" 
    260                                         /> 
     264                                        /> --> 
    261265                        </mx:HDividedBox> 
    262266                        <s:Button label="{resourceManager.getString('ArchiveViewer', 'Refresh')}" click="getExperiments()"/> 
Note: See TracChangeset for help on using the changeset viewer.