- Timestamp:
- 12/14/15 20:03:59 (9 years ago)
- Location:
- branches/HeuristicLab.BinPacking
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/PackingPlans/PackingPlan2DView.Designer.cs
r13032 r13462 47 47 this.packingPlan2D = new PackingPlanVisualizations.PackingPlan2D(); 48 48 this.binSelection = new System.Windows.Forms.ListBox(); 49 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();50 49 this.SuspendLayout(); 51 //52 // nameTextBox53 //54 this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);55 this.errorProvider.SetIconPadding(this.nameTextBox, 2);56 50 // 57 51 // packingPlan2D … … 84 78 this.Name = "PackingPlan2DView"; 85 79 this.Size = new System.Drawing.Size(351, 299); 86 this.Controls.SetChildIndex(this.nameLabel, 0);87 this.Controls.SetChildIndex(this.nameTextBox, 0);88 this.Controls.SetChildIndex(this.infoLabel, 0);89 80 this.Controls.SetChildIndex(this.packingPlan2D, 0); 90 81 this.Controls.SetChildIndex(this.binSelection, 0); 91 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();92 82 this.ResumeLayout(false); 93 83 this.PerformLayout(); -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/PackingPlans/PackingPlan2DView.cs
r13032 r13462 29 29 30 30 namespace HeuristicLab.Problems.BinPacking.Views { 31 [View("2-dimensional packing plan View")]31 [View("2-dimensional packing plan view")] 32 32 [Content(typeof(PackingPlan<TwoDimensionalPacking, RectangularPackingBin, RectangularPackingItem>), true)] 33 public partial class PackingPlan2DView : NamedItemView {33 public partial class PackingPlan2DView : ItemView { 34 34 35 35 public PackingPlan2DView() { -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/PackingPlans/PackingPlan3DView.Designer.cs
r13032 r13462 48 48 this.binSelection = new System.Windows.Forms.ListBox(); 49 49 this.itemSelection = new System.Windows.Forms.ListBox(); 50 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();51 50 this.SuspendLayout(); 52 //53 // nameTextBox54 //55 this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);56 this.errorProvider.SetIconPadding(this.nameTextBox, 2);57 51 // 58 52 // packingPlan3D … … 97 91 this.Name = "PackingPlan3DView"; 98 92 this.Size = new System.Drawing.Size(351, 299); 99 this.Controls.SetChildIndex(this.nameLabel, 0);100 this.Controls.SetChildIndex(this.nameTextBox, 0);101 this.Controls.SetChildIndex(this.infoLabel, 0);102 93 this.Controls.SetChildIndex(this.packingPlan3D, 0); 103 94 this.Controls.SetChildIndex(this.binSelection, 0); 104 95 this.Controls.SetChildIndex(this.itemSelection, 0); 105 ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();106 96 this.ResumeLayout(false); 107 97 this.PerformLayout(); -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/PackingPlans/PackingPlan3DView.cs
r13032 r13462 31 31 [View("3-dimensional packing plan View")] 32 32 [Content(typeof(PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem>), true)] 33 public partial class PackingPlan3DView : NamedItemView {33 public partial class PackingPlan3DView : ItemView { 34 34 35 35 public PackingPlan3DView() { 36 36 InitializeComponent(); 37 this.nameTextBox.Text = "Packing Plan";38 37 } 39 38 … … 60 59 packingPlan3D.InitializeContainer(0, 0, 0); 61 60 } else { 62 Content.Name = "Packing Plan";63 61 int i = 0; 64 62 foreach (var bp in Content.BinPackings) … … 124 122 packingPlan3D.InitializeContainer(0, 0, 0); 125 123 } else { 126 Content.Name = "Packing Plan";127 124 int i = 0; 128 125 foreach (var bp in Content.BinPackings) -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Encodings/PackingPlans/PackingPlan.cs
r13032 r13462 41 41 [Item("PackingPlan", "Represents a concrete solution for a bin-packing problem.")] 42 42 [StorableClass] 43 public abstract class PackingPlan<D, B, I> : ParameterizedNamedItem, IPackingPlan43 public abstract class PackingPlan<D, B, I> :Item, IPackingPlan 44 44 where D : class, IPackingDimensions 45 45 where B : PackingShape<D>, IPackingBin … … 80 80 #endregion 81 81 82 p ublicPackingPlan(B binMeasures, bool useExtremePoints, bool stackingConstraints)82 protected PackingPlan(B binMeasures, bool useExtremePoints, bool stackingConstraints) 83 83 : base(){ 84 84 BinMeasures = (B)binMeasures.Clone(); … … 253 253 254 254 255 [Item("PackingPlan2D", "Represents a concrete solution for a 2D bin-packing problem.")]255 [Item("PackingPlan2D", "Represents a solution for a 2D bin packing problem.")] 256 256 [StorableClass] 257 257 public class PackingPlan2D : PackingPlan<TwoDimensionalPacking, RectangularPackingBin, RectangularPackingItem> { … … 275 275 276 276 277 [Item("PackingPlan3D", "Represents a concrete solution for a 3D bin-packing problem.")]277 [Item("PackingPlan3D", "Represents a solution for a 3D bin packing problem.")] 278 278 [StorableClass] 279 279 public class PackingPlan3D : PackingPlan<ThreeDimensionalPacking, CuboidPackingBin, CuboidPackingItem> { -
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Interfaces/IPackingPlan.cs
r13032 r13462 23 23 24 24 namespace HeuristicLab.Problems.BinPacking.Interfaces { 25 public interface IPackingPlan : I NamedItem {25 public interface IPackingPlan : IItem { 26 26 int NrOfBins { get; } 27 27 }
Note: See TracChangeset
for help on using the changeset viewer.