Changeset 4121 for branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment.Views
- Timestamp:
- 07/30/10 13:56:28 (14 years ago)
- Location:
- branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment.Views/3.3
- Files:
-
- 1 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment.Views/3.3/HeuristicLab.Hive.Experiment.Views-3.3.csproj
r4120 r4121 73 73 <HintPath>..\..\..\..\..\..\..\..\..\Programme\HeuristicLab 3.3\HeuristicLab.Data-3.3.dll</HintPath> 74 74 </Reference> 75 <Reference Include="HeuristicLab.DataAccess-3.3, Version=3.3.0.4091, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 76 <Reference Include="HeuristicLab.Hive.Experiment.Views-3.3, Version=3.3.0.4119, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 77 <Reference Include="HeuristicLab.Hive.Server.Console-3.3"> 78 <HintPath>..\..\HeuristicLab.Hive.Server.Console\3.3\obj\Debug\HeuristicLab.Hive.Server.Console-3.3.dll</HintPath> 75 <Reference Include="HeuristicLab.DataAccess-3.3, Version=3.3.0.4091, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 76 <SpecificVersion>False</SpecificVersion> 79 77 </Reference> 80 78 <Reference Include="HeuristicLab.MainForm-3.3"> … … 93 91 <HintPath>..\..\..\..\..\..\..\..\..\Programme\HeuristicLab 3.3\HeuristicLab.Optimization.Views-3.3.dll</HintPath> 94 92 </Reference> 95 <Reference Include="HeuristicLab.Persistence-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 93 <Reference Include="HeuristicLab.Persistence-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 94 <SpecificVersion>False</SpecificVersion> 95 </Reference> 96 96 <Reference Include="HeuristicLab.PluginInfrastructure-3.3"> 97 97 <HintPath>..\..\..\..\..\..\..\..\..\Programme\HeuristicLab 3.3\HeuristicLab.PluginInfrastructure-3.3.dll</HintPath> … … 107 107 </ItemGroup> 108 108 <ItemGroup> 109 <Compile Include="ControlExtensions.cs" /> 109 110 <Compile Include="HeuristicLabHiveExperimentViewsPlugin.cs" /> 110 111 <Compile Include="HiveExperimentView.cs"> -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment.Views/3.3/HeuristicLabHiveExperimentViewsPlugin.cs
r4116 r4121 28 28 [Plugin("HeuristicLab.Hive.Experiment.Views", "3.3")] 29 29 [PluginFile("HeuristicLab.Hive.Experiment.Views-3.3.dll", PluginFileType.Assembly)] 30 [PluginDependency("HeuristicLab.Collections", "3.3")] 30 31 [PluginDependency("HeuristicLab.Common", "3.3")] 32 [PluginDependency("HeuristicLab.Common.Resources", "3.3")] 31 33 [PluginDependency("HeuristicLab.Core", "3.3")] 32 34 [PluginDependency("HeuristicLab.Core.Views", "3.3")] 35 [PluginDependency("HeuristicLab.Data", "3.3")] 36 [PluginDependency("HeuristicLab.DataAccess", "3.3")] 37 [PluginDependency("HeuristicLab.Hive.Contracts", "3.3")] 38 [PluginDependency("HeuristicLab.Hive.Experiment", "3.3")] 39 [PluginDependency("HeuristicLab.Hive.JobBase", "3.3")] 33 40 [PluginDependency("HeuristicLab.MainForm", "3.3")] 34 [PluginDependency("HeuristicLab.Hive.Experiment", "3.3")] 41 [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3")] 42 [PluginDependency("HeuristicLab.Operators.Views", "3.3")] 43 [PluginDependency("HeuristicLab.Optimization", "3.3")] 44 [PluginDependency("HeuristicLab.Optimization.Views", "3.3")] 45 [PluginDependency("HeuristicLab.Persistence", "3.3")] 35 46 public class HeuristicLabHiveExperimentViewsPlugin : PluginBase { 36 47 -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment.Views/3.3/JobItemListView.cs
r4120 r4121 22 22 InitializeComponent(); 23 23 itemsGroupBox.Text = "Jobs"; 24 //this.ReadOnly = true;24 this.viewHost.ReadOnly = true; 25 25 } 26 26 -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment.Views/3.3/JobItemView.Designer.cs
r4120 r4121 52 52 this.dateCalculatedText = new System.Windows.Forms.TextBox(); 53 53 this.dateCalculatedLabel = new System.Windows.Forms.Label(); 54 this.jobStatusGroupBox = new System.Windows.Forms.GroupBox(); 55 this.percentageProgressBar = new System.Windows.Forms.ProgressBar(); 54 56 this.snapshotGroupBox.SuspendLayout(); 57 this.jobStatusGroupBox.SuspendLayout(); 55 58 this.SuspendLayout(); 56 59 // … … 58 61 // 59 62 this.stateLabel.AutoSize = true; 60 this.stateLabel.Location = new System.Drawing.Point( 4, 4);63 this.stateLabel.Location = new System.Drawing.Point(7, 19); 61 64 this.stateLabel.Name = "stateLabel"; 62 65 this.stateLabel.Size = new System.Drawing.Size(35, 13); … … 67 70 // 68 71 this.userIdLabel.AutoSize = true; 69 this.userIdLabel.Location = new System.Drawing.Point(4, 26);72 this.userIdLabel.Location = new System.Drawing.Point(4, 3); 70 73 this.userIdLabel.Name = "userIdLabel"; 71 74 this.userIdLabel.Size = new System.Drawing.Size(41, 13); … … 77 80 this.stateTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 78 81 | System.Windows.Forms.AnchorStyles.Right))); 79 this.stateTextBox.Location = new System.Drawing.Point(9 2, 4);82 this.stateTextBox.Location = new System.Drawing.Point(95, 19); 80 83 this.stateTextBox.Name = "stateTextBox"; 81 this.stateTextBox.Size = new System.Drawing.Size(3 19, 20);84 this.stateTextBox.Size = new System.Drawing.Size(395, 20); 82 85 this.stateTextBox.TabIndex = 2; 83 86 // … … 86 89 this.userIdTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 87 90 | System.Windows.Forms.AnchorStyles.Right))); 88 this.userIdTextBox.Location = new System.Drawing.Point(92, 26);91 this.userIdTextBox.Location = new System.Drawing.Point(92, 3); 89 92 this.userIdTextBox.Name = "userIdTextBox"; 90 this.userIdTextBox.Size = new System.Drawing.Size( 319, 20);93 this.userIdTextBox.Size = new System.Drawing.Size(411, 20); 91 94 this.userIdTextBox.TabIndex = 3; 92 95 // 93 96 // percentageTextBox 94 97 // 95 this.percentageTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 96 | System.Windows.Forms.AnchorStyles.Right))); 97 this.percentageTextBox.Location = new System.Drawing.Point(92, 48); 98 this.percentageTextBox.Location = new System.Drawing.Point(95, 41); 98 99 this.percentageTextBox.Name = "percentageTextBox"; 99 this.percentageTextBox.Size = new System.Drawing.Size( 319, 20);100 this.percentageTextBox.Size = new System.Drawing.Size(52, 20); 100 101 this.percentageTextBox.TabIndex = 4; 101 102 // … … 104 105 this.dateCreatedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 105 106 | System.Windows.Forms.AnchorStyles.Right))); 106 this.dateCreatedTextBox.Location = new System.Drawing.Point(9 2, 70);107 this.dateCreatedTextBox.Location = new System.Drawing.Point(95, 63); 107 108 this.dateCreatedTextBox.Name = "dateCreatedTextBox"; 108 this.dateCreatedTextBox.Size = new System.Drawing.Size(3 19, 20);109 this.dateCreatedTextBox.Size = new System.Drawing.Size(395, 20); 109 110 this.dateCreatedTextBox.TabIndex = 5; 110 111 // … … 113 114 this.dateFinishedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 114 115 | System.Windows.Forms.AnchorStyles.Right))); 115 this.dateFinishedTextBox.Location = new System.Drawing.Point(9 2, 114);116 this.dateFinishedTextBox.Location = new System.Drawing.Point(95, 107); 116 117 this.dateFinishedTextBox.Name = "dateFinishedTextBox"; 117 this.dateFinishedTextBox.Size = new System.Drawing.Size(3 19, 20);118 this.dateFinishedTextBox.Size = new System.Drawing.Size(395, 20); 118 119 this.dateFinishedTextBox.TabIndex = 6; 119 120 // … … 122 123 this.priorityTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 123 124 | System.Windows.Forms.AnchorStyles.Right))); 124 this.priorityTextBox.Location = new System.Drawing.Point(92, 136);125 this.priorityTextBox.Location = new System.Drawing.Point(92, 25); 125 126 this.priorityTextBox.Name = "priorityTextBox"; 126 this.priorityTextBox.Size = new System.Drawing.Size( 319, 20);127 this.priorityTextBox.Size = new System.Drawing.Size(411, 20); 127 128 this.priorityTextBox.TabIndex = 7; 128 129 // … … 131 132 this.coresNeededTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 132 133 | System.Windows.Forms.AnchorStyles.Right))); 133 this.coresNeededTextBox.Location = new System.Drawing.Point(92, 158);134 this.coresNeededTextBox.Location = new System.Drawing.Point(92, 47); 134 135 this.coresNeededTextBox.Name = "coresNeededTextBox"; 135 this.coresNeededTextBox.Size = new System.Drawing.Size( 319, 20);136 this.coresNeededTextBox.Size = new System.Drawing.Size(411, 20); 136 137 this.coresNeededTextBox.TabIndex = 8; 137 138 // … … 140 141 this.memoryNeededTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 141 142 | System.Windows.Forms.AnchorStyles.Right))); 142 this.memoryNeededTextBox.Location = new System.Drawing.Point(92, 180);143 this.memoryNeededTextBox.Location = new System.Drawing.Point(92, 69); 143 144 this.memoryNeededTextBox.Name = "memoryNeededTextBox"; 144 this.memoryNeededTextBox.Size = new System.Drawing.Size( 319, 20);145 this.memoryNeededTextBox.Size = new System.Drawing.Size(411, 20); 145 146 this.memoryNeededTextBox.TabIndex = 9; 146 147 // … … 149 150 this.pluginsNeededTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 150 151 | System.Windows.Forms.AnchorStyles.Right))); 151 this.pluginsNeededTextBox.Location = new System.Drawing.Point(92, 202);152 this.pluginsNeededTextBox.Location = new System.Drawing.Point(92, 91); 152 153 this.pluginsNeededTextBox.Name = "pluginsNeededTextBox"; 153 this.pluginsNeededTextBox.Size = new System.Drawing.Size( 319, 20);154 this.pluginsNeededTextBox.Size = new System.Drawing.Size(411, 20); 154 155 this.pluginsNeededTextBox.TabIndex = 10; 155 156 // … … 158 159 this.projectTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 159 160 | System.Windows.Forms.AnchorStyles.Right))); 160 this.projectTextBox.Location = new System.Drawing.Point(92, 224);161 this.projectTextBox.Location = new System.Drawing.Point(92, 113); 161 162 this.projectTextBox.Name = "projectTextBox"; 162 this.projectTextBox.Size = new System.Drawing.Size( 319, 20);163 this.projectTextBox.Size = new System.Drawing.Size(411, 20); 163 164 this.projectTextBox.TabIndex = 11; 164 165 // … … 166 167 // 167 168 this.percentageLabel.AutoSize = true; 168 this.percentageLabel.Location = new System.Drawing.Point( 4, 48);169 this.percentageLabel.Location = new System.Drawing.Point(7, 41); 169 170 this.percentageLabel.Name = "percentageLabel"; 170 171 this.percentageLabel.Size = new System.Drawing.Size(65, 13); … … 175 176 // 176 177 this.dateCreatedLabel.AutoSize = true; 177 this.dateCreatedLabel.Location = new System.Drawing.Point( 4, 70);178 this.dateCreatedLabel.Location = new System.Drawing.Point(7, 63); 178 179 this.dateCreatedLabel.Name = "dateCreatedLabel"; 179 180 this.dateCreatedLabel.Size = new System.Drawing.Size(70, 13); … … 184 185 // 185 186 this.dateFinishedLabel.AutoSize = true; 186 this.dateFinishedLabel.Location = new System.Drawing.Point( 4, 114);187 this.dateFinishedLabel.Location = new System.Drawing.Point(7, 107); 187 188 this.dateFinishedLabel.Name = "dateFinishedLabel"; 188 189 this.dateFinishedLabel.Size = new System.Drawing.Size(72, 13); … … 193 194 // 194 195 this.priorityLabel.AutoSize = true; 195 this.priorityLabel.Location = new System.Drawing.Point(4, 136);196 this.priorityLabel.Location = new System.Drawing.Point(4, 25); 196 197 this.priorityLabel.Name = "priorityLabel"; 197 198 this.priorityLabel.Size = new System.Drawing.Size(41, 13); … … 202 203 // 203 204 this.coresNeededLabel.AutoSize = true; 204 this.coresNeededLabel.Location = new System.Drawing.Point(4, 158);205 this.coresNeededLabel.Location = new System.Drawing.Point(4, 47); 205 206 this.coresNeededLabel.Name = "coresNeededLabel"; 206 207 this.coresNeededLabel.Size = new System.Drawing.Size(75, 13); … … 211 212 // 212 213 this.memoryNeededLabel.AutoSize = true; 213 this.memoryNeededLabel.Location = new System.Drawing.Point(4, 180);214 this.memoryNeededLabel.Location = new System.Drawing.Point(4, 69); 214 215 this.memoryNeededLabel.Name = "memoryNeededLabel"; 215 216 this.memoryNeededLabel.Size = new System.Drawing.Size(85, 13); … … 220 221 // 221 222 this.pluginsNeededLabel.AutoSize = true; 222 this.pluginsNeededLabel.Location = new System.Drawing.Point(4, 202);223 this.pluginsNeededLabel.Location = new System.Drawing.Point(4, 91); 223 224 this.pluginsNeededLabel.Name = "pluginsNeededLabel"; 224 225 this.pluginsNeededLabel.Size = new System.Drawing.Size(82, 13); … … 229 230 // 230 231 this.projectLabel.AutoSize = true; 231 this.projectLabel.Location = new System.Drawing.Point(4, 224);232 this.projectLabel.Location = new System.Drawing.Point(4, 113); 232 233 this.projectLabel.Name = "projectLabel"; 233 234 this.projectLabel.Size = new System.Drawing.Size(43, 13); … … 244 245 this.snapshotGroupBox.Controls.Add(this.snapshotTimeLabel); 245 246 this.snapshotGroupBox.Controls.Add(this.snapshotStatusLabel); 246 this.snapshotGroupBox.Location = new System.Drawing.Point(7, 2 46);247 this.snapshotGroupBox.Location = new System.Drawing.Point(7, 279); 247 248 this.snapshotGroupBox.Name = "snapshotGroupBox"; 248 this.snapshotGroupBox.Size = new System.Drawing.Size(4 04, 100);249 this.snapshotGroupBox.Size = new System.Drawing.Size(496, 100); 249 250 this.snapshotGroupBox.TabIndex = 21; 250 251 this.snapshotGroupBox.TabStop = false; … … 254 255 // 255 256 this.openSnapshotButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 256 this.openSnapshotButton.Location = new System.Drawing.Point( 297, 67);257 this.openSnapshotButton.Location = new System.Drawing.Point(389, 67); 257 258 this.openSnapshotButton.Name = "openSnapshotButton"; 258 259 this.openSnapshotButton.Size = new System.Drawing.Size(101, 26); … … 268 269 this.snapshotTimeText.Location = new System.Drawing.Point(45, 41); 269 270 this.snapshotTimeText.Name = "snapshotTimeText"; 270 this.snapshotTimeText.Size = new System.Drawing.Size( 353, 20);271 this.snapshotTimeText.Size = new System.Drawing.Size(445, 20); 271 272 this.snapshotTimeText.TabIndex = 24; 272 273 // … … 277 278 this.snapshotStatusText.Location = new System.Drawing.Point(45, 19); 278 279 this.snapshotStatusText.Name = "snapshotStatusText"; 279 this.snapshotStatusText.Size = new System.Drawing.Size( 353, 20);280 this.snapshotStatusText.Size = new System.Drawing.Size(445, 20); 280 281 this.snapshotStatusText.TabIndex = 23; 281 282 // … … 302 303 this.dateCalculatedText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 303 304 | System.Windows.Forms.AnchorStyles.Right))); 304 this.dateCalculatedText.Location = new System.Drawing.Point(9 2, 92);305 this.dateCalculatedText.Location = new System.Drawing.Point(95, 85); 305 306 this.dateCalculatedText.Name = "dateCalculatedText"; 306 this.dateCalculatedText.Size = new System.Drawing.Size(3 19, 20);307 this.dateCalculatedText.Size = new System.Drawing.Size(395, 20); 307 308 this.dateCalculatedText.TabIndex = 22; 308 309 // … … 310 311 // 311 312 this.dateCalculatedLabel.AutoSize = true; 312 this.dateCalculatedLabel.Location = new System.Drawing.Point( 4, 92);313 this.dateCalculatedLabel.Location = new System.Drawing.Point(7, 85); 313 314 this.dateCalculatedLabel.Name = "dateCalculatedLabel"; 314 315 this.dateCalculatedLabel.Size = new System.Drawing.Size(83, 13); … … 316 317 this.dateCalculatedLabel.Text = "DateCalculated:"; 317 318 // 319 // jobStatusGroupBox 320 // 321 this.jobStatusGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 322 | System.Windows.Forms.AnchorStyles.Right))); 323 this.jobStatusGroupBox.Controls.Add(this.percentageProgressBar); 324 this.jobStatusGroupBox.Controls.Add(this.stateTextBox); 325 this.jobStatusGroupBox.Controls.Add(this.dateCalculatedLabel); 326 this.jobStatusGroupBox.Controls.Add(this.stateLabel); 327 this.jobStatusGroupBox.Controls.Add(this.dateCalculatedText); 328 this.jobStatusGroupBox.Controls.Add(this.dateFinishedTextBox); 329 this.jobStatusGroupBox.Controls.Add(this.percentageTextBox); 330 this.jobStatusGroupBox.Controls.Add(this.dateCreatedTextBox); 331 this.jobStatusGroupBox.Controls.Add(this.percentageLabel); 332 this.jobStatusGroupBox.Controls.Add(this.dateCreatedLabel); 333 this.jobStatusGroupBox.Controls.Add(this.dateFinishedLabel); 334 this.jobStatusGroupBox.Location = new System.Drawing.Point(7, 139); 335 this.jobStatusGroupBox.Name = "jobStatusGroupBox"; 336 this.jobStatusGroupBox.Size = new System.Drawing.Size(496, 134); 337 this.jobStatusGroupBox.TabIndex = 24; 338 this.jobStatusGroupBox.TabStop = false; 339 this.jobStatusGroupBox.Text = "Job Status"; 340 // 341 // percentageProgressBar 342 // 343 this.percentageProgressBar.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 344 | System.Windows.Forms.AnchorStyles.Right))); 345 this.percentageProgressBar.Location = new System.Drawing.Point(153, 41); 346 this.percentageProgressBar.Name = "percentageProgressBar"; 347 this.percentageProgressBar.Size = new System.Drawing.Size(337, 20); 348 this.percentageProgressBar.TabIndex = 25; 349 // 318 350 // JobItemView 319 351 // 320 352 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 321 353 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 322 this.Controls.Add(this.dateCalculatedLabel); 323 this.Controls.Add(this.dateCalculatedText); 354 this.Controls.Add(this.jobStatusGroupBox); 324 355 this.Controls.Add(this.snapshotGroupBox); 325 356 this.Controls.Add(this.projectLabel); … … 328 359 this.Controls.Add(this.coresNeededLabel); 329 360 this.Controls.Add(this.priorityLabel); 330 this.Controls.Add(this.dateFinishedLabel);331 this.Controls.Add(this.dateCreatedLabel);332 this.Controls.Add(this.percentageLabel);333 361 this.Controls.Add(this.projectTextBox); 334 362 this.Controls.Add(this.pluginsNeededTextBox); … … 336 364 this.Controls.Add(this.coresNeededTextBox); 337 365 this.Controls.Add(this.priorityTextBox); 338 this.Controls.Add(this.dateFinishedTextBox);339 this.Controls.Add(this.dateCreatedTextBox);340 this.Controls.Add(this.percentageTextBox);341 366 this.Controls.Add(this.userIdTextBox); 342 this.Controls.Add(this.stateTextBox);343 367 this.Controls.Add(this.userIdLabel); 344 this.Controls.Add(this.stateLabel);345 368 this.Name = "JobItemView"; 346 this.Size = new System.Drawing.Size( 414, 417);369 this.Size = new System.Drawing.Size(506, 409); 347 370 this.snapshotGroupBox.ResumeLayout(false); 348 371 this.snapshotGroupBox.PerformLayout(); 372 this.jobStatusGroupBox.ResumeLayout(false); 373 this.jobStatusGroupBox.PerformLayout(); 349 374 this.ResumeLayout(false); 350 375 this.PerformLayout(); … … 382 407 private System.Windows.Forms.TextBox dateCalculatedText; 383 408 private System.Windows.Forms.Label dateCalculatedLabel; 409 private System.Windows.Forms.GroupBox jobStatusGroupBox; 410 private System.Windows.Forms.ProgressBar percentageProgressBar; 384 411 } 385 412 } -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment.Views/3.3/JobItemView.cs
r4120 r4121 34 34 base.OnContentChanged(); 35 35 if (Content != null) { 36 Content_JobDtoChanged(this, EventArgs.Empty); 37 if (Content.LatestSnapshot != null) { 38 snapshotStatusText.InvokeIfRequired(c => c.Text = Content.LatestSnapshot.StatusMessage); 39 snapshotTimeText.InvokeIfRequired(c => { c.Text = Content.LatestSnapshotTime.ToString(); }); 40 } 41 } 42 } 43 44 protected override void RegisterContentEvents() { 45 base.RegisterContentEvents(); 46 Content.LatestSnapshotChanged += new EventHandler(Content_LatestSnapshotChanged); 47 Content.JobDtoChanged += new EventHandler(Content_JobDtoChanged); 48 } 49 50 protected override void DeregisterContentEvents() { 51 Content.LatestSnapshotChanged -= new EventHandler(Content_LatestSnapshotChanged); 52 Content.JobDtoChanged -= new EventHandler(Content_JobDtoChanged); 53 base.DeregisterContentEvents(); 54 } 55 56 void Content_JobDtoChanged(object sender, EventArgs e) { 57 if (InvokeRequired) { 58 Invoke(new EventHandler(Content_JobDtoChanged), sender, e); 59 } else { 36 60 this.stateTextBox.Text = Content.JobDto.State.ToString(); 37 61 this.userIdTextBox.Text = Content.JobDto.UserId.ToString(); 38 this.percentageTextBox.Text = Content.JobDto.Percentage.ToString(); 62 this.percentageTextBox.Text = (Content.JobDto.Percentage*100).ToString() + "%"; 63 this.percentageProgressBar.Value = Convert.ToInt32(Content.JobDto.Percentage * percentageProgressBar.Maximum); 39 64 this.dateCreatedTextBox.Text = Content.JobDto.DateCreated.ToString(); 40 65 this.dateCalculatedText.Text = Content.JobDto.DateCalculated.ToString(); … … 45 70 this.pluginsNeededTextBox.Text = string.Join(", ", Content.JobDto.PluginsNeeded.Select(x => x.Name + "-" + x.Version).ToArray()); 46 71 this.projectTextBox.Text = Content.JobDto.Project != null ? Content.JobDto.Project.Name : "-"; 72 } 73 } 74 75 void Content_LatestSnapshotChanged(object sender, EventArgs e) { 76 if (InvokeRequired) { 77 Invoke(new EventHandler(Content_LatestSnapshotChanged), sender, e); 78 } else { 47 79 if (Content.LatestSnapshot != null) { 48 80 snapshotStatusText.Text = Content.LatestSnapshot.StatusMessage; 49 81 snapshotTimeText.Text = Content.LatestSnapshotTime.ToString(); 82 } else { 83 snapshotStatusText.Text = ""; 84 snapshotTimeText.Text = ""; 50 85 } 86 SetEnabledStateOfControls(); 51 87 } 52 }53 54 protected override void RegisterContentEvents() {55 base.RegisterContentEvents();56 Content.LatestSnapshotChanged += new EventHandler(Content_LatestSnapshotChanged);57 }58 59 protected override void DeregisterContentEvents() {60 Content.LatestSnapshotChanged -= new EventHandler(Content_LatestSnapshotChanged);61 base.DeregisterContentEvents();62 }63 64 void Content_LatestSnapshotChanged(object sender, EventArgs e) {65 if (Content.LatestSnapshot != null) {66 snapshotStatusText.Text = Content.LatestSnapshot.StatusMessage;67 snapshotTimeText.Text = Content.LatestSnapshotTime.ToString();68 } else {69 snapshotStatusText.Text = "";70 snapshotTimeText.Text = "";71 }72 SetEnabledStateOfControls();73 88 } 74 89 … … 76 91 base.SetEnabledStateOfControls(); 77 92 openSnapshotButton.Enabled = Content != null && Content.LatestSnapshot != null; 93 this.stateTextBox.ReadOnly = this.ReadOnly; 94 this.userIdTextBox.ReadOnly = this.ReadOnly; 95 this.percentageTextBox.ReadOnly = this.ReadOnly; 96 this.dateCreatedTextBox.ReadOnly = this.ReadOnly; 97 this.dateCalculatedText.ReadOnly = this.ReadOnly; 98 this.dateFinishedTextBox.ReadOnly = this.ReadOnly; 99 this.priorityTextBox.ReadOnly = this.ReadOnly; 100 this.coresNeededTextBox.ReadOnly = this.ReadOnly; 101 this.memoryNeededTextBox.ReadOnly = this.ReadOnly; 102 this.pluginsNeededTextBox.ReadOnly = this.ReadOnly; 103 this.projectTextBox.ReadOnly = this.ReadOnly; 104 this.snapshotStatusText.ReadOnly = this.ReadOnly; 105 this.snapshotTimeText.ReadOnly = this.ReadOnly; 78 106 } 79 107 -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment.Views/3.3/JobItemView.resx
r4120 r4121 118 118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 119 119 </resheader> 120 <metadata name="stateTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">121 <value>True</value>122 </metadata>123 <metadata name="userIdTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">124 <value>True</value>125 </metadata>126 <metadata name="percentageTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">127 <value>True</value>128 </metadata>129 <metadata name="dateCreatedTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">130 <value>True</value>131 </metadata>132 <metadata name="dateFinishedTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">133 <value>True</value>134 </metadata>135 <metadata name="priorityTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">136 <value>True</value>137 </metadata>138 <metadata name="coresNeededTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">139 <value>True</value>140 </metadata>141 <metadata name="memoryNeededTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">142 <value>True</value>143 </metadata>144 <metadata name="pluginsNeededTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">145 <value>True</value>146 </metadata>147 <metadata name="projectTextBox.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">148 <value>True</value>149 </metadata>150 <metadata name="snapshotStatusText.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">151 <value>True</value>152 </metadata>153 <metadata name="dateCalculatedText.Locked" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">154 <value>True</value>155 </metadata>156 120 </root> -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment.Views/3.3/Properties/AssemblyInfo.cs
r4120 r4121 55 55 // You can specify all the values or you can default the Revision and Build Numbers 56 56 // by using the '*' as shown below: 57 [assembly: AssemblyVersion("3.3.0.41 19")]58 [assembly: AssemblyFileVersion("3.3.0.41 19")]59 [assembly: AssemblyBuildDate("2010/07/ 29 16:49:22")]57 [assembly: AssemblyVersion("3.3.0.4120")] 58 [assembly: AssemblyFileVersion("3.3.0.4120")] 59 [assembly: AssemblyBuildDate("2010/07/30 13:39:18")]
Note: See TracChangeset
for help on using the changeset viewer.