Changeset 4765


Ignore:
Timestamp:
11/10/10 16:09:34 (9 years ago)
Author:
epitzer
Message:

Show parameters of active execution context in DebugEngine (#47)

Location:
branches/HeuristicLab.DebugEngine
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.DebugEngine/DebugEngineView.Designer.cs

    r4759 r4765  
    5454      this.label2 = new System.Windows.Forms.Label();
    5555      this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     56      this.label4 = new System.Windows.Forms.Label();
     57      this.operationTextBox = new System.Windows.Forms.TextBox();
    5658      this.label3 = new System.Windows.Forms.Label();
    5759      this.scopeTreeView = new System.Windows.Forms.TreeView();
     
    6062      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    6163      this.parentButton = new System.Windows.Forms.Button();
    62       this.operationTextBox = new System.Windows.Forms.TextBox();
    63       this.label4 = new System.Windows.Forms.Label();
     64      this.splitContainer3 = new System.Windows.Forms.SplitContainer();
     65      this.parameterCollectionView = new HeuristicLab.Core.Views.ParameterCollectionView();
    6466      this.splitContainer1.Panel1.SuspendLayout();
    6567      this.splitContainer1.Panel2.SuspendLayout();
     
    6870      this.splitContainer2.Panel2.SuspendLayout();
    6971      this.splitContainer2.SuspendLayout();
     72      this.splitContainer3.Panel1.SuspendLayout();
     73      this.splitContainer3.Panel2.SuspendLayout();
     74      this.splitContainer3.SuspendLayout();
    7075      this.SuspendLayout();
    7176      //
     
    8691      this.executionTimeTextBox.Name = "executionTimeTextBox";
    8792      this.executionTimeTextBox.ReadOnly = true;
    88       this.executionTimeTextBox.Size = new System.Drawing.Size(496, 20);
     93      this.executionTimeTextBox.Size = new System.Drawing.Size(684, 20);
    8994      this.executionTimeTextBox.TabIndex = 1;
    9095      //
     
    97102      this.logView.Name = "logView";
    98103      this.logView.ReadOnly = false;
    99       this.logView.Size = new System.Drawing.Size(339, 255);
     104      this.logView.Size = new System.Drawing.Size(433, 237);
    100105      this.logView.TabIndex = 2;
    101106      //
     
    115120      //
    116121      this.splitContainer1.Panel2.Controls.Add(this.logView);
    117       this.splitContainer1.Size = new System.Drawing.Size(339, 492);
    118       this.splitContainer1.SplitterDistance = 233;
     122      this.splitContainer1.Size = new System.Drawing.Size(433, 503);
     123      this.splitContainer1.SplitterDistance = 262;
    119124      this.splitContainer1.TabIndex = 3;
    120125      //
     
    127132      this.executionStackTreeView.Name = "executionStackTreeView";
    128133      this.executionStackTreeView.ShowNodeToolTips = true;
    129       this.executionStackTreeView.Size = new System.Drawing.Size(333, 214);
     134      this.executionStackTreeView.Size = new System.Drawing.Size(427, 243);
    130135      this.executionStackTreeView.TabIndex = 2;
    131136      this.executionStackTreeView.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.executionStackTreeView_NodeMouseDoubleClick);
     
    154159      // splitContainer2.Panel2
    155160      //
     161      this.splitContainer2.Panel2.Controls.Add(this.splitContainer3);
    156162      this.splitContainer2.Panel2.Controls.Add(this.label4);
    157163      this.splitContainer2.Panel2.Controls.Add(this.operationTextBox);
    158       this.splitContainer2.Panel2.Controls.Add(this.label3);
    159       this.splitContainer2.Panel2.Controls.Add(this.scopeTreeView);
    160       this.splitContainer2.Size = new System.Drawing.Size(678, 492);
    161       this.splitContainer2.SplitterDistance = 339;
     164      this.splitContainer2.Size = new System.Drawing.Size(866, 503);
     165      this.splitContainer2.SplitterDistance = 433;
    162166      this.splitContainer2.TabIndex = 0;
    163167      //
     168      // label4
     169      //
     170      this.label4.AutoSize = true;
     171      this.label4.Location = new System.Drawing.Point(3, 6);
     172      this.label4.Name = "label4";
     173      this.label4.Size = new System.Drawing.Size(56, 13);
     174      this.label4.TabIndex = 3;
     175      this.label4.Text = "Operation:";
     176      //
     177      // operationTextBox
     178      //
     179      this.operationTextBox.Location = new System.Drawing.Point(65, 3);
     180      this.operationTextBox.Name = "operationTextBox";
     181      this.operationTextBox.ReadOnly = true;
     182      this.operationTextBox.Size = new System.Drawing.Size(267, 20);
     183      this.operationTextBox.TabIndex = 2;
     184      //
    164185      // label3
    165186      //
    166187      this.label3.AutoSize = true;
    167       this.label3.Location = new System.Drawing.Point(3, 26);
     188      this.label3.Location = new System.Drawing.Point(3, 0);
    168189      this.label3.Name = "label3";
    169190      this.label3.Size = new System.Drawing.Size(63, 13);
     
    176197                  | System.Windows.Forms.AnchorStyles.Left)
    177198                  | System.Windows.Forms.AnchorStyles.Right)));
    178       this.scopeTreeView.Location = new System.Drawing.Point(3, 42);
     199      this.scopeTreeView.Location = new System.Drawing.Point(3, 16);
    179200      this.scopeTreeView.Name = "scopeTreeView";
    180201      this.scopeTreeView.ShowNodeToolTips = true;
    181       this.scopeTreeView.Size = new System.Drawing.Size(329, 447);
     202      this.scopeTreeView.Size = new System.Drawing.Size(417, 216);
    182203      this.scopeTreeView.TabIndex = 0;
    183204      this.scopeTreeView.NodeMouseDoubleClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.scopeTreeView_NodeMouseDoubleClick);
     
    187208      this.stepButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
    188209      this.stepButton.Image = ((System.Drawing.Image)(resources.GetObject("stepButton.Image")));
    189       this.stepButton.Location = new System.Drawing.Point(624, 3);
     210      this.stepButton.Location = new System.Drawing.Point(812, 3);
    190211      this.stepButton.Name = "stepButton";
    191212      this.stepButton.Size = new System.Drawing.Size(24, 24);
     
    199220      this.updateButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
    200221      this.updateButton.Image = ((System.Drawing.Image)(resources.GetObject("updateButton.Image")));
    201       this.updateButton.Location = new System.Drawing.Point(654, 3);
     222      this.updateButton.Location = new System.Drawing.Point(842, 3);
    202223      this.updateButton.Name = "updateButton";
    203224      this.updateButton.Size = new System.Drawing.Size(24, 24);
     
    211232      this.parentButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
    212233      this.parentButton.Image = ((System.Drawing.Image)(resources.GetObject("parentButton.Image")));
    213       this.parentButton.Location = new System.Drawing.Point(594, 3);
     234      this.parentButton.Location = new System.Drawing.Point(782, 3);
    214235      this.parentButton.Name = "parentButton";
    215236      this.parentButton.Size = new System.Drawing.Size(24, 24);
     
    219240      this.parentButton.Click += new System.EventHandler(this.parentButton_Click);
    220241      //
    221       // operationTextBox
    222       //
    223       this.operationTextBox.Location = new System.Drawing.Point(65, 3);
    224       this.operationTextBox.Name = "operationTextBox";
    225       this.operationTextBox.ReadOnly = true;
    226       this.operationTextBox.Size = new System.Drawing.Size(267, 20);
    227       this.operationTextBox.TabIndex = 2;
    228       //
    229       // label4
    230       //
    231       this.label4.AutoSize = true;
    232       this.label4.Location = new System.Drawing.Point(3, 6);
    233       this.label4.Name = "label4";
    234       this.label4.Size = new System.Drawing.Size(56, 13);
    235       this.label4.TabIndex = 3;
    236       this.label4.Text = "Operation:";
     242      // splitContainer3
     243      //
     244      this.splitContainer3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     245                  | System.Windows.Forms.AnchorStyles.Left)
     246                  | System.Windows.Forms.AnchorStyles.Right)));
     247      this.splitContainer3.Location = new System.Drawing.Point(3, 29);
     248      this.splitContainer3.Name = "splitContainer3";
     249      this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
     250      //
     251      // splitContainer3.Panel1
     252      //
     253      this.splitContainer3.Panel1.Controls.Add(this.parameterCollectionView);
     254      //
     255      // splitContainer3.Panel2
     256      //
     257      this.splitContainer3.Panel2.Controls.Add(this.label3);
     258      this.splitContainer3.Panel2.Controls.Add(this.scopeTreeView);
     259      this.splitContainer3.Size = new System.Drawing.Size(423, 471);
     260      this.splitContainer3.SplitterDistance = 235;
     261      this.splitContainer3.TabIndex = 4;
     262      //
     263      // parameterCollectionView
     264      //
     265      this.parameterCollectionView.Caption = "ParameterCollection View";
     266      this.parameterCollectionView.Content = null;
     267      this.parameterCollectionView.Dock = System.Windows.Forms.DockStyle.Fill;
     268      this.parameterCollectionView.Location = new System.Drawing.Point(0, 0);
     269      this.parameterCollectionView.Name = "parameterCollectionView";
     270      this.parameterCollectionView.ReadOnly = false;
     271      this.parameterCollectionView.Size = new System.Drawing.Size(423, 235);
     272      this.parameterCollectionView.TabIndex = 0;
    237273      //
    238274      // DebugEngineView
     
    246282      this.Controls.Add(this.label1);
    247283      this.Name = "DebugEngineView";
    248       this.Size = new System.Drawing.Size(684, 527);
     284      this.Size = new System.Drawing.Size(872, 538);
    249285      this.splitContainer1.Panel1.ResumeLayout(false);
    250286      this.splitContainer1.Panel1.PerformLayout();
     
    255291      this.splitContainer2.Panel2.PerformLayout();
    256292      this.splitContainer2.ResumeLayout(false);
     293      this.splitContainer3.Panel1.ResumeLayout(false);
     294      this.splitContainer3.Panel2.ResumeLayout(false);
     295      this.splitContainer3.Panel2.PerformLayout();
     296      this.splitContainer3.ResumeLayout(false);
    257297      this.ResumeLayout(false);
    258298      this.PerformLayout();
     
    277317    private System.Windows.Forms.Label label4;
    278318    private System.Windows.Forms.TextBox operationTextBox;
     319    private System.Windows.Forms.SplitContainer splitContainer3;
     320    private Core.Views.ParameterCollectionView parameterCollectionView;
    279321
    280322  }
  • branches/HeuristicLab.DebugEngine/DebugEngineView.cs

    r4759 r4765  
    129129      IAtomicOperation atomicOperation = operation as IAtomicOperation;
    130130      operationTextBox.Text = "<none>";
     131      parameterCollectionView.Content = null;
    131132      toolTip.SetToolTip(operationTextBox, null);
    132133      if (atomicOperation != null && atomicOperation.Operator != null) {
     
    140141      IScope scope = null;
    141142      if (context != null) {
     143        parameterCollectionView.Content = context.Parameters;
    142144        scope = context.Scope;
    143145        while (scope != null && scope.Parent != null)
  • branches/HeuristicLab.DebugEngine/DebugEngineView.resx

    r4759 r4765  
    122122    <value>
    123123        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
    124         YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEQAA
    125         CxEBf2RfkQAAARBJREFUOE9j+P//PwM6Tuh5woxNHJsYhmaQIqABMkDMRIwhWA0onPX8f/zkt0rEGILV
     124        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEAAA
     125        CxABrSO9dQAAARBJREFUOE9j+P//PwM6Tuh5woxNHJsYhmaQIqABMkDMRIwhWA0onPX8f/zkt0rEGILV
    126126        gNyZz/4ndN/7HzfhtQYh72A1IGPK0//z9v/+H9Rw8zXQAFt8huAKg/+z9/3637n173+30sv/gQbY4zIE
    127127        qwGRXY/+T9n263/J0r//E6b//W+TexanIVgNCGx++L917XuwZuOSL/+lo6/9N45c9t+h6Gw8ukuwGuBR
     
    137137    <value>
    138138        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
    139         YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEAAA
    140         CxABrSO9dQAAAmFJREFUOE+dk21IU1EYx3cVVzkhaLCy+UaY0xwlZkYRmiGR7oMEUlAGfRGKvkRFVOQ0
     139        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALDwAA
     140        Cw8BkvkDpQAAAmFJREFUOE+dk21IU1EYx3cVVzkhaLCy+UaY0xwlZkYRmiGR7oMEUlAGfRGKvkRFVOQ0
    141141        DddsVmtbvpQWhCFBSvaCUcRAk0gGm8SGM7JtrU1nzYFvu3P33znDRcLpSxceDvdefr/zv+d5Lidaufjg
    142142        QKKIWwNSUo4Tz4u4RAl5xYsgJIuEcADCYlS8oQKLvvvKdam1n+PcqjUyN5ox7PyIVrMB1U9PoKxThZI7
     
    154154    <value>
    155155        iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
    156         YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEgAA
    157         CxIB0t1+/AAAAN5JREFUOE9j/P//PwNFAGQALuxeeskYnzzYclwKVH3nSpXNefEfaEgEPkOwGgDTPG/f
     156        YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAlwSFlzAAALEQAA
     157        CxEBf2RfkQAAAN5JREFUOE9j/P//PwNFAGQALuxeeskYnzzYclwKVH3nSpXNefEfaEgEPkOwGgDTPG/f
    158158        3/+GYYv+G8ds8MVlCIYByJrz5/7475R35L9WwAKchqAYgKy5dd2//5E9n/57lF38b5+1/7+G31yshqAY
    159159        APJz8cyn/0F07Yr//+Mm//nvX3/vv2bI6v9Aw/+reE4D+gQ10LGGAcgAkAtgBqj7L8LQCDMIpwGTt//9
Note: See TracChangeset for help on using the changeset viewer.