- Timestamp:
- 04/12/10 04:53:48 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 38 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.GeneticAlgorithm.Views/3.3/GeneticAlgorithmView.Designer.cs
r3262 r3306 50 50 this.problemTabPage.SuspendLayout(); 51 51 this.resultsTabPage.SuspendLayout(); 52 this.runsTabPage.SuspendLayout(); 53 this.problemPanel.SuspendLayout(); 52 54 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit(); 53 55 this.SuspendLayout(); … … 138 140 this.toolTip.SetToolTip(this.stopButton, "Stop Algorithm"); 139 141 // 142 // runsTabPage 143 // 144 this.runsTabPage.Size = new System.Drawing.Size(736, 468); 145 // 146 // runsView 147 // 148 this.runsView.Size = new System.Drawing.Size(724, 456); 149 // 150 // problemPanel 151 // 152 this.problemPanel.Size = new System.Drawing.Size(724, 426); 153 // 140 154 // nameTextBox 141 155 // … … 160 174 this.problemTabPage.ResumeLayout(false); 161 175 this.resultsTabPage.ResumeLayout(false); 176 this.runsTabPage.ResumeLayout(false); 177 this.problemPanel.ResumeLayout(false); 162 178 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit(); 163 179 this.ResumeLayout(false); -
trunk/sources/HeuristicLab.Analysis/3.3/DataTable.cs
r3160 r3306 20 20 #endregion 21 21 22 using System.Drawing; 22 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 30 31 [StorableClass] 31 32 public sealed class DataTable : NamedItem { 33 public override Image ItemImage { 34 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Table; } 35 } 36 32 37 [Storable] 33 38 private NamedItemCollection<DataRow> rows; -
trunk/sources/HeuristicLab.Analysis/3.3/HeuristicLab.Analysis-3.3.csproj
r3095 r3306 73 73 <RequiredTargetFramework>3.5</RequiredTargetFramework> 74 74 </Reference> 75 <Reference Include="System.Drawing" /> 75 76 <Reference Include="System.Xml.Linq"> 76 77 <RequiredTargetFramework>3.5</RequiredTargetFramework> … … 103 104 <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project> 104 105 <Name>HeuristicLab.Collections-3.3</Name> 106 </ProjectReference> 107 <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.2\HeuristicLab.Common.Resources-3.2.csproj"> 108 <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project> 109 <Name>HeuristicLab.Common.Resources-3.2</Name> 105 110 </ProjectReference> 106 111 <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj"> -
trunk/sources/HeuristicLab.Analysis/3.3/HeuristicLabAnalysisPlugin.cs.frame
r2891 r3306 29 29 [PluginFile("HeuristicLab.Analysis-3.3.dll", PluginFileType.Assembly)] 30 30 [PluginDependency("HeuristicLab.Collections", "3.3")] 31 [PluginDependency("HeuristicLab.Common.Resources", "3.2")] 31 32 [PluginDependency("HeuristicLab.Core", "3.3")] 32 33 [PluginDependency("HeuristicLab.Data", "3.3")] -
trunk/sources/HeuristicLab.Core.Views/3.3/CreateParameterDialog.Designer.cs
r2924 r3306 148 148 this.setDataTypeButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 149 149 this.setDataTypeButton.Enabled = false; 150 this.setDataTypeButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary. Add;150 this.setDataTypeButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Edit; 151 151 this.setDataTypeButton.Location = new System.Drawing.Point(506, 420); 152 152 this.setDataTypeButton.Name = "setDataTypeButton"; -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemCollectionView.cs
r3298 r3306 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq; 24 25 using System.Windows.Forms; 25 26 using HeuristicLab.Collections; … … 97 98 } 98 99 protected virtual ListViewItem CreateListViewItem(T item) { 99 if (!itemsListView.SmallImageList.Images.ContainsKey(item.GetType().FullName))100 itemsListView.SmallImageList.Images.Add(item.GetType().FullName, item.ItemImage);101 102 100 ListViewItem listViewItem = new ListViewItem(); 103 101 listViewItem.Text = item.ToString(); 104 102 listViewItem.ToolTipText = item.ItemName + ": " + item.ItemDescription; 105 listViewItem.ImageIndex = itemsListView.SmallImageList.Images.IndexOfKey(item.GetType().FullName);106 103 listViewItem.Tag = item; 104 SetListViewItemImage(listViewItem); 107 105 return listViewItem; 108 106 } 109 107 protected virtual void AddListViewItem(ListViewItem listViewItem) { 110 108 itemsListView.Items.Add(listViewItem); 109 ((T)listViewItem.Tag).ItemImageChanged += new EventHandler(Item_ItemImageChanged); 111 110 ((T)listViewItem.Tag).ToStringChanged += new EventHandler(Item_ToStringChanged); 112 111 sortAscendingButton.Enabled = itemsListView.Items.Count > 0; … … 114 113 } 115 114 protected virtual void RemoveListViewItem(ListViewItem listViewItem) { 115 ((T)listViewItem.Tag).ItemImageChanged -= new EventHandler(Item_ItemImageChanged); 116 116 ((T)listViewItem.Tag).ToStringChanged -= new EventHandler(Item_ToStringChanged); 117 117 listViewItem.Remove(); … … 120 120 } 121 121 protected virtual void UpdateListViewItem(ListViewItem listViewItem) { 122 if (!listViewItem.Text.Equals(listViewItem.Tag.ToString())) {122 if (!listViewItem.Text.Equals(listViewItem.Tag.ToString())) 123 123 listViewItem.Text = listViewItem.Tag.ToString(); 124 } 124 if (itemsListView.SmallImageList.Images[listViewItem.ImageIndex] != ((T)listViewItem.Tag).ItemImage) 125 SetListViewItemImage(listViewItem); 125 126 } 126 127 protected virtual IEnumerable<ListViewItem> GetListViewItemsForItem(T item) { … … 255 256 256 257 #region Item Events 257 protected virtual void Item_ ToStringChanged(object sender, EventArgs e) {258 if (InvokeRequired) 259 Invoke(new EventHandler(Item_ ToStringChanged), sender, e);258 protected virtual void Item_ItemImageChanged(object sender, EventArgs e) { 259 if (InvokeRequired) 260 Invoke(new EventHandler(Item_ItemImageChanged), sender, e); 260 261 else { 261 262 T item = (T)sender; … … 264 265 } 265 266 } 267 protected virtual void Item_ToStringChanged(object sender, EventArgs e) { 268 if (InvokeRequired) 269 Invoke(new EventHandler(Item_ToStringChanged), sender, e); 270 else { 271 T item = (T)sender; 272 foreach (ListViewItem listViewItem in GetListViewItemsForItem(item)) 273 UpdateListViewItem(listViewItem); 274 } 275 } 266 276 #endregion 267 277 268 278 #region Helpers 279 protected virtual void SetListViewItemImage(ListViewItem listViewItem) { 280 T item = (T)listViewItem.Tag; 281 int i = 0; 282 while ((i < itemsListView.SmallImageList.Images.Count) && (item.ItemImage != itemsListView.SmallImageList.Images[i])) 283 i++; 284 if (i == itemsListView.SmallImageList.Images.Count) itemsListView.SmallImageList.Images.Add(item.ItemImage); 285 listViewItem.ImageIndex = i; 286 } 269 287 protected virtual void SortItemsListView(SortOrder sortOrder) { 270 288 itemsListView.Sorting = SortOrder.None; -
trunk/sources/HeuristicLab.Core.Views/3.3/ItemListView.cs
r3228 r3306 119 119 } 120 120 protected virtual ListViewItem CreateListViewItem(T item) { 121 if (!itemsListView.SmallImageList.Images.ContainsKey(item.GetType().FullName))122 itemsListView.SmallImageList.Images.Add(item.GetType().FullName, item.ItemImage);123 124 121 ListViewItem listViewItem = new ListViewItem(); 125 122 listViewItem.Text = item.ToString(); 126 123 listViewItem.ToolTipText = item.ItemName + ": " + item.ItemDescription; 127 listViewItem.ImageIndex = itemsListView.SmallImageList.Images.IndexOfKey(item.GetType().FullName);128 124 listViewItem.Tag = item; 125 SetListViewItemImage(listViewItem); 129 126 return listViewItem; 130 127 } 131 128 protected virtual void AddListViewItem(ListViewItem listViewItem) { 132 129 itemsListView.Items.Add(listViewItem); 130 ((T)listViewItem.Tag).ItemImageChanged += new EventHandler(Item_ItemImageChanged); 133 131 ((T)listViewItem.Tag).ToStringChanged += new EventHandler(Item_ToStringChanged); 134 132 } 135 133 protected virtual void InsertListViewItem(int index, ListViewItem listViewItem) { 136 134 itemsListView.Items.Insert(index, listViewItem); 135 ((T)listViewItem.Tag).ItemImageChanged += new EventHandler(Item_ItemImageChanged); 137 136 ((T)listViewItem.Tag).ToStringChanged += new EventHandler(Item_ToStringChanged); 138 137 } 139 138 protected virtual void RemoveListViewItem(ListViewItem listViewItem) { 139 ((T)listViewItem.Tag).ItemImageChanged -= new EventHandler(Item_ItemImageChanged); 140 140 ((T)listViewItem.Tag).ToStringChanged -= new EventHandler(Item_ToStringChanged); 141 141 listViewItem.Remove(); … … 143 143 protected virtual void UpdateListViewItem(ListViewItem listViewItem) { 144 144 T item = (T)listViewItem.Tag; 145 if (!itemsListView.SmallImageList.Images.ContainsKey(item.GetType().FullName))146 itemsListView.SmallImageList.Images.Add(item.GetType().FullName, item.ItemImage);147 148 145 listViewItem.Text = item.ToString(); 149 146 listViewItem.ToolTipText = item.ItemName + ": " + item.ItemDescription; 150 listViewItem.ImageIndex = itemsListView.SmallImageList.Images.IndexOfKey(item.GetType().FullName); 147 if (itemsListView.SmallImageList.Images[listViewItem.ImageIndex] != item.ItemImage) 148 SetListViewItemImage(listViewItem); 151 149 } 152 150 … … 334 332 335 333 #region Item Events 336 protected virtual void Item_ ToStringChanged(object sender, EventArgs e) {337 if (InvokeRequired) 338 Invoke(new EventHandler(Item_ ToStringChanged), sender, e);334 protected virtual void Item_ItemImageChanged(object sender, EventArgs e) { 335 if (InvokeRequired) 336 Invoke(new EventHandler(Item_ItemImageChanged), sender, e); 339 337 else { 340 338 T item = (T)sender; … … 345 343 } 346 344 } 345 protected virtual void Item_ToStringChanged(object sender, EventArgs e) { 346 if (InvokeRequired) 347 Invoke(new EventHandler(Item_ToStringChanged), sender, e); 348 else { 349 T item = (T)sender; 350 foreach (ListViewItem listViewItem in itemsListView.Items) { 351 if (((T)listViewItem.Tag) == item) 352 UpdateListViewItem(listViewItem); 353 } 354 } 355 } 356 #endregion 357 358 #region Helpers 359 protected virtual void SetListViewItemImage(ListViewItem listViewItem) { 360 T item = (T)listViewItem.Tag; 361 int i = 0; 362 while ((i < itemsListView.SmallImageList.Images.Count) && (item.ItemImage != itemsListView.SmallImageList.Images[i])) 363 i++; 364 if (i == itemsListView.SmallImageList.Images.Count) itemsListView.SmallImageList.Images.Add(item.ItemImage); 365 listViewItem.ImageIndex = i; 366 } 347 367 #endregion 348 368 } -
trunk/sources/HeuristicLab.Core.Views/3.3/VariableView.Designer.cs
r3281 r3306 140 140 // setValueButton 141 141 // 142 this.setValueButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary. Add;142 this.setValueButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Edit; 143 143 this.setValueButton.Location = new System.Drawing.Point(6, 19); 144 144 this.setValueButton.Name = "setValueButton"; -
trunk/sources/HeuristicLab.Core/3.3/Interfaces/IItem.cs
r2932 r3306 32 32 Image ItemImage { get; } 33 33 34 event EventHandler ItemImageChanged; 34 35 event EventHandler ToStringChanged; 35 36 } -
trunk/sources/HeuristicLab.Core/3.3/Item.cs
r3280 r3306 55 55 } 56 56 57 public event EventHandler ItemImageChanged; 58 protected virtual void OnItemImageChanged() { 59 EventHandler handler = ItemImageChanged; 60 if (handler != null) handler(this, EventArgs.Empty); 61 } 57 62 public event EventHandler ToStringChanged; 58 63 protected virtual void OnToStringChanged() { 59 if (ToStringChanged != null)60 ToStringChanged(this, EventArgs.Empty);64 EventHandler handler = ToStringChanged; 65 if (handler != null) handler(this, EventArgs.Empty); 61 66 } 62 67 } -
trunk/sources/HeuristicLab.Core/3.3/ItemArray.cs
r3286 r3306 65 65 } 66 66 67 public event EventHandler ItemImageChanged; 68 protected virtual void OnItemImageChanged() { 69 EventHandler handler = ItemImageChanged; 70 if (handler != null) handler(this, EventArgs.Empty); 71 } 67 72 public event EventHandler ToStringChanged; 68 73 protected virtual void OnToStringChanged() { 69 if (ToStringChanged != null)70 ToStringChanged(this, EventArgs.Empty);74 EventHandler handler = ToStringChanged; 75 if (handler != null) handler(this, EventArgs.Empty); 71 76 } 72 77 } -
trunk/sources/HeuristicLab.Core/3.3/ItemCollection.cs
r3286 r3306 61 61 } 62 62 63 public event EventHandler ItemImageChanged; 64 protected virtual void OnItemImageChanged() { 65 EventHandler handler = ItemImageChanged; 66 if (handler != null) handler(this, EventArgs.Empty); 67 } 63 68 public event EventHandler ToStringChanged; 64 69 protected virtual void OnToStringChanged() { 65 if (ToStringChanged != null)66 ToStringChanged(this, EventArgs.Empty);70 EventHandler handler = ToStringChanged; 71 if (handler != null) handler(this, EventArgs.Empty); 67 72 } 68 73 } -
trunk/sources/HeuristicLab.Core/3.3/ItemList.cs
r3286 r3306 65 65 } 66 66 67 public event EventHandler ItemImageChanged; 68 protected virtual void OnItemImageChanged() { 69 EventHandler handler = ItemImageChanged; 70 if (handler != null) handler(this, EventArgs.Empty); 71 } 67 72 public event EventHandler ToStringChanged; 68 73 protected virtual void OnToStringChanged() { 69 if (ToStringChanged != null)70 ToStringChanged(this, EventArgs.Empty);74 EventHandler handler = ToStringChanged; 75 if (handler != null) handler(this, EventArgs.Empty); 71 76 } 72 77 } -
trunk/sources/HeuristicLab.Core/3.3/ItemSet.cs
r3286 r3306 64 64 } 65 65 66 public event EventHandler ItemImageChanged; 67 protected virtual void OnItemImageChanged() { 68 EventHandler handler = ItemImageChanged; 69 if (handler != null) handler(this, EventArgs.Empty); 70 } 66 71 public event EventHandler ToStringChanged; 67 72 protected virtual void OnToStringChanged() { 68 if (ToStringChanged != null)69 ToStringChanged(this, EventArgs.Empty);73 EventHandler handler = ToStringChanged; 74 if (handler != null) handler(this, EventArgs.Empty); 70 75 } 71 76 } -
trunk/sources/HeuristicLab.Core/3.3/NamedItemCollection.cs
r3287 r3306 69 69 } 70 70 71 public event EventHandler ItemImageChanged; 72 protected virtual void OnItemImageChanged() { 73 EventHandler handler = ItemImageChanged; 74 if (handler != null) handler(this, EventArgs.Empty); 75 } 71 76 public event EventHandler ToStringChanged; 72 77 protected virtual void OnToStringChanged() { 73 if (ToStringChanged != null)74 ToStringChanged(this, EventArgs.Empty);78 EventHandler handler = ToStringChanged; 79 if (handler != null) handler(this, EventArgs.Empty); 75 80 } 76 81 -
trunk/sources/HeuristicLab.Data/3.3/BoolValue.cs
r3160 r3306 21 21 22 22 using System; 23 using System.Drawing; 23 24 using System.Text; 24 25 using HeuristicLab.Core; … … 29 30 [StorableClass] 30 31 public class BoolValue : ValueTypeValue<bool>, IComparable, IStringConvertibleValue { 32 public override Image ItemImage { 33 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Field; } 34 } 35 31 36 public BoolValue() : base() { } 32 37 public BoolValue(bool value) : base(value) { } -
trunk/sources/HeuristicLab.Data/3.3/Comparison.cs
r3160 r3306 21 21 22 22 using System; 23 using System.Drawing; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 28 29 [StorableClass] 29 30 public class Comparison : ValueTypeValue<ComparisonType>, IComparable { 31 public override Image ItemImage { 32 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Enum; } 33 } 34 30 35 public Comparison() : base() { } 31 36 public Comparison(ComparisonType value) : base(value) { } -
trunk/sources/HeuristicLab.Data/3.3/DoubleValue.cs
r3160 r3306 21 21 22 22 using System; 23 using System.Drawing; 23 24 using System.Text; 24 25 using HeuristicLab.Core; … … 29 30 [StorableClass] 30 31 public class DoubleValue : ValueTypeValue<double>, IComparable, IStringConvertibleValue { 32 public override Image ItemImage { 33 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Field; } 34 } 35 31 36 public DoubleValue() : base() { } 32 37 public DoubleValue(double value) : base(value) { } -
trunk/sources/HeuristicLab.Data/3.3/HeuristicLab.Data-3.3.csproj
r3095 r3306 95 95 </Reference> 96 96 <Reference Include="System.Data" /> 97 <Reference Include="System.Drawing" /> 97 98 <Reference Include="System.Xml" /> 98 99 </ItemGroup> -
trunk/sources/HeuristicLab.Data/3.3/IntValue.cs
r3160 r3306 21 21 22 22 using System; 23 using System.Drawing; 23 24 using System.Text; 24 25 using HeuristicLab.Core; … … 29 30 [StorableClass] 30 31 public class IntValue : ValueTypeValue<int>, IComparable, IStringConvertibleValue { 32 public override Image ItemImage { 33 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Field; } 34 } 35 31 36 public IntValue() : base() { } 32 37 public IntValue(int value) : base(value) { } -
trunk/sources/HeuristicLab.Data/3.3/StringArray.cs
r3263 r3306 23 23 using System.Linq; 24 24 using System.Collections; 25 using System.Drawing; 25 26 using System.Text; 26 27 using HeuristicLab.Common; … … 33 34 [StorableClass] 34 35 public class StringArray : Item, IEnumerable<string>, IStringConvertibleArray { 36 public override Image ItemImage { 37 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Class; } 38 } 39 35 40 [Storable] 36 41 protected string[] array; -
trunk/sources/HeuristicLab.Data/3.3/StringMatrix.cs
r3160 r3306 22 22 using System; 23 23 using System.Collections; 24 using System.Drawing; 24 25 using System.Text; 25 26 using HeuristicLab.Common; … … 31 32 [StorableClass] 32 33 public class StringMatrix : Item, IEnumerable, IStringConvertibleMatrix { 34 public override Image ItemImage { 35 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Class; } 36 } 37 33 38 [Storable] 34 39 protected string[,] matrix; -
trunk/sources/HeuristicLab.Data/3.3/StringValue.cs
r3160 r3306 21 21 22 22 using System; 23 using System.Drawing; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 28 29 [StorableClass] 29 30 public class StringValue : Item, IComparable, IStringConvertibleValue { 31 public override Image ItemImage { 32 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Field; } 33 } 34 30 35 [Storable] 31 36 protected string value; -
trunk/sources/HeuristicLab.Data/3.3/ValueTypeArray.cs
r3054 r3306 22 22 using System; 23 23 using System.Collections; 24 using System.Drawing; 24 25 using System.Text; 25 26 using HeuristicLab.Common; … … 31 32 [StorableClass] 32 33 public abstract class ValueTypeArray<T> : Item, IEnumerable where T : struct { 34 public override Image ItemImage { 35 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Class; } 36 } 37 33 38 [Storable] 34 39 protected T[] array; -
trunk/sources/HeuristicLab.Data/3.3/ValueTypeMatrix.cs
r3054 r3306 22 22 using System; 23 23 using System.Collections; 24 using System.Drawing; 24 25 using System.Text; 25 26 using HeuristicLab.Common; … … 31 32 [StorableClass] 32 33 public abstract class ValueTypeMatrix<T> : Item, IEnumerable where T : struct { 34 public override Image ItemImage { 35 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Class; } 36 } 37 33 38 [Storable] 34 39 protected T[,] matrix; -
trunk/sources/HeuristicLab.Data/3.3/ValueTypeValue.cs
r3054 r3306 21 21 22 22 using System; 23 using System.Drawing; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 28 29 [StorableClass] 29 30 public abstract class ValueTypeValue<T> : Item where T : struct { 31 public override Image ItemImage { 32 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.ValueType; } 33 } 34 30 35 [Storable] 31 36 protected T value; -
trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Tests/TestRandom.cs
r3053 r3306 112 112 } 113 113 114 public event EventHandler ItemImageChanged; 114 115 public event EventHandler ToStringChanged; 115 116 -
trunk/sources/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Tests/TestRandom.cs
r3053 r3306 112 112 } 113 113 114 public event EventHandler ItemImageChanged; 114 115 public event EventHandler ToStringChanged; 115 116 -
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Tests/Random.cs
r3053 r3306 112 112 } 113 113 114 public event EventHandler ItemImageChanged; 114 115 public event EventHandler ToStringChanged; 115 116 -
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Tests/TestRandom.cs
r3053 r3306 112 112 } 113 113 114 public event EventHandler ItemImageChanged; 114 115 public event EventHandler ToStringChanged; 115 116 -
trunk/sources/HeuristicLab.Operators/3.3/AlgorithmOperator.cs
r3017 r3306 32 32 public abstract class AlgorithmOperator : SingleSuccessorOperator { 33 33 public override Image ItemImage { 34 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Module; } 34 get { 35 if (Breakpoint) return HeuristicLab.Common.Resources.VS2008ImageLibrary.BreakpointActive; 36 else return HeuristicLab.Common.Resources.VS2008ImageLibrary.Module; 37 } 35 38 } 36 39 [Storable] -
trunk/sources/HeuristicLab.Operators/3.3/Operator.cs
r3034 r3306 33 33 public abstract class Operator : ParameterizedNamedItem, IOperator { 34 34 public override Image ItemImage { 35 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Method; } 35 get { 36 if (Breakpoint) return HeuristicLab.Common.Resources.VS2008ImageLibrary.BreakpointActive; 37 else return HeuristicLab.Common.Resources.VS2008ImageLibrary.Method; 38 } 36 39 } 37 40 public override bool CanChangeDescription { … … 76 79 breakpoint = value; 77 80 OnBreakpointChanged(); 81 OnItemImageChanged(); 78 82 } 79 83 } -
trunk/sources/HeuristicLab.Optimization.Views/3.3/EngineAlgorithmView.Designer.cs
r3281 r3306 54 54 this.problemTabPage.SuspendLayout(); 55 55 this.resultsTabPage.SuspendLayout(); 56 this.runsTabPage.SuspendLayout(); 57 this.problemPanel.SuspendLayout(); 56 58 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit(); 57 59 this.engineTabPage.SuspendLayout(); … … 62 64 this.tabControl.Controls.Add(this.engineTabPage); 63 65 this.tabControl.Size = new System.Drawing.Size(713, 467); 66 this.tabControl.Controls.SetChildIndex(this.runsTabPage, 0); 64 67 this.tabControl.Controls.SetChildIndex(this.resultsTabPage, 0); 65 68 this.tabControl.Controls.SetChildIndex(this.engineTabPage, 0); … … 132 135 this.stopButton.Location = new System.Drawing.Point(60, 525); 133 136 this.toolTip.SetToolTip(this.stopButton, "Stop Algorithm"); 137 // 138 // runsTabPage 139 // 140 this.runsTabPage.Size = new System.Drawing.Size(705, 441); 141 // 142 // runsView 143 // 144 this.runsView.Size = new System.Drawing.Size(693, 429); 145 // 146 // problemPanel 147 // 148 this.problemPanel.Size = new System.Drawing.Size(693, 399); 134 149 // 135 150 // nameTextBox … … 172 187 this.engineComboBox.Location = new System.Drawing.Point(55, 6); 173 188 this.engineComboBox.Name = "engineComboBox"; 174 this.engineComboBox.Size = new System.Drawing.Size(6 10, 21);189 this.engineComboBox.Size = new System.Drawing.Size(644, 21); 175 190 this.engineComboBox.TabIndex = 1; 176 191 this.engineComboBox.SelectedIndexChanged += new System.EventHandler(this.engineComboBox_SelectedIndexChanged); … … 197 212 this.engineViewHost.Location = new System.Drawing.Point(6, 33); 198 213 this.engineViewHost.Name = "engineViewHost"; 199 this.engineViewHost.Size = new System.Drawing.Size(6 59, 335);214 this.engineViewHost.Size = new System.Drawing.Size(693, 402); 200 215 this.engineViewHost.TabIndex = 2; 201 216 this.engineViewHost.ViewType = null; … … 224 239 this.problemTabPage.ResumeLayout(false); 225 240 this.resultsTabPage.ResumeLayout(false); 241 this.runsTabPage.ResumeLayout(false); 242 this.problemPanel.ResumeLayout(false); 226 243 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit(); 227 244 this.engineTabPage.ResumeLayout(false); -
trunk/sources/HeuristicLab.Optimization.Views/3.3/UserDefinedAlgorithmView.Designer.cs
r3281 r3306 57 57 this.problemTabPage.SuspendLayout(); 58 58 this.resultsTabPage.SuspendLayout(); 59 this.runsTabPage.SuspendLayout(); 60 this.problemPanel.SuspendLayout(); 59 61 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit(); 60 62 this.operatorGraphTabPage.SuspendLayout(); … … 65 67 // 66 68 this.createUserDefinedAlgorithmButton.Enabled = false; 67 this.createUserDefinedAlgorithmButton.Location = new System.Drawing.Point(150, 525);68 this.createUserDefinedAlgorithmButton.TabIndex = 9;69 69 this.toolTip.SetToolTip(this.createUserDefinedAlgorithmButton, "Create User Defined Algorithm from this Algorithm"); 70 70 this.createUserDefinedAlgorithmButton.Visible = false; … … 104 104 // resetButton 105 105 // 106 this.resetButton.Location = new System.Drawing.Point(90, 525);107 106 this.toolTip.SetToolTip(this.resetButton, "Reset Algorithm"); 108 107 // 109 // executionTimeLabel110 //111 this.executionTimeLabel.TabIndex = 10;112 //113 // executionTimeTextBox114 //115 this.executionTimeTextBox.TabIndex = 11;116 //117 108 // stopButton 118 109 // 119 this.stopButton.Location = new System.Drawing.Point(60, 525);120 110 this.toolTip.SetToolTip(this.stopButton, "Stop Algorithm"); 121 111 // … … 216 206 this.problemTabPage.ResumeLayout(false); 217 207 this.resultsTabPage.ResumeLayout(false); 208 this.runsTabPage.ResumeLayout(false); 209 this.problemPanel.ResumeLayout(false); 218 210 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit(); 219 211 this.operatorGraphTabPage.ResumeLayout(false); -
trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueLookupParameterView.Designer.cs
r3281 r3306 141 141 // setValueButton 142 142 // 143 this.setValueButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary. Add;143 this.setValueButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Edit; 144 144 this.setValueButton.Location = new System.Drawing.Point(6, 19); 145 145 this.setValueButton.Name = "setValueButton"; -
trunk/sources/HeuristicLab.Parameters.Views/3.3/ValueParameterView.Designer.cs
r3281 r3306 127 127 // setValueButton 128 128 // 129 this.setValueButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary. Add;129 this.setValueButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Edit; 130 130 this.setValueButton.Location = new System.Drawing.Point(6, 19); 131 131 this.setValueButton.Name = "setValueButton"; -
trunk/sources/HeuristicLab.Problems.TravelingSalesman.Views/3.3/TSPLIBImportDialog.Designer.cs
r3158 r3306 105 105 // 106 106 this.openTSPFileButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 107 this.openTSPFileButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary. Add;107 this.openTSPFileButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Open; 108 108 this.openTSPFileButton.Location = new System.Drawing.Point(520, 10); 109 109 this.openTSPFileButton.Name = "openTSPFileButton"; … … 136 136 // 137 137 this.openTourFileButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 138 this.openTourFileButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary. Add;138 this.openTourFileButton.Image = HeuristicLab.Common.Resources.VS2008ImageLibrary.Open; 139 139 this.openTourFileButton.Location = new System.Drawing.Point(520, 62); 140 140 this.openTourFileButton.Name = "openTourFileButton"; -
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/PathTSPTour.cs
r3239 r3306 21 21 22 22 using System; 23 using System.Drawing; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; … … 34 35 [StorableClass] 35 36 public sealed class PathTSPTour : Item { 37 public override Image ItemImage { 38 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Image; } 39 } 40 36 41 private DoubleMatrix coordinates; 37 42 [Storable]
Note: See TracChangeset
for help on using the changeset viewer.