- Timestamp:
- 10/11/12 17:48:27 (12 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis.Views
- Files:
-
- 5 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/HeuristicLab.Problems.DataAnalysis.Views-3.4.csproj
r8729 r8798 330 330 <Compile Include="FeatureCorrelation\TimeframeFeatureCorrelationView.Designer.cs"> 331 331 <DependentUpon>TimeframeFeatureCorrelationView.cs</DependentUpon> 332 </Compile> 333 <Compile Include="Solution Views\TimeSeriesPrognosisSolutionView.cs"> 334 <SubType>UserControl</SubType> 335 </Compile> 336 <Compile Include="Solution Views\TimeSeriesPrognosisSolutionView.Designer.cs"> 337 <DependentUpon>TimeSeriesPrognosisSolutionView.cs</DependentUpon> 338 </Compile> 339 <Compile Include="TimeSeriesPrognosis\TimeSeriesPrognosisResultsView.cs"> 340 <SubType>UserControl</SubType> 341 </Compile> 342 <Compile Include="TimeSeriesPrognosis\TimeSeriesPrognosisResultsView.Designer.cs"> 343 <DependentUpon>TimeSeriesPrognosisResultsView.cs</DependentUpon> 344 </Compile> 345 <Compile Include="TimeSeriesPrognosis\TimeSeriesPrognosisSolutionErrorCharacteristicsCurveView.cs"> 346 <SubType>UserControl</SubType> 347 </Compile> 348 <Compile Include="TimeSeriesPrognosis\TimeSeriesPrognosisSolutionErrorCharacteristicsCurveView.Designer.cs"> 349 <DependentUpon>TimeSeriesPrognosisSolutionErrorCharacteristicsCurveView.cs</DependentUpon> 332 350 </Compile> 333 351 <None Include="HeuristicLab.snk" /> -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Plugin.cs.frame
r8453 r8798 47 47 } 48 48 } 49 -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/DataAnalysisSolutionView.cs
r8125 r8798 147 147 } 148 148 149 protected override void RebuildImageList() { 150 itemsListView.SmallImageList.Images.Clear(); 151 foreach (ListViewItem listViewItem in itemsListView.Items) { 152 IResult result = listViewItem.Tag as IResult; 153 Type viewType = listViewItem.Tag as Type; 154 if (result != null) itemsListView.SmallImageList.Images.Add(result.ItemImage); 155 else if (viewType != null && typeof(IDataAnalysisSolutionEvaluationView).IsAssignableFrom(viewType)) 156 itemsListView.SmallImageList.Images.Add(((IDataAnalysisSolutionEvaluationView)Activator.CreateInstance(viewType)).ViewImage); 157 else itemsListView.SmallImageList.Images.Add(HeuristicLab.Common.Resources.VSImageLibrary.Nothing); 158 159 listViewItem.ImageIndex = itemsListView.SmallImageList.Images.Count - 1; 160 } 161 } 162 149 163 #region drag and drop 150 164 protected override void itemsListView_DragEnter(object sender, DragEventArgs e) { -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/NamedDataAnalysisSolutionView.cs
r7259 r8798 53 53 contentType = Content.GetType(); 54 54 panel.Controls.Clear(); 55 var viewType = MainFormManager.GetViewTypes(Content.GetType(), true). Where(t => typeof(DataAnalysisSolutionView).IsAssignableFrom(t)).FirstOrDefault();55 var viewType = MainFormManager.GetViewTypes(Content.GetType(), true).FirstOrDefault(t => typeof(DataAnalysisSolutionView).IsAssignableFrom(t)); 56 56 if (viewType != null) { 57 view = (DataAnalysisSolutionView)Activator.CreateInstance(viewType); 57 view = (DataAnalysisSolutionView)MainFormManager.CreateView(viewType); 58 view.Locked = Locked; 59 view.ReadOnly = ReadOnly; 58 60 view.Dock = DockStyle.Fill; 59 61 view.Content = Content;
Note: See TracChangeset
for help on using the changeset viewer.