- Timestamp:
- 06/21/12 18:02:33 (13 years ago)
- Location:
- branches/GP-MoveOperators
- Files:
-
- 9 edited
- 5 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/GP-MoveOperators
- Property svn:ignore
-
old new 20 20 bin 21 21 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/GP-MoveOperators/HeuristicLab.Clients.Hive.JobManager/3.3
- Property svn:ignore
-
old new 2 2 obj 3 3 *.vs10x 4 *.user
-
- Property svn:ignore
-
branches/GP-MoveOperators/HeuristicLab.Clients.Hive.JobManager/3.3/HeuristicLab.Clients.Hive.JobManager-3.3.csproj
r7257 r8085 96 96 </ItemGroup> 97 97 <ItemGroup> 98 <Compile Include="ExtensionMethods\TreeNodeExtensions.cs" /> 98 99 <Compile Include="Plugin.cs" /> 99 100 <Compile Include="Views\HiveJobManagerView.cs"> … … 115 116 <Compile Include="Views\HiveJobPermissionView.Designer.cs"> 116 117 <DependentUpon>HiveJobPermissionView.cs</DependentUpon> 118 </Compile> 119 <Compile Include="Views\HiveResourceSelector.cs"> 120 <SubType>UserControl</SubType> 121 </Compile> 122 <Compile Include="Views\HiveResourceSelector.Designer.cs"> 123 <DependentUpon>HiveResourceSelector.cs</DependentUpon> 124 </Compile> 125 <Compile Include="Views\HiveResourceSelectorDialog.cs"> 126 <SubType>Form</SubType> 127 </Compile> 128 <Compile Include="Views\HiveResourceSelectorDialog.Designer.cs"> 129 <DependentUpon>HiveResourceSelectorDialog.cs</DependentUpon> 117 130 </Compile> 118 131 <Compile Include="Views\RefreshableHiveJobListView.cs"> -
branches/GP-MoveOperators/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobManagerView.Designer.cs
r7259 r8085 75 75 // 76 76 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 77 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode. Font;77 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 78 78 this.Controls.Add(this.refreshButton); 79 79 this.Controls.Add(this.hiveExperimentListView); -
branches/GP-MoveOperators/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobPermissionListView.Designer.cs
r6976 r8085 25 25 private void InitializeComponent() { 26 26 components = new System.ComponentModel.Container(); 27 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode. Font;27 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 28 28 } 29 29 -
branches/GP-MoveOperators/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobPermissionView.Designer.cs
r6976 r8085 77 77 // 78 78 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 79 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode. Font;79 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 80 80 this.Controls.Add(this.usernameLabel); 81 81 this.Controls.Add(this.permissionComboBox); -
branches/GP-MoveOperators/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobListView.Designer.cs
r6976 r8085 25 25 private void InitializeComponent() { 26 26 components = new System.ComponentModel.Container(); 27 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode. Font;27 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 28 28 } 29 29 -
branches/GP-MoveOperators/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.Designer.cs
r7341 r8085 58 58 this.calculatingLabel = new System.Windows.Forms.Label(); 59 59 this.jobsLabel = new System.Windows.Forms.Label(); 60 this.searchButton = new System.Windows.Forms.Button(); 60 61 this.tabControl.SuspendLayout(); 61 62 this.tasksTabPage.SuspendLayout(); … … 70 71 // 71 72 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 72 73 73 | System.Windows.Forms.AnchorStyles.Left) 74 | System.Windows.Forms.AnchorStyles.Right))); 74 75 this.tabControl.Controls.Add(this.tasksTabPage); 75 76 this.tabControl.Controls.Add(this.permissionTabPage); … … 98 99 this.jobsTreeView.AllowDrop = true; 99 100 this.jobsTreeView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 100 101 101 | System.Windows.Forms.AnchorStyles.Left) 102 | System.Windows.Forms.AnchorStyles.Right))); 102 103 this.jobsTreeView.Caption = "ItemTree View"; 103 104 this.jobsTreeView.Content = null; … … 136 137 // 137 138 this.hiveExperimentPermissionListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 138 139 139 | System.Windows.Forms.AnchorStyles.Left) 140 | System.Windows.Forms.AnchorStyles.Right))); 140 141 this.hiveExperimentPermissionListView.Caption = "HiveExperimentPermissionList View"; 141 142 this.hiveExperimentPermissionListView.Content = null; … … 162 163 // 163 164 this.runCollectionViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 164 165 165 | System.Windows.Forms.AnchorStyles.Left) 166 | System.Windows.Forms.AnchorStyles.Right))); 166 167 this.runCollectionViewHost.Caption = "View"; 167 168 this.runCollectionViewHost.Content = null; … … 188 189 // 189 190 this.stateLogViewHost.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 190 191 191 | System.Windows.Forms.AnchorStyles.Left) 192 | System.Windows.Forms.AnchorStyles.Right))); 192 193 this.stateLogViewHost.Caption = "StateLog View"; 193 194 this.stateLogViewHost.Content = null; … … 214 215 // 215 216 this.logView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 216 217 217 | System.Windows.Forms.AnchorStyles.Left) 218 | System.Windows.Forms.AnchorStyles.Right))); 218 219 this.logView.Caption = "Log View"; 219 220 this.logView.Content = null; … … 305 306 // 306 307 this.resourceNamesTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 307 308 | System.Windows.Forms.AnchorStyles.Right))); 308 309 this.resourceNamesTextBox.Location = new System.Drawing.Point(70, 52); 309 310 this.resourceNamesTextBox.Name = "resourceNamesTextBox"; 310 this.resourceNamesTextBox.Size = new System.Drawing.Size( 415, 20);311 this.resourceNamesTextBox.Size = new System.Drawing.Size(385, 20); 311 312 this.resourceNamesTextBox.TabIndex = 2; 312 313 this.resourceNamesTextBox.Validated += new System.EventHandler(this.resourceNamesTextBox_Validated); … … 324 325 // 325 326 this.nameTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 326 327 | System.Windows.Forms.AnchorStyles.Right))); 327 328 this.nameTextBox.Location = new System.Drawing.Point(70, 27); 328 329 this.nameTextBox.Name = "nameTextBox"; … … 346 347 this.isPrivilegedCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 347 348 this.isPrivilegedCheckBox.AutoSize = true; 348 this.isPrivilegedCheckBox.Location = new System.Drawing.Point(491, 5 3);349 this.isPrivilegedCheckBox.Location = new System.Drawing.Point(491, 54); 349 350 this.isPrivilegedCheckBox.Name = "isPrivilegedCheckBox"; 350 351 this.isPrivilegedCheckBox.Size = new System.Drawing.Size(72, 17); … … 385 386 // 386 387 this.finishedTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 387 388 | System.Windows.Forms.AnchorStyles.Right))); 388 389 this.finishedTextBox.Location = new System.Drawing.Point(74, 64); 389 390 this.finishedTextBox.Name = "finishedTextBox"; … … 394 395 // 395 396 this.calculatingTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 396 397 | System.Windows.Forms.AnchorStyles.Right))); 397 398 this.calculatingTextBox.Location = new System.Drawing.Point(74, 40); 398 399 this.calculatingTextBox.Name = "calculatingTextBox"; … … 403 404 // 404 405 this.jobsTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 405 406 | System.Windows.Forms.AnchorStyles.Right))); 406 407 this.jobsTextBox.Location = new System.Drawing.Point(74, 16); 407 408 this.jobsTextBox.Name = "jobsTextBox"; … … 436 437 this.jobsLabel.Text = "Waiting:"; 437 438 // 439 // searchButton 440 // 441 this.searchButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 442 this.searchButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Zoom; 443 this.searchButton.Location = new System.Drawing.Point(461, 50); 444 this.searchButton.Name = "searchButton"; 445 this.searchButton.Size = new System.Drawing.Size(24, 24); 446 this.searchButton.TabIndex = 26; 447 this.searchButton.UseVisualStyleBackColor = true; 448 this.searchButton.Click += new System.EventHandler(this.searchButton_Click); 449 // 438 450 // RefreshableHiveJobView 439 451 // 440 452 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 441 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 453 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 454 this.Controls.Add(this.searchButton); 442 455 this.Controls.Add(this.isPrivilegedCheckBox); 443 456 this.Controls.Add(this.infoGroupBox); … … 504 517 private System.Windows.Forms.TabPage runsTabPage; 505 518 private MainForm.WindowsForms.ViewHost runCollectionViewHost; 519 private System.Windows.Forms.Button searchButton; 506 520 507 521 } -
branches/GP-MoveOperators/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs
r7782 r8085 23 23 using System.ComponentModel; 24 24 using System.Linq; 25 using System.Text; 25 26 using System.Threading; 26 27 using System.Threading.Tasks; … … 42 43 public partial class RefreshableHiveJobView : HeuristicLab.Core.Views.ItemView { 43 44 private ProgressView progressView; 45 private HiveResourceSelectorDialog hiveResourceSelectorDialog; 44 46 45 47 public new RefreshableJob Content { … … 149 151 this.nameTextBox.ReadOnly = !Content.IsControllable || Content.ExecutionState != ExecutionState.Prepared || alreadyUploaded; 150 152 this.resourceNamesTextBox.ReadOnly = !Content.IsControllable || Content.ExecutionState != ExecutionState.Prepared || alreadyUploaded; 153 this.searchButton.Enabled = Content.IsControllable && !(Content.ExecutionState != ExecutionState.Prepared || alreadyUploaded); 151 154 this.jobsTreeView.ReadOnly = !Content.IsControllable || Content.ExecutionState != ExecutionState.Prepared || alreadyUploaded; 152 155 … … 332 335 333 336 #region Control events 337 private void searchButton_Click(object sender, EventArgs e) { 338 if (hiveResourceSelectorDialog == null) 339 hiveResourceSelectorDialog = new HiveResourceSelectorDialog(); 340 if (hiveResourceSelectorDialog.ShowDialog(this) == DialogResult.OK) { 341 StringBuilder sb = new StringBuilder(); 342 foreach (Resource resource in hiveResourceSelectorDialog.GetSelectedResources()) { 343 sb.Append(resource.Name); 344 sb.Append("; "); 345 } 346 resourceNamesTextBox.Text = sb.ToString(); 347 } 348 } 349 334 350 private void startButton_Click(object sender, EventArgs e) { 335 351 if (nameTextBox.Text.Trim() == string.Empty) {
Note: See TracChangeset
for help on using the changeset viewer.