Changeset 5797 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager
- Timestamp:
- 03/22/11 16:57:44 (14 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager/HiveJobView.designer.cs
r5793 r5797 65 65 this.exceptionTextBox = new System.Windows.Forms.TextBox(); 66 66 this.tabControl = new System.Windows.Forms.TabControl(); 67 this.splitContainer1 = new System.Windows.Forms.SplitContainer(); 67 68 this.logTabPage.SuspendLayout(); 68 69 this.stateLogTabPage.SuspendLayout(); … … 73 74 this.jobStatusGroupBox.SuspendLayout(); 74 75 this.tabControl.SuspendLayout(); 76 ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); 77 this.splitContainer1.Panel1.SuspendLayout(); 78 this.splitContainer1.Panel2.SuspendLayout(); 79 this.splitContainer1.SuspendLayout(); 75 80 this.SuspendLayout(); 76 81 // … … 151 156 // detailsTabPage 152 157 // 158 this.detailsTabPage.Controls.Add(this.splitContainer1); 153 159 this.detailsTabPage.Controls.Add(this.restartButton); 154 160 this.detailsTabPage.Controls.Add(this.pauseButton); 155 161 this.detailsTabPage.Controls.Add(this.stopButton); 156 162 this.detailsTabPage.Controls.Add(this.optimizerGroupBox); 157 this.detailsTabPage.Controls.Add(this.configurationGroupBox);158 163 this.detailsTabPage.Controls.Add(this.jobIdLabel); 159 164 this.detailsTabPage.Controls.Add(this.jobIdTextBox); 160 this.detailsTabPage.Controls.Add(this.jobStatusGroupBox);161 165 this.detailsTabPage.Location = new System.Drawing.Point(4, 22); 162 166 this.detailsTabPage.Name = "detailsTabPage"; 163 167 this.detailsTabPage.Padding = new System.Windows.Forms.Padding(3); 164 this.detailsTabPage.Size = new System.Drawing.Size( 611, 492);168 this.detailsTabPage.Size = new System.Drawing.Size(563, 375); 165 169 this.detailsTabPage.TabIndex = 0; 166 170 this.detailsTabPage.Text = "Details"; … … 171 175 this.restartButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 172 176 this.restartButton.Image = ((System.Drawing.Image)(resources.GetObject("restartButton.Image"))); 173 this.restartButton.Location = new System.Drawing.Point(3, 465);177 this.restartButton.Location = new System.Drawing.Point(3, 348); 174 178 this.restartButton.Name = "restartButton"; 175 179 this.restartButton.Size = new System.Drawing.Size(24, 24); … … 183 187 this.pauseButton.Enabled = false; 184 188 this.pauseButton.Image = ((System.Drawing.Image)(resources.GetObject("pauseButton.Image"))); 185 this.pauseButton.Location = new System.Drawing.Point(33, 465);189 this.pauseButton.Location = new System.Drawing.Point(33, 348); 186 190 this.pauseButton.Name = "pauseButton"; 187 191 this.pauseButton.Size = new System.Drawing.Size(24, 24); … … 194 198 this.stopButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 195 199 this.stopButton.Image = ((System.Drawing.Image)(resources.GetObject("stopButton.Image"))); 196 this.stopButton.Location = new System.Drawing.Point(63, 465);200 this.stopButton.Location = new System.Drawing.Point(63, 348); 197 201 this.stopButton.Name = "stopButton"; 198 202 this.stopButton.Size = new System.Drawing.Size(24, 24); … … 211 215 this.optimizerGroupBox.Location = new System.Drawing.Point(6, 29); 212 216 this.optimizerGroupBox.Name = "optimizerGroupBox"; 213 this.optimizerGroupBox.Size = new System.Drawing.Size(5 99, 129);217 this.optimizerGroupBox.Size = new System.Drawing.Size(551, 129); 214 218 this.optimizerGroupBox.TabIndex = 28; 215 219 this.optimizerGroupBox.TabStop = false; … … 220 224 this.showOptimizerButton.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 221 225 | System.Windows.Forms.AnchorStyles.Right))); 222 this.showOptimizerButton.Location = new System.Drawing.Point( 12, 99);226 this.showOptimizerButton.Location = new System.Drawing.Point(78, 99); 223 227 this.showOptimizerButton.Name = "showOptimizerButton"; 224 this.showOptimizerButton.Size = new System.Drawing.Size( 581, 23);228 this.showOptimizerButton.Size = new System.Drawing.Size(467, 23); 225 229 this.showOptimizerButton.TabIndex = 3; 226 230 this.showOptimizerButton.Text = "Show Optimizer"; … … 234 238 this.lastUpdatedTextBox.Location = new System.Drawing.Point(78, 73); 235 239 this.lastUpdatedTextBox.Name = "lastUpdatedTextBox"; 236 this.lastUpdatedTextBox.Size = new System.Drawing.Size( 515, 20);240 this.lastUpdatedTextBox.Size = new System.Drawing.Size(467, 20); 237 241 this.lastUpdatedTextBox.TabIndex = 2; 238 242 // … … 255 259 this.optimizerNamedItemView.Name = "optimizerNamedItemView"; 256 260 this.optimizerNamedItemView.ReadOnly = false; 257 this.optimizerNamedItemView.Size = new System.Drawing.Size(5 87, 51);261 this.optimizerNamedItemView.Size = new System.Drawing.Size(539, 51); 258 262 this.optimizerNamedItemView.TabIndex = 0; 259 263 // 260 264 // configurationGroupBox 261 265 // 262 this.configurationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)263 | System.Windows.Forms.AnchorStyles.Right)));264 266 this.configurationGroupBox.Controls.Add(this.priorityTextBox); 265 267 this.configurationGroupBox.Controls.Add(this.priorityLabel); … … 270 272 this.configurationGroupBox.Controls.Add(this.computeInParallelLabel); 271 273 this.configurationGroupBox.Controls.Add(this.computeInParallelCheckBox); 272 this.configurationGroupBox.Location = new System.Drawing.Point(6, 164); 274 this.configurationGroupBox.Dock = System.Windows.Forms.DockStyle.Fill; 275 this.configurationGroupBox.Location = new System.Drawing.Point(0, 0); 273 276 this.configurationGroupBox.Name = "configurationGroupBox"; 274 this.configurationGroupBox.Size = new System.Drawing.Size( 599, 119);277 this.configurationGroupBox.Size = new System.Drawing.Size(275, 155); 275 278 this.configurationGroupBox.TabIndex = 27; 276 279 this.configurationGroupBox.TabStop = false; … … 283 286 this.priorityTextBox.Location = new System.Drawing.Point(108, 66); 284 287 this.priorityTextBox.Name = "priorityTextBox"; 285 this.priorityTextBox.Size = new System.Drawing.Size( 485, 20);288 this.priorityTextBox.Size = new System.Drawing.Size(161, 20); 286 289 this.priorityTextBox.TabIndex = 41; 287 290 // … … 301 304 this.coresNeededTextBox.Location = new System.Drawing.Point(108, 20); 302 305 this.coresNeededTextBox.Name = "coresNeededTextBox"; 303 this.coresNeededTextBox.Size = new System.Drawing.Size( 485, 20);306 this.coresNeededTextBox.Size = new System.Drawing.Size(161, 20); 304 307 this.coresNeededTextBox.TabIndex = 37; 305 308 // … … 310 313 this.memoryNeededTextBox.Location = new System.Drawing.Point(108, 42); 311 314 this.memoryNeededTextBox.Name = "memoryNeededTextBox"; 312 this.memoryNeededTextBox.Size = new System.Drawing.Size( 485, 20);315 this.memoryNeededTextBox.Size = new System.Drawing.Size(161, 20); 313 316 this.memoryNeededTextBox.TabIndex = 38; 314 317 // … … 365 368 this.jobIdTextBox.Location = new System.Drawing.Point(91, 6); 366 369 this.jobIdTextBox.Name = "jobIdTextBox"; 367 this.jobIdTextBox.Size = new System.Drawing.Size( 514, 20);370 this.jobIdTextBox.Size = new System.Drawing.Size(466, 20); 368 371 this.jobIdTextBox.TabIndex = 26; 369 372 // 370 373 // jobStatusGroupBox 371 374 // 372 this.jobStatusGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)373 | System.Windows.Forms.AnchorStyles.Right)));374 375 this.jobStatusGroupBox.Controls.Add(this.stateTextBox); 375 376 this.jobStatusGroupBox.Controls.Add(this.dateCalculatedLabel); … … 384 385 this.jobStatusGroupBox.Controls.Add(this.dateFinishedLabel); 385 386 this.jobStatusGroupBox.Controls.Add(this.exceptionTextBox); 386 this.jobStatusGroupBox.Location = new System.Drawing.Point(6, 289); 387 this.jobStatusGroupBox.Dock = System.Windows.Forms.DockStyle.Fill; 388 this.jobStatusGroupBox.Location = new System.Drawing.Point(0, 0); 387 389 this.jobStatusGroupBox.Name = "jobStatusGroupBox"; 388 this.jobStatusGroupBox.Size = new System.Drawing.Size( 599, 162);390 this.jobStatusGroupBox.Size = new System.Drawing.Size(272, 155); 389 391 this.jobStatusGroupBox.TabIndex = 24; 390 392 this.jobStatusGroupBox.TabStop = false; … … 397 399 this.stateTextBox.Location = new System.Drawing.Point(95, 19); 398 400 this.stateTextBox.Name = "stateTextBox"; 399 this.stateTextBox.Size = new System.Drawing.Size( 498, 20);401 this.stateTextBox.Size = new System.Drawing.Size(171, 20); 400 402 this.stateTextBox.TabIndex = 2; 401 403 // … … 424 426 this.dateCalculatedText.Location = new System.Drawing.Point(95, 85); 425 427 this.dateCalculatedText.Name = "dateCalculatedText"; 426 this.dateCalculatedText.Size = new System.Drawing.Size( 498, 20);428 this.dateCalculatedText.Size = new System.Drawing.Size(171, 20); 427 429 this.dateCalculatedText.TabIndex = 22; 428 430 // … … 433 435 this.dateFinishedTextBox.Location = new System.Drawing.Point(95, 107); 434 436 this.dateFinishedTextBox.Name = "dateFinishedTextBox"; 435 this.dateFinishedTextBox.Size = new System.Drawing.Size( 498, 20);437 this.dateFinishedTextBox.Size = new System.Drawing.Size(171, 20); 436 438 this.dateFinishedTextBox.TabIndex = 6; 437 439 // … … 442 444 this.executionTimeTextBox.Location = new System.Drawing.Point(95, 41); 443 445 this.executionTimeTextBox.Name = "executionTimeTextBox"; 444 this.executionTimeTextBox.Size = new System.Drawing.Size( 498, 20);446 this.executionTimeTextBox.Size = new System.Drawing.Size(171, 20); 445 447 this.executionTimeTextBox.TabIndex = 4; 446 448 // … … 451 453 this.dateCreatedTextBox.Location = new System.Drawing.Point(95, 63); 452 454 this.dateCreatedTextBox.Name = "dateCreatedTextBox"; 453 this.dateCreatedTextBox.Size = new System.Drawing.Size( 498, 20);455 this.dateCreatedTextBox.Size = new System.Drawing.Size(171, 20); 454 456 this.dateCreatedTextBox.TabIndex = 5; 455 457 // … … 496 498 this.exceptionTextBox.Location = new System.Drawing.Point(95, 129); 497 499 this.exceptionTextBox.Name = "exceptionTextBox"; 498 this.exceptionTextBox.Size = new System.Drawing.Size( 498, 20);500 this.exceptionTextBox.Size = new System.Drawing.Size(171, 20); 499 501 this.exceptionTextBox.TabIndex = 10; 500 502 this.exceptionTextBox.DoubleClick += new System.EventHandler(this.exceptionTextBox_DoubleClick); … … 512 514 this.tabControl.Name = "tabControl"; 513 515 this.tabControl.SelectedIndex = 0; 514 this.tabControl.Size = new System.Drawing.Size( 619, 518);516 this.tabControl.Size = new System.Drawing.Size(571, 401); 515 517 this.tabControl.TabIndex = 25; 518 // 519 // splitContainer1 520 // 521 this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 522 | System.Windows.Forms.AnchorStyles.Right))); 523 this.splitContainer1.Location = new System.Drawing.Point(6, 164); 524 this.splitContainer1.Name = "splitContainer1"; 525 // 526 // splitContainer1.Panel1 527 // 528 this.splitContainer1.Panel1.Controls.Add(this.configurationGroupBox); 529 // 530 // splitContainer1.Panel2 531 // 532 this.splitContainer1.Panel2.Controls.Add(this.jobStatusGroupBox); 533 this.splitContainer1.Size = new System.Drawing.Size(551, 155); 534 this.splitContainer1.SplitterDistance = 275; 535 this.splitContainer1.TabIndex = 33; 516 536 // 517 537 // HiveJobView … … 521 541 this.Controls.Add(this.tabControl); 522 542 this.Name = "HiveJobView"; 523 this.Size = new System.Drawing.Size( 625, 524);543 this.Size = new System.Drawing.Size(577, 407); 524 544 this.logTabPage.ResumeLayout(false); 525 545 this.stateLogTabPage.ResumeLayout(false); … … 534 554 this.jobStatusGroupBox.PerformLayout(); 535 555 this.tabControl.ResumeLayout(false); 556 this.splitContainer1.Panel1.ResumeLayout(false); 557 this.splitContainer1.Panel2.ResumeLayout(false); 558 ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit(); 559 this.splitContainer1.ResumeLayout(false); 536 560 this.ResumeLayout(false); 537 561 … … 580 604 private System.Windows.Forms.TextBox dateCreatedTextBox; 581 605 private System.Windows.Forms.Label dateCreatedLabel; 606 private System.Windows.Forms.SplitContainer splitContainer1; 582 607 583 608 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager/ItemTreeView.cs
r5793 r5797 83 83 } else { 84 84 TreeNode node = GetNodeByItem(sender as IItemTree); 85 foreach (IItemTree item in e.Items) { 86 AddChildNodes(item, node.Nodes, true); 87 node.ExpandAll(); 88 UpdateNodeItemImage(node); 85 if (node != null) { 86 foreach (IItemTree item in e.Items) { 87 AddChildNodes(item, node.Nodes, true); 88 node.ExpandAll(); 89 UpdateNodeItemImage(node); 90 } 89 91 } 90 92 } … … 96 98 } else { 97 99 TreeNode node = GetNodeByItem(sender as IItemTree); 98 foreach (IItemTree item in e.Items) { 99 RemoveChildNodes(item, node.Nodes); 100 } 101 RebuildImageList(); 100 if (node != null) { 101 foreach (IItemTree item in e.Items) { 102 RemoveChildNodes(item, node.Nodes); 103 } 104 RebuildImageList(); 105 } 102 106 } 103 107 } … … 108 112 } else { 109 113 TreeNode node = GetNodeByItem(sender as IItemTree); 110 foreach (IItemTree item in e.OldItems) { 111 RemoveChildNodes(item, node.Nodes); 112 } 113 RebuildImageList(); 114 foreach (IItemTree item in e.Items) { 115 AddChildNodes(item, node.Nodes, true); 114 if (node != null) { 115 foreach (IItemTree item in e.OldItems) { 116 RemoveChildNodes(item, node.Nodes); 117 } 118 RebuildImageList(); 119 foreach (IItemTree item in e.Items) { 120 AddChildNodes(item, node.Nodes, true); 121 } 116 122 } 117 123 } … … 124 130 var item = sender as IItemTree; 125 131 TreeNode node = GetNodeByItem(item); 126 node.Text = item.ToString(); 132 if(node != null) 133 node.Text = item.ToString(); 127 134 } 128 135 } … … 134 141 var item = sender as IItemTree; 135 142 TreeNode node = GetNodeByItem(item); 136 UpdateNodeItemImage(node); 143 if(node != null) 144 UpdateNodeItemImage(node); 137 145 } 138 146 }
Note: See TracChangeset
for help on using the changeset viewer.