- Timestamp:
- 06/19/18 15:51:41 (6 years ago)
- Location:
- branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.JobManager/3.3/Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveResourceSelector.cs
r15956 r15966 48 48 private const string ADDED_SELECTION_TAG = " [added selection]"; 49 49 private const string REMOVED_SELECTION_TAG = " [removed selection]"; 50 private const string SELECTED_TAG = " [selected]"; 50 51 private const string INCLUDED_TAG = " [included]"; 51 52 private const string ADDED_INCLUDE_TAG = " [added include]"; … … 537 538 if (newAssignedResources.Select(x => x.Id).Contains(newResource.Id)) { 538 539 newNode.Checked = true; 540 if(!addedAssignments.Select(x => x.Id).Contains(newResource.Id) && !removedAssignments.Select(x => x.Id).Contains(newResource.Id)) { 541 newNode.Text += SELECTED_TAG; 542 } 539 543 } else if (newIncludedResources.Select(x => x.Id).Contains(newResource.Id)) { 540 544 newNode.Checked = true; … … 702 706 if (newAssignedResources.Select(x => x.Id).Contains(resource.Id)) { 703 707 n.Checked = true; 708 if (!addedAssignments.Select(x => x.Id).Contains(resource.Id) && !removedAssignments.Select(x => x.Id).Contains(resource.Id)) { 709 n.Text += SELECTED_TAG; 710 } 704 711 } else if (newIncludedResources.Select(x => x.Id).Contains(resource.Id)) { 705 712 n.Checked = true; -
branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs
r15920 r15966 479 479 480 480 private void updateButton_Click(object sender, EventArgs e) { 481 if (Content.ExecutionState == ExecutionState.Stopped) { 482 MessageBox.Show("Job cannot be updated once it stopped.", "HeuristicLab Hive Job Manager", MessageBoxButtons.OK, MessageBoxIcon.Information); 483 return; 484 } 485 481 486 HiveClient.UpdateJob( 482 487 (Exception ex) => ErrorHandling.ShowErrorDialog(this, "Update failed.", ex),
Note: See TracChangeset
for help on using the changeset viewer.