Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/14/15 19:52:46 (8 years ago)
Author:
gkronber
Message:

#1966:

  • used Items instead of NamedItems and adapted views (Names/Descriptions) were not set anyway
  • fixed problems identified by Essential unit tests
Location:
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/HeuristicLab.Problems.BinPacking.Views-3.3.csproj

    r13028 r13461  
    120120      <Private>False</Private>
    121121    </Reference>
    122     <Reference Include="HeuristicLab.Data-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    123       <Private>False</Private>
    124     </Reference>
    125122    <Reference Include="HeuristicLab.MainForm-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">
    126123      <Private>False</Private>
     
    145142    <Reference Include="System" />
    146143    <Reference Include="System.Core" />
    147     <Reference Include="System.Data" />
    148144    <Reference Include="System.Drawing" />
    149145    <Reference Include="System.Windows.Forms" />
    150     <Reference Include="System.Xml" />
    151146  </ItemGroup>
    152147  <ItemGroup>
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Plugin.cs.frame

    r13161 r13461  
    2929  [PluginFile("HeuristicLab.Problems.BinPacking.Views-3.3.dll", PluginFileType.Assembly)]
    3030  [PluginFile("PackingPlanVisualizations.dll", PluginFileType.Assembly)]
    31   [PluginDependency("HeuristicLab.Common", "3.3")]
    32   [PluginDependency("HeuristicLab.Common.Resources", "3.3")]
    3331  [PluginDependency("HeuristicLab.Core", "3.3")]
    34   [PluginDependency("HeuristicLab.Persistence", "3.3")]
     32  [PluginDependency("HeuristicLab.Core.Views", "3.3")]
     33  [PluginDependency("HeuristicLab.Optimization.Views", "3.3")]
     34  [PluginDependency("HeuristicLab.Problems.BinPacking", "3.3")]
     35  [PluginDependency("HeuristicLab.MainForm", "3.3")]
     36  [PluginDependency("HeuristicLab.Collections", "3.3")]
     37  [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3")]
     38  [PluginDependency("HeuristicLab.Optimization", "3.3")]
    3539  [PluginDependency("HeuristicLab.SharpDX", "2.6.3")]
    3640  public class HeuristicLabProblemsBinPackingViewsPlugin : PluginBase {
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/CuboidPackingItemView.Designer.cs

    r13032 r13461  
    4949    private void InitializeComponent() {
    5050      this.packingPlan3D1 = new PackingPlanVisualizations.PackingPlan3D();
    51       ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    5251      this.SuspendLayout();
    53       //
    54       // nameTextBox
    55       //
    56       this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
    57       this.errorProvider.SetIconPadding(this.nameTextBox, 2);
    5852      //
    5953      // packingPlan3D1
     
    7367      this.Name = "CuboidPackingShapeView";
    7468      this.Size = new System.Drawing.Size(351, 299);
    75       this.Controls.SetChildIndex(this.nameLabel, 0);
    76       this.Controls.SetChildIndex(this.nameTextBox, 0);
    77       this.Controls.SetChildIndex(this.infoLabel, 0);
    7869      this.Controls.SetChildIndex(this.packingPlan3D1, 0);
    79       ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    8070      this.ResumeLayout(false);
    8171      this.PerformLayout();
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/CuboidPackingItemView.cs

    r13032 r13461  
    2727  [View("View for a cuboid packing item.")]
    2828  [Content(typeof(CuboidPackingItem), true)]
    29   public partial class CuboidPackingItemView : NamedItemView {
     29  public partial class CuboidPackingItemView : ItemView {
    3030    public CuboidPackingItemView() {
    3131      InitializeComponent();
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/CuboidPackingShapeView.Designer.cs

    r13032 r13461  
    4949    private void InitializeComponent() {
    5050      this.packingPlan3D1 = new PackingPlanVisualizations.PackingPlan3D();
    51       ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    5251      this.SuspendLayout();
    53       //
    54       // nameTextBox
    55       //
    56       this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
    57       this.errorProvider.SetIconPadding(this.nameTextBox, 2);
    5852      //
    5953      // packingPlan3D1
     
    7367      this.Name = "CuboidPackingShapeView";
    7468      this.Size = new System.Drawing.Size(351, 299);
    75       this.Controls.SetChildIndex(this.nameLabel, 0);
    76       this.Controls.SetChildIndex(this.nameTextBox, 0);
    77       this.Controls.SetChildIndex(this.infoLabel, 0);
    7869      this.Controls.SetChildIndex(this.packingPlan3D1, 0);
    79       ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    8070      this.ResumeLayout(false);
    8171      this.PerformLayout();
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/CuboidPackingShapeView.cs

    r13032 r13461  
    2727  [View("View for a cuboid shape.")]
    2828  [Content(typeof(CuboidPackingShape), true)]
    29   public partial class CuboidPackingShapeView : NamedItemView {
     29  public partial class CuboidPackingShapeView : ItemView {
    3030    public CuboidPackingShapeView() {
    3131      InitializeComponent();
     
    4545      } else {
    4646        Redraw(Content);
    47         Content.Name = "XX";
    4847        packingPlan3D1.StartRendering();
    4948      }
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/RectangularPackingItemView.Designer.cs

    r13032 r13461  
    4646    private void InitializeComponent() {
    4747      this.packingPlan2D = new PackingPlanVisualizations.PackingPlan2D();
    48       ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    4948      this.SuspendLayout();
    50       //
    51       // nameTextBox
    52       //
    53       this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
    54       this.errorProvider.SetIconPadding(this.nameTextBox, 2);
    5549      //
    5650      // packingPlan2D
     
    7064      this.Name = "PackingPlanView";
    7165      this.Size = new System.Drawing.Size(351, 299);
    72       this.Controls.SetChildIndex(this.nameLabel, 0);
    73       this.Controls.SetChildIndex(this.nameTextBox, 0);
    74       this.Controls.SetChildIndex(this.infoLabel, 0);
    7566      this.Controls.SetChildIndex(this.packingPlan2D, 0);
    76       ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    7767      this.ResumeLayout(false);
    7868      this.PerformLayout();
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/RectangularPackingItemView.cs

    r13032 r13461  
    2727  [View("View for a rectangular packing item.")]
    2828  [Content(typeof(RectangularPackingItem), true)]
    29   public partial class RectangularPackingItemView : NamedItemView {
     29  public partial class RectangularPackingItemView : ItemView {
    3030    public RectangularPackingItemView() {
    3131      InitializeComponent();
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/RectangularPackingShapeView.Designer.cs

    r13032 r13461  
    4646    private void InitializeComponent() {
    4747      this.packingPlan2D = new PackingPlanVisualizations.PackingPlan2D();
    48       ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    4948      this.SuspendLayout();
    50       //
    51       // nameTextBox
    52       //
    53       this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
    54       this.errorProvider.SetIconPadding(this.nameTextBox, 2);
    5549      //
    5650      // packingPlan2D
     
    7064      this.Name = "PackingPlanView";
    7165      this.Size = new System.Drawing.Size(351, 299);
    72       this.Controls.SetChildIndex(this.nameLabel, 0);
    73       this.Controls.SetChildIndex(this.nameTextBox, 0);
    74       this.Controls.SetChildIndex(this.infoLabel, 0);
    7566      this.Controls.SetChildIndex(this.packingPlan2D, 0);
    76       ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    7767      this.ResumeLayout(false);
    7868      this.PerformLayout();
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.Views/3.3/Shapes/RectangularPackingShapeView.cs

    r13032 r13461  
    2727  [View("View for a rectangular shape.")]
    2828  [Content(typeof(RectangularPackingShape), true)]
    29   public partial class RectangularPackingShapeView : NamedItemView {
     29  public partial class RectangularPackingShapeView : ItemView {
    3030    public RectangularPackingShapeView() {
    3131      InitializeComponent();
Note: See TracChangeset for help on using the changeset viewer.