- Timestamp:
- 04/16/13 13:13:41 (12 years ago)
- Location:
- branches/OaaS
- Files:
-
- 5 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS
- Property svn:ignore
-
old new 21 21 protoc.exe 22 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll 23 24 packages
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/OaaS/HeuristicLab.Problems.DataAnalysis.Views
- Property svn:mergeinfo changed
-
branches/OaaS/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/DataAnalysisSolutionView.cs
r8125 r9363 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) { -
branches/OaaS/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/NamedDataAnalysisSolutionView.Designer.cs
r7967 r9363 1 namespace HeuristicLab.Problems.DataAnalysis.Views.Solution_Views { 1 #region License Information 2 /* HeuristicLab 3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 * 5 * This file is part of HeuristicLab. 6 * 7 * HeuristicLab is free software: you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation, either version 3 of the License, or 10 * (at your option) any later version. 11 * 12 * HeuristicLab is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>. 19 */ 20 #endregion 21 22 namespace HeuristicLab.Problems.DataAnalysis.Views.Solution_Views { 2 23 partial class NamedDataAnalysisSolutionView { 3 24 /// <summary> -
branches/OaaS/HeuristicLab.Problems.DataAnalysis.Views/3.4/Solution Views/NamedDataAnalysisSolutionView.cs
r7259 r9363 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.