Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8651


Ignore:
Timestamp:
09/14/12 10:05:56 (12 years ago)
Author:
svonolfe
Message:

Imrpoved VRP problem instance view (#1953)

Location:
trunk/sources
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.VehicleRouting.Views/3.4/HeuristicLab.Problems.VehicleRouting.Views-3.4.csproj

    r8600 r8651  
    299299  -->
    300300  <PropertyGroup>
    301    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
     301    <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir)
    302302set ProjectDir=$(ProjectDir)
    303303set SolutionDir=$(SolutionDir)
     
    305305
    306306call PreBuildEvent.cmd</PreBuildEvent>
    307 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
     307    <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' ">
    308308export ProjectDir=$(ProjectDir)
    309309export SolutionDir=$(SolutionDir)
  • trunk/sources/HeuristicLab.Problems.VehicleRouting.Views/3.4/VRPProblemInstanceView.Designer.cs

    r6715 r8651  
    2525    private void InitializeComponent() {
    2626      this.pictureBox = new System.Windows.Forms.PictureBox();
     27      this.tabControl1 = new System.Windows.Forms.TabControl();
     28      this.tabPage1 = new System.Windows.Forms.TabPage();
     29      this.tabPage2 = new System.Windows.Forms.TabPage();
     30      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
    2731      ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).BeginInit();
     32      this.tabControl1.SuspendLayout();
     33      this.tabPage1.SuspendLayout();
     34      this.tabPage2.SuspendLayout();
    2835      this.SuspendLayout();
     36      //
     37      // parameterCollectionView
     38      //
     39      this.parameterCollectionView.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)));
     40      this.parameterCollectionView.Dock = System.Windows.Forms.DockStyle.Fill;
     41      this.parameterCollectionView.Location = new System.Drawing.Point(3, 3);
     42      this.parameterCollectionView.Size = new System.Drawing.Size(448, 361);
     43      //
     44      // nameTextBox
     45      //
     46      this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
     47      this.errorProvider.SetIconPadding(this.nameTextBox, 2);
     48      this.nameTextBox.Size = new System.Drawing.Size(213, 20);
     49      this.nameTextBox.Visible = false;
     50      //
     51      // nameLabel
     52      //
     53      this.nameLabel.Visible = false;
    2954      //
    3055      // pictureBox
     
    3358      this.pictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
    3459      this.pictureBox.Dock = System.Windows.Forms.DockStyle.Fill;
    35       this.pictureBox.Location = new System.Drawing.Point(0, 0);
     60      this.pictureBox.Location = new System.Drawing.Point(3, 3);
    3661      this.pictureBox.Name = "pictureBox";
    37       this.pictureBox.Size = new System.Drawing.Size(462, 393);
     62      this.pictureBox.Size = new System.Drawing.Size(448, 361);
    3863      this.pictureBox.TabIndex = 1;
    3964      this.pictureBox.TabStop = false;
    4065      this.pictureBox.SizeChanged += new System.EventHandler(this.pictureBox_SizeChanged);
    41       this.pictureBox.MouseClick += new System.Windows.Forms.MouseEventHandler(pictureBox_MouseClick);
     66      this.pictureBox.MouseClick += new System.Windows.Forms.MouseEventHandler(this.pictureBox_MouseClick);
     67      //
     68      // tabControl1
     69      //
     70      this.tabControl1.Controls.Add(this.tabPage1);
     71      this.tabControl1.Controls.Add(this.tabPage2);
     72      this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     73      this.tabControl1.Location = new System.Drawing.Point(0, 0);
     74      this.tabControl1.Name = "tabControl1";
     75      this.tabControl1.SelectedIndex = 0;
     76      this.tabControl1.Size = new System.Drawing.Size(462, 393);
     77      this.tabControl1.TabIndex = 2;
     78      //
     79      // tabPage1
     80      //
     81      this.tabPage1.Controls.Add(this.pictureBox);
     82      this.tabPage1.Location = new System.Drawing.Point(4, 22);
     83      this.tabPage1.Name = "tabPage1";
     84      this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
     85      this.tabPage1.Size = new System.Drawing.Size(454, 367);
     86      this.tabPage1.TabIndex = 0;
     87      this.tabPage1.Text = "Visualization";
     88      this.tabPage1.UseVisualStyleBackColor = true;
     89      //
     90      // tabPage2
     91      //
     92      this.tabPage2.Controls.Add(this.parameterCollectionView);
     93      this.tabPage2.Location = new System.Drawing.Point(4, 22);
     94      this.tabPage2.Name = "tabPage2";
     95      this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
     96      this.tabPage2.Size = new System.Drawing.Size(454, 367);
     97      this.tabPage2.TabIndex = 1;
     98      this.tabPage2.Text = "Parameters";
     99      this.tabPage2.UseVisualStyleBackColor = true;
    42100      //
    43101      // VRPProblemInstanceView
    44102      //
    45       this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    46       this.Controls.Add(this.pictureBox);
     103      this.Controls.Add(this.tabControl1);
    47104      this.Name = "VRPProblemInstanceView";
    48105      this.Size = new System.Drawing.Size(462, 393);
     106      this.Controls.SetChildIndex(this.tabControl1, 0);
     107      this.Controls.SetChildIndex(this.infoLabel, 0);
     108      this.Controls.SetChildIndex(this.nameTextBox, 0);
     109      this.Controls.SetChildIndex(this.nameLabel, 0);
     110      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).EndInit();
    49111      ((System.ComponentModel.ISupportInitialize)(this.pictureBox)).EndInit();
     112      this.tabControl1.ResumeLayout(false);
     113      this.tabPage1.ResumeLayout(false);
     114      this.tabPage2.ResumeLayout(false);
    50115      this.ResumeLayout(false);
     116      this.PerformLayout();
    51117
    52118    }
     
    54120
    55121    private System.Windows.Forms.PictureBox pictureBox;
     122    private System.Windows.Forms.TabControl tabControl1;
     123    private System.Windows.Forms.TabPage tabPage1;
     124    private System.Windows.Forms.TabPage tabPage2;
    56125  }
    57126}
  • trunk/sources/HeuristicLab.Problems.VehicleRouting.Views/3.4/VRPProblemInstanceView.cs

    r8053 r8651  
    2727using HeuristicLab.MainForm;
    2828using HeuristicLab.Problems.VehicleRouting.Interfaces;
     29using HeuristicLab.Optimization.Views;
    2930
    3031namespace HeuristicLab.Problems.VehicleRouting.Views {
    3132  [View("VRPProblemInstance View")]
    3233  [Content(typeof(IVRPProblemInstance), true)]
    33   public abstract partial class VRPProblemInstanceView : ItemView {
     34  public abstract partial class VRPProblemInstanceView : ParameterizedNamedItemView {
    3435    public new IVRPProblemInstance Content {
    3536      get { return (IVRPProblemInstance)base.Content; }
  • trunk/sources/HeuristicLab.Problems.VehicleRouting/3.4/Interfaces/IVRPProblemInstance.cs

    r8053 r8651  
    2727
    2828namespace HeuristicLab.Problems.VehicleRouting.Interfaces {
    29   public interface IVRPProblemInstance : IItem {
     29  public interface IVRPProblemInstance : IParameterizedNamedItem {
    3030    IVRPEvaluator SolutionEvaluator { get; set; }
    3131    IVRPEvaluator MoveEvaluator { get; }
Note: See TracChangeset for help on using the changeset viewer.