Changeset 5718 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager
- Timestamp:
- 03/16/11 17:02:15 (14 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager/HiveJobView.cs
r5636 r5718 23 23 using System.Linq; 24 24 using System.Windows.Forms; 25 using HeuristicLab.Core;26 25 using HeuristicLab.Core.Views; 27 26 using HeuristicLab.MainForm; … … 62 61 if (Content != null && Content.Job != null) { 63 62 logView.Content = Content.OptimizerJob.Log; 64 childHiveJobView.Content = Content.ChildHiveJobs;65 63 computeInParallelCheckBox.Checked = Content.OptimizerJob.ComputeInParallel; 66 64 } else { 67 65 logView.Content = null; 68 childHiveJobView.Content = null;69 66 computeInParallelCheckBox.Checked = false; 70 67 } … … 110 107 if (Content != null && Content.Job != null) { 111 108 this.jobIdTextBox.Text = Content.Job.Id.ToString(); 112 this.dateCreatedTextBox.Text = Content.Job.DateCreated. ToString();109 this.dateCreatedTextBox.Text = Content.Job.DateCreated.HasValue ? Content.Job.DateCreated.ToString() : "-"; 113 110 this.priorityTextBox.Text = Content.Job.Priority.ToString(); 114 111 this.coresNeededTextBox.Text = Content.Job.CoresNeeded.ToString(); … … 131 128 this.stateTextBox.Text = Content.Job.State.ToString(); 132 129 this.executionTimeTextBox.Text = Content.Job.ExecutionTime.ToString(); 133 //this.dateCalculatedText.Text = Content.Job.DateCalculated.ToString();134 130 this.dateFinishedTextBox.Text = Content.Job.DateFinished.ToString(); 135 131 this.exceptionTextBox.Text = Content.Job.CurrentStateLog.Exception; 136 132 if (Content.OptimizerJob.ComputeInParallel) { 137 this.stateLogViewHost.Content = new ItemList<StateLogList>(133 this.stateLogViewHost.Content = new StateLogListList( 138 134 this.Content.ChildHiveJobs.Select(child => new StateLogList(child.Job.StateLog) 139 135 )); … … 168 164 169 165 optimizerNamedItemView.ReadOnly = true; 170 ShowOrHideChildJobTabPage();171 166 } 172 167 … … 176 171 } else { 177 172 computeInParallelCheckBox.Checked = Content.OptimizerJob.ComputeInParallel; 178 ShowOrHideChildJobTabPage();179 }180 }181 182 private void ShowOrHideChildJobTabPage() {183 if (Content != null && Content.OptimizerJob != null) {184 if (!Content.OptimizerJob.ComputeInParallel) {185 if (tabControl.TabPages.Contains(childJobsTabPage))186 tabControl.TabPages.Remove(childJobsTabPage);187 } else {188 if (!tabControl.TabPages.Contains(childJobsTabPage))189 tabControl.TabPages.Insert(1, childJobsTabPage);190 }191 173 } 192 174 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager/HiveJobView.designer.cs
r5637 r5718 24 24 /// </summary> 25 25 private void InitializeComponent() { 26 this.logTabPage = new System.Windows.Forms.TabPage(); 27 this.logView = new HeuristicLab.Core.Views.LogView(); 28 this.stateLogTabPage = new System.Windows.Forms.TabPage(); 29 this.stateLogViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost(); 30 this.runsTabPage = new System.Windows.Forms.TabPage(); 31 this.runCollectionViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost(); 32 this.detailsTabPage = new System.Windows.Forms.TabPage(); 33 this.jobStatusGroupBox = new System.Windows.Forms.GroupBox(); 34 this.exceptionTextBox = new System.Windows.Forms.TextBox(); 35 this.dateFinishedLabel = new System.Windows.Forms.Label(); 36 this.dateCreatedLabel = new System.Windows.Forms.Label(); 37 this.exceptionLabel = new System.Windows.Forms.Label(); 38 this.executionTimeLabel = new System.Windows.Forms.Label(); 39 this.dateCreatedTextBox = new System.Windows.Forms.TextBox(); 40 this.executionTimeTextBox = new System.Windows.Forms.TextBox(); 41 this.dateFinishedTextBox = new System.Windows.Forms.TextBox(); 42 this.dateCalculatedText = new System.Windows.Forms.TextBox(); 26 43 this.stateLabel = new System.Windows.Forms.Label(); 44 this.dateCalculatedLabel = new System.Windows.Forms.Label(); 27 45 this.stateTextBox = new System.Windows.Forms.TextBox(); 28 this.executionTimeTextBox = new System.Windows.Forms.TextBox(); 29 this.dateCreatedTextBox = new System.Windows.Forms.TextBox(); 30 this.dateFinishedTextBox = new System.Windows.Forms.TextBox(); 31 this.exceptionTextBox = new System.Windows.Forms.TextBox(); 32 this.executionTimeLabel = new System.Windows.Forms.Label(); 33 this.dateCreatedLabel = new System.Windows.Forms.Label(); 34 this.dateFinishedLabel = new System.Windows.Forms.Label(); 35 this.exceptionLabel = new System.Windows.Forms.Label(); 36 this.dateCalculatedText = new System.Windows.Forms.TextBox(); 37 this.dateCalculatedLabel = new System.Windows.Forms.Label(); 38 this.jobStatusGroupBox = new System.Windows.Forms.GroupBox(); 39 this.tabControl = new System.Windows.Forms.TabControl(); 40 this.detailsTabPage = new System.Windows.Forms.TabPage(); 46 this.jobIdTextBox = new System.Windows.Forms.TextBox(); 47 this.jobIdLabel = new System.Windows.Forms.Label(); 48 this.configurationGroupBox = new System.Windows.Forms.GroupBox(); 49 this.computeInParallelCheckBox = new System.Windows.Forms.CheckBox(); 50 this.computeInParallelLabel = new System.Windows.Forms.Label(); 51 this.coresNeededLabel = new System.Windows.Forms.Label(); 52 this.memoryNeededLabel = new System.Windows.Forms.Label(); 53 this.memoryNeededTextBox = new System.Windows.Forms.TextBox(); 54 this.coresNeededTextBox = new System.Windows.Forms.TextBox(); 55 this.priorityLabel = new System.Windows.Forms.Label(); 56 this.priorityTextBox = new System.Windows.Forms.TextBox(); 41 57 this.optimizerGroupBox = new System.Windows.Forms.GroupBox(); 42 58 this.optimizerNamedItemView = new HeuristicLab.Core.Views.NamedItemView(); 43 this.configurationGroupBox = new System.Windows.Forms.GroupBox(); 44 this.priorityTextBox = new System.Windows.Forms.TextBox(); 45 this.priorityLabel = new System.Windows.Forms.Label(); 46 this.coresNeededTextBox = new System.Windows.Forms.TextBox(); 47 this.memoryNeededTextBox = new System.Windows.Forms.TextBox(); 48 this.memoryNeededLabel = new System.Windows.Forms.Label(); 49 this.coresNeededLabel = new System.Windows.Forms.Label(); 50 this.computeInParallelLabel = new System.Windows.Forms.Label(); 51 this.computeInParallelCheckBox = new System.Windows.Forms.CheckBox(); 52 this.jobIdLabel = new System.Windows.Forms.Label(); 53 this.jobIdTextBox = new System.Windows.Forms.TextBox(); 54 this.childJobsTabPage = new System.Windows.Forms.TabPage(); 55 this.runsTabPage = new System.Windows.Forms.TabPage(); 56 this.runCollectionViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost(); 57 this.stateLogTabPage = new System.Windows.Forms.TabPage(); 58 this.stateLogViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost(); 59 this.logTabPage = new System.Windows.Forms.TabPage(); 60 this.logView = new HeuristicLab.Core.Views.LogView(); 61 this.childHiveJobView = new HeuristicLab.Clients.Hive.Views.HiveJobListView(); 59 this.tabControl = new System.Windows.Forms.TabControl(); 60 this.logTabPage.SuspendLayout(); 61 this.stateLogTabPage.SuspendLayout(); 62 this.runsTabPage.SuspendLayout(); 63 this.detailsTabPage.SuspendLayout(); 62 64 this.jobStatusGroupBox.SuspendLayout(); 65 this.configurationGroupBox.SuspendLayout(); 66 this.optimizerGroupBox.SuspendLayout(); 63 67 this.tabControl.SuspendLayout(); 64 this.detailsTabPage.SuspendLayout();65 this.optimizerGroupBox.SuspendLayout();66 this.configurationGroupBox.SuspendLayout();67 this.childJobsTabPage.SuspendLayout();68 this.runsTabPage.SuspendLayout();69 this.stateLogTabPage.SuspendLayout();70 this.logTabPage.SuspendLayout();71 68 this.SuspendLayout(); 72 69 // 73 // stateLabel 74 // 75 this.stateLabel.AutoSize = true; 76 this.stateLabel.Location = new System.Drawing.Point(7, 19); 77 this.stateLabel.Name = "stateLabel"; 78 this.stateLabel.Size = new System.Drawing.Size(35, 13); 79 this.stateLabel.TabIndex = 0; 80 this.stateLabel.Text = "State:"; 81 // 82 // stateTextBox 83 // 84 this.stateTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 85 | System.Windows.Forms.AnchorStyles.Right))); 86 this.stateTextBox.Location = new System.Drawing.Point(95, 19); 87 this.stateTextBox.Name = "stateTextBox"; 88 this.stateTextBox.Size = new System.Drawing.Size(509, 20); 89 this.stateTextBox.TabIndex = 2; 90 // 91 // executionTimeTextBox 92 // 93 this.executionTimeTextBox.Location = new System.Drawing.Point(95, 41); 94 this.executionTimeTextBox.Name = "executionTimeTextBox"; 95 this.executionTimeTextBox.Size = new System.Drawing.Size(509, 20); 96 this.executionTimeTextBox.TabIndex = 4; 97 // 98 // dateCreatedTextBox 99 // 100 this.dateCreatedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 101 | System.Windows.Forms.AnchorStyles.Right))); 102 this.dateCreatedTextBox.Location = new System.Drawing.Point(95, 63); 103 this.dateCreatedTextBox.Name = "dateCreatedTextBox"; 104 this.dateCreatedTextBox.Size = new System.Drawing.Size(509, 20); 105 this.dateCreatedTextBox.TabIndex = 5; 106 // 107 // dateFinishedTextBox 108 // 109 this.dateFinishedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 110 | System.Windows.Forms.AnchorStyles.Right))); 111 this.dateFinishedTextBox.Location = new System.Drawing.Point(95, 107); 112 this.dateFinishedTextBox.Name = "dateFinishedTextBox"; 113 this.dateFinishedTextBox.Size = new System.Drawing.Size(509, 20); 114 this.dateFinishedTextBox.TabIndex = 6; 115 // 116 // exceptionTextBox 117 // 118 this.exceptionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 119 | System.Windows.Forms.AnchorStyles.Right))); 120 this.exceptionTextBox.Location = new System.Drawing.Point(95, 129); 121 this.exceptionTextBox.Name = "exceptionTextBox"; 122 this.exceptionTextBox.Size = new System.Drawing.Size(509, 20); 123 this.exceptionTextBox.TabIndex = 10; 124 // 125 // executionTimeLabel 126 // 127 this.executionTimeLabel.AutoSize = true; 128 this.executionTimeLabel.Location = new System.Drawing.Point(7, 41); 129 this.executionTimeLabel.Name = "executionTimeLabel"; 130 this.executionTimeLabel.Size = new System.Drawing.Size(80, 13); 131 this.executionTimeLabel.TabIndex = 13; 132 this.executionTimeLabel.Text = "ExecutionTime:"; 133 // 134 // dateCreatedLabel 135 // 136 this.dateCreatedLabel.AutoSize = true; 137 this.dateCreatedLabel.Location = new System.Drawing.Point(7, 63); 138 this.dateCreatedLabel.Name = "dateCreatedLabel"; 139 this.dateCreatedLabel.Size = new System.Drawing.Size(70, 13); 140 this.dateCreatedLabel.TabIndex = 14; 141 this.dateCreatedLabel.Text = "DateCreated:"; 142 // 143 // dateFinishedLabel 144 // 145 this.dateFinishedLabel.AutoSize = true; 146 this.dateFinishedLabel.Location = new System.Drawing.Point(7, 107); 147 this.dateFinishedLabel.Name = "dateFinishedLabel"; 148 this.dateFinishedLabel.Size = new System.Drawing.Size(72, 13); 149 this.dateFinishedLabel.TabIndex = 15; 150 this.dateFinishedLabel.Text = "DateFinished:"; 151 // 152 // exceptionLabel 153 // 154 this.exceptionLabel.AutoSize = true; 155 this.exceptionLabel.Location = new System.Drawing.Point(7, 129); 156 this.exceptionLabel.Name = "exceptionLabel"; 157 this.exceptionLabel.Size = new System.Drawing.Size(57, 13); 158 this.exceptionLabel.TabIndex = 19; 159 this.exceptionLabel.Text = "Exception:"; 160 // 161 // dateCalculatedText 162 // 163 this.dateCalculatedText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 164 | System.Windows.Forms.AnchorStyles.Right))); 165 this.dateCalculatedText.Location = new System.Drawing.Point(95, 85); 166 this.dateCalculatedText.Name = "dateCalculatedText"; 167 this.dateCalculatedText.Size = new System.Drawing.Size(509, 20); 168 this.dateCalculatedText.TabIndex = 22; 169 // 170 // dateCalculatedLabel 171 // 172 this.dateCalculatedLabel.AutoSize = true; 173 this.dateCalculatedLabel.Location = new System.Drawing.Point(7, 85); 174 this.dateCalculatedLabel.Name = "dateCalculatedLabel"; 175 this.dateCalculatedLabel.Size = new System.Drawing.Size(83, 13); 176 this.dateCalculatedLabel.TabIndex = 23; 177 this.dateCalculatedLabel.Text = "DateCalculated:"; 70 // logTabPage 71 // 72 this.logTabPage.Controls.Add(this.logView); 73 this.logTabPage.Location = new System.Drawing.Point(4, 22); 74 this.logTabPage.Name = "logTabPage"; 75 this.logTabPage.Padding = new System.Windows.Forms.Padding(3); 76 this.logTabPage.Size = new System.Drawing.Size(619, 492); 77 this.logTabPage.TabIndex = 1; 78 this.logTabPage.Text = "Log"; 79 this.logTabPage.UseVisualStyleBackColor = true; 80 // 81 // logView 82 // 83 this.logView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 84 | System.Windows.Forms.AnchorStyles.Left) 85 | System.Windows.Forms.AnchorStyles.Right))); 86 this.logView.Caption = "Log View"; 87 this.logView.Content = null; 88 this.logView.Location = new System.Drawing.Point(3, 3); 89 this.logView.Name = "logView"; 90 this.logView.ReadOnly = false; 91 this.logView.Size = new System.Drawing.Size(613, 486); 92 this.logView.TabIndex = 0; 93 // 94 // stateLogTabPage 95 // 96 this.stateLogTabPage.Controls.Add(this.stateLogViewHost); 97 this.stateLogTabPage.Location = new System.Drawing.Point(4, 22); 98 this.stateLogTabPage.Name = "stateLogTabPage"; 99 this.stateLogTabPage.Size = new System.Drawing.Size(619, 492); 100 this.stateLogTabPage.TabIndex = 5; 101 this.stateLogTabPage.Text = "State"; 102 this.stateLogTabPage.UseVisualStyleBackColor = true; 103 // 104 // stateLogViewHost 105 // 106 this.stateLogViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 107 | System.Windows.Forms.AnchorStyles.Left) 108 | System.Windows.Forms.AnchorStyles.Right))); 109 this.stateLogViewHost.Caption = "View"; 110 this.stateLogViewHost.Content = null; 111 this.stateLogViewHost.Enabled = false; 112 this.stateLogViewHost.Location = new System.Drawing.Point(0, 0); 113 this.stateLogViewHost.Name = "stateLogViewHost"; 114 this.stateLogViewHost.ReadOnly = false; 115 this.stateLogViewHost.Size = new System.Drawing.Size(619, 492); 116 this.stateLogViewHost.TabIndex = 0; 117 this.stateLogViewHost.ViewsLabelVisible = true; 118 this.stateLogViewHost.ViewType = null; 119 // 120 // runsTabPage 121 // 122 this.runsTabPage.Controls.Add(this.runCollectionViewHost); 123 this.runsTabPage.Location = new System.Drawing.Point(4, 22); 124 this.runsTabPage.Name = "runsTabPage"; 125 this.runsTabPage.Size = new System.Drawing.Size(619, 492); 126 this.runsTabPage.TabIndex = 4; 127 this.runsTabPage.Text = "Runs"; 128 this.runsTabPage.UseVisualStyleBackColor = true; 129 // 130 // runCollectionViewHost 131 // 132 this.runCollectionViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 133 | System.Windows.Forms.AnchorStyles.Left) 134 | System.Windows.Forms.AnchorStyles.Right))); 135 this.runCollectionViewHost.Caption = "View"; 136 this.runCollectionViewHost.Content = null; 137 this.runCollectionViewHost.Enabled = false; 138 this.runCollectionViewHost.Location = new System.Drawing.Point(3, 3); 139 this.runCollectionViewHost.Name = "runCollectionViewHost"; 140 this.runCollectionViewHost.ReadOnly = false; 141 this.runCollectionViewHost.Size = new System.Drawing.Size(613, 486); 142 this.runCollectionViewHost.TabIndex = 0; 143 this.runCollectionViewHost.ViewsLabelVisible = true; 144 this.runCollectionViewHost.ViewType = null; 145 // 146 // detailsTabPage 147 // 148 this.detailsTabPage.Controls.Add(this.optimizerGroupBox); 149 this.detailsTabPage.Controls.Add(this.configurationGroupBox); 150 this.detailsTabPage.Controls.Add(this.jobIdLabel); 151 this.detailsTabPage.Controls.Add(this.jobIdTextBox); 152 this.detailsTabPage.Controls.Add(this.jobStatusGroupBox); 153 this.detailsTabPage.Location = new System.Drawing.Point(4, 22); 154 this.detailsTabPage.Name = "detailsTabPage"; 155 this.detailsTabPage.Padding = new System.Windows.Forms.Padding(3); 156 this.detailsTabPage.Size = new System.Drawing.Size(619, 492); 157 this.detailsTabPage.TabIndex = 0; 158 this.detailsTabPage.Text = "Details"; 159 this.detailsTabPage.UseVisualStyleBackColor = true; 178 160 // 179 161 // jobStatusGroupBox … … 200 182 this.jobStatusGroupBox.Text = "Job Status"; 201 183 // 202 // tabControl 203 // 204 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 205 | System.Windows.Forms.AnchorStyles.Left) 206 | System.Windows.Forms.AnchorStyles.Right))); 207 this.tabControl.Controls.Add(this.detailsTabPage); 208 this.tabControl.Controls.Add(this.childJobsTabPage); 209 this.tabControl.Controls.Add(this.runsTabPage); 210 this.tabControl.Controls.Add(this.stateLogTabPage); 211 this.tabControl.Controls.Add(this.logTabPage); 212 this.tabControl.Location = new System.Drawing.Point(3, 3); 213 this.tabControl.Name = "tabControl"; 214 this.tabControl.SelectedIndex = 0; 215 this.tabControl.Size = new System.Drawing.Size(627, 518); 216 this.tabControl.TabIndex = 25; 217 // 218 // detailsTabPage 219 // 220 this.detailsTabPage.Controls.Add(this.optimizerGroupBox); 221 this.detailsTabPage.Controls.Add(this.configurationGroupBox); 222 this.detailsTabPage.Controls.Add(this.jobIdLabel); 223 this.detailsTabPage.Controls.Add(this.jobIdTextBox); 224 this.detailsTabPage.Controls.Add(this.jobStatusGroupBox); 225 this.detailsTabPage.Location = new System.Drawing.Point(4, 22); 226 this.detailsTabPage.Name = "detailsTabPage"; 227 this.detailsTabPage.Padding = new System.Windows.Forms.Padding(3); 228 this.detailsTabPage.Size = new System.Drawing.Size(619, 492); 229 this.detailsTabPage.TabIndex = 0; 230 this.detailsTabPage.Text = "Details"; 231 this.detailsTabPage.UseVisualStyleBackColor = true; 232 // 233 // optimizerGroupBox 234 // 235 this.optimizerGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 236 | System.Windows.Forms.AnchorStyles.Right))); 237 this.optimizerGroupBox.Controls.Add(this.optimizerNamedItemView); 238 this.optimizerGroupBox.Location = new System.Drawing.Point(6, 29); 239 this.optimizerGroupBox.Name = "optimizerGroupBox"; 240 this.optimizerGroupBox.Size = new System.Drawing.Size(610, 74); 241 this.optimizerGroupBox.TabIndex = 28; 242 this.optimizerGroupBox.TabStop = false; 243 this.optimizerGroupBox.Text = "Optimizer"; 244 // 245 // optimizerNamedItemView 246 // 247 this.optimizerNamedItemView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 248 | System.Windows.Forms.AnchorStyles.Right))); 249 this.optimizerNamedItemView.Caption = "NamedItem View"; 250 this.optimizerNamedItemView.Content = null; 251 this.optimizerNamedItemView.Location = new System.Drawing.Point(6, 20); 252 this.optimizerNamedItemView.Name = "optimizerNamedItemView"; 253 this.optimizerNamedItemView.ReadOnly = false; 254 this.optimizerNamedItemView.Size = new System.Drawing.Size(598, 51); 255 this.optimizerNamedItemView.TabIndex = 0; 184 // exceptionTextBox 185 // 186 this.exceptionTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 187 | System.Windows.Forms.AnchorStyles.Right))); 188 this.exceptionTextBox.Location = new System.Drawing.Point(95, 129); 189 this.exceptionTextBox.Name = "exceptionTextBox"; 190 this.exceptionTextBox.Size = new System.Drawing.Size(509, 20); 191 this.exceptionTextBox.TabIndex = 10; 192 // 193 // dateFinishedLabel 194 // 195 this.dateFinishedLabel.AutoSize = true; 196 this.dateFinishedLabel.Location = new System.Drawing.Point(7, 107); 197 this.dateFinishedLabel.Name = "dateFinishedLabel"; 198 this.dateFinishedLabel.Size = new System.Drawing.Size(72, 13); 199 this.dateFinishedLabel.TabIndex = 15; 200 this.dateFinishedLabel.Text = "DateFinished:"; 201 // 202 // dateCreatedLabel 203 // 204 this.dateCreatedLabel.AutoSize = true; 205 this.dateCreatedLabel.Location = new System.Drawing.Point(7, 63); 206 this.dateCreatedLabel.Name = "dateCreatedLabel"; 207 this.dateCreatedLabel.Size = new System.Drawing.Size(70, 13); 208 this.dateCreatedLabel.TabIndex = 14; 209 this.dateCreatedLabel.Text = "DateCreated:"; 210 // 211 // exceptionLabel 212 // 213 this.exceptionLabel.AutoSize = true; 214 this.exceptionLabel.Location = new System.Drawing.Point(7, 129); 215 this.exceptionLabel.Name = "exceptionLabel"; 216 this.exceptionLabel.Size = new System.Drawing.Size(57, 13); 217 this.exceptionLabel.TabIndex = 19; 218 this.exceptionLabel.Text = "Exception:"; 219 // 220 // executionTimeLabel 221 // 222 this.executionTimeLabel.AutoSize = true; 223 this.executionTimeLabel.Location = new System.Drawing.Point(7, 41); 224 this.executionTimeLabel.Name = "executionTimeLabel"; 225 this.executionTimeLabel.Size = new System.Drawing.Size(80, 13); 226 this.executionTimeLabel.TabIndex = 13; 227 this.executionTimeLabel.Text = "ExecutionTime:"; 228 // 229 // dateCreatedTextBox 230 // 231 this.dateCreatedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 232 | System.Windows.Forms.AnchorStyles.Right))); 233 this.dateCreatedTextBox.Location = new System.Drawing.Point(95, 63); 234 this.dateCreatedTextBox.Name = "dateCreatedTextBox"; 235 this.dateCreatedTextBox.Size = new System.Drawing.Size(509, 20); 236 this.dateCreatedTextBox.TabIndex = 5; 237 // 238 // executionTimeTextBox 239 // 240 this.executionTimeTextBox.Location = new System.Drawing.Point(95, 41); 241 this.executionTimeTextBox.Name = "executionTimeTextBox"; 242 this.executionTimeTextBox.Size = new System.Drawing.Size(509, 20); 243 this.executionTimeTextBox.TabIndex = 4; 244 // 245 // dateFinishedTextBox 246 // 247 this.dateFinishedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 248 | System.Windows.Forms.AnchorStyles.Right))); 249 this.dateFinishedTextBox.Location = new System.Drawing.Point(95, 107); 250 this.dateFinishedTextBox.Name = "dateFinishedTextBox"; 251 this.dateFinishedTextBox.Size = new System.Drawing.Size(509, 20); 252 this.dateFinishedTextBox.TabIndex = 6; 253 // 254 // dateCalculatedText 255 // 256 this.dateCalculatedText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 257 | System.Windows.Forms.AnchorStyles.Right))); 258 this.dateCalculatedText.Location = new System.Drawing.Point(95, 85); 259 this.dateCalculatedText.Name = "dateCalculatedText"; 260 this.dateCalculatedText.Size = new System.Drawing.Size(509, 20); 261 this.dateCalculatedText.TabIndex = 22; 262 // 263 // stateLabel 264 // 265 this.stateLabel.AutoSize = true; 266 this.stateLabel.Location = new System.Drawing.Point(7, 19); 267 this.stateLabel.Name = "stateLabel"; 268 this.stateLabel.Size = new System.Drawing.Size(35, 13); 269 this.stateLabel.TabIndex = 0; 270 this.stateLabel.Text = "State:"; 271 // 272 // dateCalculatedLabel 273 // 274 this.dateCalculatedLabel.AutoSize = true; 275 this.dateCalculatedLabel.Location = new System.Drawing.Point(7, 85); 276 this.dateCalculatedLabel.Name = "dateCalculatedLabel"; 277 this.dateCalculatedLabel.Size = new System.Drawing.Size(83, 13); 278 this.dateCalculatedLabel.TabIndex = 23; 279 this.dateCalculatedLabel.Text = "DateCalculated:"; 280 // 281 // stateTextBox 282 // 283 this.stateTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 284 | System.Windows.Forms.AnchorStyles.Right))); 285 this.stateTextBox.Location = new System.Drawing.Point(95, 19); 286 this.stateTextBox.Name = "stateTextBox"; 287 this.stateTextBox.Size = new System.Drawing.Size(509, 20); 288 this.stateTextBox.TabIndex = 2; 289 // 290 // jobIdTextBox 291 // 292 this.jobIdTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 293 | System.Windows.Forms.AnchorStyles.Right))); 294 this.jobIdTextBox.Location = new System.Drawing.Point(91, 6); 295 this.jobIdTextBox.Name = "jobIdTextBox"; 296 this.jobIdTextBox.Size = new System.Drawing.Size(525, 20); 297 this.jobIdTextBox.TabIndex = 26; 298 // 299 // jobIdLabel 300 // 301 this.jobIdLabel.AutoSize = true; 302 this.jobIdLabel.Location = new System.Drawing.Point(3, 6); 303 this.jobIdLabel.Name = "jobIdLabel"; 304 this.jobIdLabel.Size = new System.Drawing.Size(36, 13); 305 this.jobIdLabel.TabIndex = 25; 306 this.jobIdLabel.Text = "JobId:"; 256 307 // 257 308 // configurationGroupBox … … 274 325 this.configurationGroupBox.Text = "Configuration"; 275 326 // 276 // priorityTextBox277 //278 this.priorityTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)279 | System.Windows.Forms.AnchorStyles.Right)));280 this.priorityTextBox.Location = new System.Drawing.Point(108, 66);281 this.priorityTextBox.Name = "priorityTextBox";282 this.priorityTextBox.Size = new System.Drawing.Size(496, 20);283 this.priorityTextBox.TabIndex = 41;284 //285 // priorityLabel286 //287 this.priorityLabel.AutoSize = true;288 this.priorityLabel.Location = new System.Drawing.Point(7, 66);289 this.priorityLabel.Name = "priorityLabel";290 this.priorityLabel.Size = new System.Drawing.Size(41, 13);291 this.priorityLabel.TabIndex = 42;292 this.priorityLabel.Text = "Priority:";293 //294 // coresNeededTextBox295 //296 this.coresNeededTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)297 | System.Windows.Forms.AnchorStyles.Right)));298 this.coresNeededTextBox.Location = new System.Drawing.Point(108, 20);299 this.coresNeededTextBox.Name = "coresNeededTextBox";300 this.coresNeededTextBox.Size = new System.Drawing.Size(496, 20);301 this.coresNeededTextBox.TabIndex = 37;302 //303 // memoryNeededTextBox304 //305 this.memoryNeededTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)306 | System.Windows.Forms.AnchorStyles.Right)));307 this.memoryNeededTextBox.Location = new System.Drawing.Point(108, 42);308 this.memoryNeededTextBox.Name = "memoryNeededTextBox";309 this.memoryNeededTextBox.Size = new System.Drawing.Size(496, 20);310 this.memoryNeededTextBox.TabIndex = 38;311 //312 // memoryNeededLabel313 //314 this.memoryNeededLabel.AutoSize = true;315 this.memoryNeededLabel.Location = new System.Drawing.Point(7, 42);316 this.memoryNeededLabel.Name = "memoryNeededLabel";317 this.memoryNeededLabel.Size = new System.Drawing.Size(85, 13);318 this.memoryNeededLabel.TabIndex = 40;319 this.memoryNeededLabel.Text = "MemoryNeeded:";320 //321 // coresNeededLabel322 //323 this.coresNeededLabel.AutoSize = true;324 this.coresNeededLabel.Location = new System.Drawing.Point(7, 20);325 this.coresNeededLabel.Name = "coresNeededLabel";326 this.coresNeededLabel.Size = new System.Drawing.Size(75, 13);327 this.coresNeededLabel.TabIndex = 39;328 this.coresNeededLabel.Text = "CoresNeeded:";329 //330 // computeInParallelLabel331 //332 this.computeInParallelLabel.AutoSize = true;333 this.computeInParallelLabel.Location = new System.Drawing.Point(7, 93);334 this.computeInParallelLabel.Name = "computeInParallelLabel";335 this.computeInParallelLabel.Size = new System.Drawing.Size(95, 13);336 this.computeInParallelLabel.TabIndex = 36;337 this.computeInParallelLabel.Text = "ComputeInParallel:";338 //339 327 // computeInParallelCheckBox 340 328 // … … 347 335 this.computeInParallelCheckBox.CheckedChanged += new System.EventHandler(this.computeInParallelCheckBox_CheckedChanged); 348 336 // 349 // jobIdLabel 350 // 351 this.jobIdLabel.AutoSize = true; 352 this.jobIdLabel.Location = new System.Drawing.Point(3, 6); 353 this.jobIdLabel.Name = "jobIdLabel"; 354 this.jobIdLabel.Size = new System.Drawing.Size(36, 13); 355 this.jobIdLabel.TabIndex = 25; 356 this.jobIdLabel.Text = "JobId:"; 357 // 358 // jobIdTextBox 359 // 360 this.jobIdTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 361 | System.Windows.Forms.AnchorStyles.Right))); 362 this.jobIdTextBox.Location = new System.Drawing.Point(91, 6); 363 this.jobIdTextBox.Name = "jobIdTextBox"; 364 this.jobIdTextBox.Size = new System.Drawing.Size(525, 20); 365 this.jobIdTextBox.TabIndex = 26; 366 // 367 // childJobsTabPage 368 // 369 this.childJobsTabPage.Controls.Add(this.childHiveJobView); 370 this.childJobsTabPage.Location = new System.Drawing.Point(4, 22); 371 this.childJobsTabPage.Name = "childJobsTabPage"; 372 this.childJobsTabPage.Size = new System.Drawing.Size(619, 492); 373 this.childJobsTabPage.TabIndex = 2; 374 this.childJobsTabPage.Text = "Child Jobs"; 375 this.childJobsTabPage.UseVisualStyleBackColor = true; 376 // 377 // runsTabPage 378 // 379 this.runsTabPage.Controls.Add(this.runCollectionViewHost); 380 this.runsTabPage.Location = new System.Drawing.Point(4, 22); 381 this.runsTabPage.Name = "runsTabPage"; 382 this.runsTabPage.Size = new System.Drawing.Size(619, 492); 383 this.runsTabPage.TabIndex = 4; 384 this.runsTabPage.Text = "Runs"; 385 this.runsTabPage.UseVisualStyleBackColor = true; 386 // 387 // runCollectionViewHost 388 // 389 this.runCollectionViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 337 // computeInParallelLabel 338 // 339 this.computeInParallelLabel.AutoSize = true; 340 this.computeInParallelLabel.Location = new System.Drawing.Point(7, 93); 341 this.computeInParallelLabel.Name = "computeInParallelLabel"; 342 this.computeInParallelLabel.Size = new System.Drawing.Size(95, 13); 343 this.computeInParallelLabel.TabIndex = 36; 344 this.computeInParallelLabel.Text = "ComputeInParallel:"; 345 // 346 // coresNeededLabel 347 // 348 this.coresNeededLabel.AutoSize = true; 349 this.coresNeededLabel.Location = new System.Drawing.Point(7, 20); 350 this.coresNeededLabel.Name = "coresNeededLabel"; 351 this.coresNeededLabel.Size = new System.Drawing.Size(75, 13); 352 this.coresNeededLabel.TabIndex = 39; 353 this.coresNeededLabel.Text = "CoresNeeded:"; 354 // 355 // memoryNeededLabel 356 // 357 this.memoryNeededLabel.AutoSize = true; 358 this.memoryNeededLabel.Location = new System.Drawing.Point(7, 42); 359 this.memoryNeededLabel.Name = "memoryNeededLabel"; 360 this.memoryNeededLabel.Size = new System.Drawing.Size(85, 13); 361 this.memoryNeededLabel.TabIndex = 40; 362 this.memoryNeededLabel.Text = "MemoryNeeded:"; 363 // 364 // memoryNeededTextBox 365 // 366 this.memoryNeededTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 367 | System.Windows.Forms.AnchorStyles.Right))); 368 this.memoryNeededTextBox.Location = new System.Drawing.Point(108, 42); 369 this.memoryNeededTextBox.Name = "memoryNeededTextBox"; 370 this.memoryNeededTextBox.Size = new System.Drawing.Size(496, 20); 371 this.memoryNeededTextBox.TabIndex = 38; 372 // 373 // coresNeededTextBox 374 // 375 this.coresNeededTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 376 | System.Windows.Forms.AnchorStyles.Right))); 377 this.coresNeededTextBox.Location = new System.Drawing.Point(108, 20); 378 this.coresNeededTextBox.Name = "coresNeededTextBox"; 379 this.coresNeededTextBox.Size = new System.Drawing.Size(496, 20); 380 this.coresNeededTextBox.TabIndex = 37; 381 // 382 // priorityLabel 383 // 384 this.priorityLabel.AutoSize = true; 385 this.priorityLabel.Location = new System.Drawing.Point(7, 66); 386 this.priorityLabel.Name = "priorityLabel"; 387 this.priorityLabel.Size = new System.Drawing.Size(41, 13); 388 this.priorityLabel.TabIndex = 42; 389 this.priorityLabel.Text = "Priority:"; 390 // 391 // priorityTextBox 392 // 393 this.priorityTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 394 | System.Windows.Forms.AnchorStyles.Right))); 395 this.priorityTextBox.Location = new System.Drawing.Point(108, 66); 396 this.priorityTextBox.Name = "priorityTextBox"; 397 this.priorityTextBox.Size = new System.Drawing.Size(496, 20); 398 this.priorityTextBox.TabIndex = 41; 399 // 400 // optimizerGroupBox 401 // 402 this.optimizerGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 403 | System.Windows.Forms.AnchorStyles.Right))); 404 this.optimizerGroupBox.Controls.Add(this.optimizerNamedItemView); 405 this.optimizerGroupBox.Location = new System.Drawing.Point(6, 29); 406 this.optimizerGroupBox.Name = "optimizerGroupBox"; 407 this.optimizerGroupBox.Size = new System.Drawing.Size(610, 74); 408 this.optimizerGroupBox.TabIndex = 28; 409 this.optimizerGroupBox.TabStop = false; 410 this.optimizerGroupBox.Text = "Optimizer"; 411 // 412 // optimizerNamedItemView 413 // 414 this.optimizerNamedItemView.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 415 | System.Windows.Forms.AnchorStyles.Right))); 416 this.optimizerNamedItemView.Caption = "NamedItem View"; 417 this.optimizerNamedItemView.Content = null; 418 this.optimizerNamedItemView.Location = new System.Drawing.Point(6, 20); 419 this.optimizerNamedItemView.Name = "optimizerNamedItemView"; 420 this.optimizerNamedItemView.ReadOnly = false; 421 this.optimizerNamedItemView.Size = new System.Drawing.Size(598, 51); 422 this.optimizerNamedItemView.TabIndex = 0; 423 // 424 // tabControl 425 // 426 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 390 427 | System.Windows.Forms.AnchorStyles.Left) 391 428 | System.Windows.Forms.AnchorStyles.Right))); 392 this.runCollectionViewHost.Caption = "View"; 393 this.runCollectionViewHost.Content = null; 394 this.runCollectionViewHost.Enabled = false; 395 this.runCollectionViewHost.Location = new System.Drawing.Point(3, 3); 396 this.runCollectionViewHost.Name = "runCollectionViewHost"; 397 this.runCollectionViewHost.ReadOnly = false; 398 this.runCollectionViewHost.Size = new System.Drawing.Size(613, 486); 399 this.runCollectionViewHost.TabIndex = 0; 400 this.runCollectionViewHost.ViewsLabelVisible = true; 401 this.runCollectionViewHost.ViewType = null; 402 // 403 // stateLogTabPage 404 // 405 this.stateLogTabPage.Controls.Add(this.stateLogViewHost); 406 this.stateLogTabPage.Location = new System.Drawing.Point(4, 22); 407 this.stateLogTabPage.Name = "stateLogTabPage"; 408 this.stateLogTabPage.Size = new System.Drawing.Size(619, 492); 409 this.stateLogTabPage.TabIndex = 5; 410 this.stateLogTabPage.Text = "StateLog"; 411 this.stateLogTabPage.UseVisualStyleBackColor = true; 412 // 413 // stateLogViewHost 414 // 415 this.stateLogViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 416 | System.Windows.Forms.AnchorStyles.Left) 417 | System.Windows.Forms.AnchorStyles.Right))); 418 this.stateLogViewHost.Caption = "View"; 419 this.stateLogViewHost.Content = null; 420 this.stateLogViewHost.Enabled = false; 421 this.stateLogViewHost.Location = new System.Drawing.Point(0, 0); 422 this.stateLogViewHost.Name = "stateLogViewHost"; 423 this.stateLogViewHost.ReadOnly = false; 424 this.stateLogViewHost.Size = new System.Drawing.Size(619, 492); 425 this.stateLogViewHost.TabIndex = 0; 426 this.stateLogViewHost.ViewsLabelVisible = true; 427 this.stateLogViewHost.ViewType = null; 428 // 429 // logTabPage 430 // 431 this.logTabPage.Controls.Add(this.logView); 432 this.logTabPage.Location = new System.Drawing.Point(4, 22); 433 this.logTabPage.Name = "logTabPage"; 434 this.logTabPage.Padding = new System.Windows.Forms.Padding(3); 435 this.logTabPage.Size = new System.Drawing.Size(619, 492); 436 this.logTabPage.TabIndex = 1; 437 this.logTabPage.Text = "Log"; 438 this.logTabPage.UseVisualStyleBackColor = true; 439 // 440 // logView 441 // 442 this.logView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 443 | System.Windows.Forms.AnchorStyles.Left) 444 | System.Windows.Forms.AnchorStyles.Right))); 445 this.logView.Caption = "Log View"; 446 this.logView.Content = null; 447 this.logView.Location = new System.Drawing.Point(3, 3); 448 this.logView.Name = "logView"; 449 this.logView.ReadOnly = false; 450 this.logView.Size = new System.Drawing.Size(613, 486); 451 this.logView.TabIndex = 0; 452 // 453 // childHiveJobView 454 // 455 this.childHiveJobView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 456 | System.Windows.Forms.AnchorStyles.Left) 457 | System.Windows.Forms.AnchorStyles.Right))); 458 this.childHiveJobView.Caption = "JobItemList View"; 459 this.childHiveJobView.Content = null; 460 this.childHiveJobView.Location = new System.Drawing.Point(3, 3); 461 this.childHiveJobView.Name = "childHiveJobView"; 462 this.childHiveJobView.ReadOnly = false; 463 this.childHiveJobView.Size = new System.Drawing.Size(613, 486); 464 this.childHiveJobView.TabIndex = 0; 429 this.tabControl.Controls.Add(this.detailsTabPage); 430 this.tabControl.Controls.Add(this.stateLogTabPage); 431 this.tabControl.Controls.Add(this.runsTabPage); 432 this.tabControl.Controls.Add(this.logTabPage); 433 this.tabControl.Location = new System.Drawing.Point(3, 3); 434 this.tabControl.Name = "tabControl"; 435 this.tabControl.SelectedIndex = 0; 436 this.tabControl.Size = new System.Drawing.Size(627, 518); 437 this.tabControl.TabIndex = 25; 465 438 // 466 439 // HiveJobView … … 471 444 this.Name = "HiveJobView"; 472 445 this.Size = new System.Drawing.Size(633, 524); 446 this.logTabPage.ResumeLayout(false); 447 this.stateLogTabPage.ResumeLayout(false); 448 this.runsTabPage.ResumeLayout(false); 449 this.detailsTabPage.ResumeLayout(false); 450 this.detailsTabPage.PerformLayout(); 473 451 this.jobStatusGroupBox.ResumeLayout(false); 474 452 this.jobStatusGroupBox.PerformLayout(); 475 this.tabControl.ResumeLayout(false);476 this.detailsTabPage.ResumeLayout(false);477 this.detailsTabPage.PerformLayout();478 this.optimizerGroupBox.ResumeLayout(false);479 453 this.configurationGroupBox.ResumeLayout(false); 480 454 this.configurationGroupBox.PerformLayout(); 481 this.childJobsTabPage.ResumeLayout(false); 482 this.runsTabPage.ResumeLayout(false); 483 this.stateLogTabPage.ResumeLayout(false); 484 this.logTabPage.ResumeLayout(false); 455 this.optimizerGroupBox.ResumeLayout(false); 456 this.tabControl.ResumeLayout(false); 485 457 this.ResumeLayout(false); 486 458 … … 489 461 #endregion 490 462 491 private System.Windows.Forms.Label stateLabel;492 private System.Windows.Forms.TextBox stateTextBox;493 private System.Windows.Forms.TextBox executionTimeTextBox;494 private System.Windows.Forms.TextBox dateCreatedTextBox;495 private System.Windows.Forms.TextBox dateFinishedTextBox;496 private System.Windows.Forms.TextBox exceptionTextBox;497 private System.Windows.Forms.Label executionTimeLabel;498 private System.Windows.Forms.Label dateCreatedLabel;499 private System.Windows.Forms.Label dateFinishedLabel;500 private System.Windows.Forms.Label exceptionLabel;501 private System.Windows.Forms.TextBox dateCalculatedText;502 private System.Windows.Forms.Label dateCalculatedLabel;503 private System.Windows.Forms.GroupBox jobStatusGroupBox;504 private System.Windows.Forms.TabControl tabControl;505 private System.Windows.Forms.TabPage detailsTabPage;506 463 private System.Windows.Forms.TabPage logTabPage; 507 464 private Core.Views.LogView logView; 508 private System.Windows.Forms.Label jobIdLabel; 509 private System.Windows.Forms.TextBox jobIdTextBox; 510 private System.Windows.Forms.TabPage childJobsTabPage; 465 private System.Windows.Forms.TabPage stateLogTabPage; 466 private MainForm.WindowsForms.ViewHost stateLogViewHost; 467 private System.Windows.Forms.TabPage runsTabPage; 468 private MainForm.WindowsForms.ViewHost runCollectionViewHost; 469 private System.Windows.Forms.TabPage detailsTabPage; 470 private System.Windows.Forms.GroupBox optimizerGroupBox; 471 private Core.Views.NamedItemView optimizerNamedItemView; 511 472 private System.Windows.Forms.GroupBox configurationGroupBox; 512 473 private System.Windows.Forms.TextBox priorityTextBox; … … 518 479 private System.Windows.Forms.Label computeInParallelLabel; 519 480 private System.Windows.Forms.CheckBox computeInParallelCheckBox; 520 private System.Windows.Forms.GroupBox optimizerGroupBox; 521 private Core.Views.NamedItemView optimizerNamedItemView; 522 private System.Windows.Forms.TabPage runsTabPage; 523 private MainForm.WindowsForms.ViewHost runCollectionViewHost; 524 private System.Windows.Forms.TabPage stateLogTabPage; 525 private MainForm.WindowsForms.ViewHost stateLogViewHost; 526 private HiveJobListView childHiveJobView; 481 private System.Windows.Forms.Label jobIdLabel; 482 private System.Windows.Forms.TextBox jobIdTextBox; 483 private System.Windows.Forms.GroupBox jobStatusGroupBox; 484 private System.Windows.Forms.TextBox stateTextBox; 485 private System.Windows.Forms.Label dateCalculatedLabel; 486 private System.Windows.Forms.Label stateLabel; 487 private System.Windows.Forms.TextBox dateCalculatedText; 488 private System.Windows.Forms.TextBox dateFinishedTextBox; 489 private System.Windows.Forms.TextBox executionTimeTextBox; 490 private System.Windows.Forms.TextBox dateCreatedTextBox; 491 private System.Windows.Forms.Label executionTimeLabel; 492 private System.Windows.Forms.Label exceptionLabel; 493 private System.Windows.Forms.Label dateCreatedLabel; 494 private System.Windows.Forms.Label dateFinishedLabel; 495 private System.Windows.Forms.TextBox exceptionTextBox; 496 private System.Windows.Forms.TabControl tabControl; 497 527 498 } 528 499 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager/StateLogGanttChartListView.cs
r5636 r5718 23 23 using System.Drawing; 24 24 using System.Linq; 25 using HeuristicLab.Core;26 25 using HeuristicLab.Core.Views; 27 26 using HeuristicLab.MainForm; … … 29 28 namespace HeuristicLab.Clients.Hive.Views { 30 29 [View("StateLogGanttChartList View")] 31 [Content(typeof( IItemList<StateLogList>), IsDefaultView =true)]30 [Content(typeof(StateLogListList), true)] 32 31 public sealed partial class StateLogGanttChartListView : ItemView { 33 public new IItemList<StateLogList>Content {34 get { return ( IItemList<StateLogList>)base.Content; }32 public new StateLogListList Content { 33 get { return (StateLogListList)base.Content; } 35 34 set { base.Content = value; } 36 35 } … … 89 88 } 90 89 91 //private void AddData(int i, int j, DateTime upperLimit) {92 // DateTime until = j < Content[i].Count - 1 ? Content[i][j + 1].DateTime : upperLimit;93 // TimeSpan duration = until - Content[i][j].DateTime;94 // string tooltip = string.Format("State: {0}\nDuration: {1}\n{2} - {3}", Content[i][j].State, Content[i][j].DateTime, duration, until);95 // if (!string.IsNullOrEmpty(Content[i][j].Exception))96 // tooltip += "\n" + Content[i][j].Exception;97 // ganttChart.AddData(i + 1, Content[i][j].State.ToString(), Content[i][j].DateTime, until, tooltip, false);98 //}99 100 90 public static void AddData(GanttChart ganttChart, string name, StateLog from, StateLog to, DateTime upperLimit) { 101 91 DateTime until = to != null ? to.DateTime : upperLimit; 102 92 TimeSpan duration = until - from.DateTime; 103 string tooltip = string.Format("State: {0}\nDuration: {1}\n{2} - {3}", from.State, from.DateTime, duration, until);93 string tooltip = string.Format("State: {0}\nDuration: {1}\n{2} - {3}", from.State, duration, from.DateTime, until); 104 94 if (!string.IsNullOrEmpty(from.Exception)) 105 95 tooltip += "\n" + from.Exception; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Views/3.4/ExperimentManager/StateLogGanttChartView.cs
r5636 r5718 21 21 22 22 using System; 23 using System.Linq; 23 24 using HeuristicLab.Core.Views; 24 25 using HeuristicLab.MainForm; … … 26 27 namespace HeuristicLab.Clients.Hive.Views { 27 28 [View("StateLogGanttChart View")] 28 [Content(typeof(StateLogList), IsDefaultView = false)]29 [Content(typeof(StateLogList), IsDefaultView = true)] 29 30 public sealed partial class StateLogGanttChartView : ItemView { 30 31 public new StateLogList Content { … … 60 61 ganttChart.Reset(); 61 62 StateLogGanttChartListView.SetupCategories(ganttChart); 62 var upperLimit = DateTime. Now.AddSeconds(10);63 63 var upperLimit = DateTime.FromOADate(Math.Min(Content.Max(x => x.DateTime).ToOADate(), DateTime.Now.AddSeconds(10).ToOADate())); 64 64 65 for (int i = 0; i < Content.Count-1; i++) { 65 //string tooltip = string.Format("State: {0}\n{1} - {2}", Content[i].State, Content[i].DateTime, Content[i + 1].DateTime);66 //if (!string.IsNullOrEmpty(Content[i].Exception))67 // tooltip += "\n" + Content[i].Exception;68 //ganttChart.AddData(Content[i].State.ToString(), Content[i].State.ToString(), Content[i].DateTime, Content[i + 1].DateTime, tooltip, false);69 66 StateLogGanttChartListView.AddData(ganttChart, i.ToString(), Content[i], Content[i+1], upperLimit); 70 67 }
Note: See TracChangeset
for help on using the changeset viewer.