- Timestamp:
- 01/04/12 16:45:02 (13 years ago)
- Location:
- branches/HeuristicLab.Hive.Azure
- Files:
-
- 3 deleted
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive.Azure
- Property svn:mergeinfo changed
/trunk/sources merged: 7195-7201,7209,7214,7216-7230,7233-7239,7241,7243-7252,7254,7256-7261,7265-7266
- Property svn:mergeinfo changed
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.JobManager/3.3
- Property svn:ignore
-
old new 1 1 Plugin.cs 2 2 obj 3 *.vs10x
-
- Property svn:ignore
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobManagerView.Designer.cs
r7215 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 45 45 /// </summary> 46 46 private void InitializeComponent() { 47 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(HiveJobManagerView));48 47 this.hiveExperimentListView = new RefreshableHiveJobListView(); 49 48 this.refreshButton = new System.Windows.Forms.Button(); … … 65 64 // refreshButton 66 65 // 67 this.refreshButton.Image = ((System.Drawing.Image)(resources.GetObject("refreshButton.Image")));66 this.refreshButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Refresh; 68 67 this.refreshButton.Location = new System.Drawing.Point(3, 3); 69 68 this.refreshButton.Name = "refreshButton"; -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobManagerView.cs
r6976 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using System.ServiceModel.Security; 25 25 using System.Windows.Forms; 26 using HeuristicLab.Clients.Hive.Views; 26 27 using HeuristicLab.Collections; 27 28 using HeuristicLab.MainForm; … … 106 107 107 108 private void HandleServiceException(Exception ex) { 108 if ( ex is MessageSecurityException) {109 MessageBox.Show("A Message Security error has occured. This normally means that your user name or password is wrong.", "HeuristicLab Hive Administrator", MessageBoxButtons.OK, MessageBoxIcon.Error);109 if (this.InvokeRequired) { 110 Invoke(new Action<Exception>(HandleServiceException), ex); 110 111 } else { 111 ErrorHandling.ShowErrorDialog(this, "Refresh failed.", ex); 112 if (ex is MessageSecurityException) { 113 MessageBox.Show("A Message Security error has occured. This normally means that your user name or password is wrong.", "HeuristicLab Hive Job Manager", MessageBoxButtons.OK, MessageBoxIcon.Error); 114 } else if (ex is AnonymousUserException) { 115 using (HiveInformationDialog dialog = new HiveInformationDialog()) { 116 dialog.ShowDialog(this); 117 } 118 } else { 119 ErrorHandling.ShowErrorDialog(this, "Refresh failed.", ex); 120 } 112 121 } 113 122 } -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobPermissionListView.cs
r7215 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.JobManager/3.3/Views/HiveJobPermissionView.cs
r6976 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobListView.cs
r7215 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 54 54 55 55 protected override void removeButton_Click(object sender, EventArgs e) { 56 DialogResult result = MessageBox.Show("This action will permanently delete this job (also on the hive server). Continue?", "HeuristicLab Hive Job Manager", MessageBoxButtons.OKCancel, MessageBoxIcon.Question); 57 if (result == DialogResult.OK) { 58 base.removeButton_Click(sender, e); 56 DialogResult result = MessageBox.Show("This action will permanently delete this job (also on the Hive server). Continue?", "HeuristicLab Hive Job Manager", MessageBoxButtons.YesNo, MessageBoxIcon.Question); 57 if (result == DialogResult.Yes) { 58 System.Windows.Forms.ListView.SelectedListViewItemCollection selectedItems = itemsListView.SelectedItems; 59 bool inProgress = false; 60 foreach (ListViewItem item in selectedItems) { 61 RefreshableJob job = item.Tag as RefreshableJob; 62 if (job != null && job.IsProgressing) { 63 inProgress = true; 64 break; 65 } 66 } 67 68 if (inProgress) { 69 MessageBox.Show("You can't delete jobs which are currently uploading or downloading." + Environment.NewLine + "Please wait for the jobs to complete and try again. ", "HeuristicLab Hive Job Manager", MessageBoxButtons.OK, MessageBoxIcon.Warning); 70 return; 71 } else { 72 base.removeButton_Click(sender, e); 73 } 59 74 } 60 75 } -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.Designer.cs
r7215 r7270 25 25 private void InitializeComponent() { 26 26 this.components = new System.ComponentModel.Container(); 27 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RefreshableHiveJobView));28 27 this.tabControl = new System.Windows.Forms.TabControl(); 29 28 this.tasksTabPage = new System.Windows.Forms.TabPage(); … … 125 124 // refreshPermissionsButton 126 125 // 127 this.refreshPermissionsButton.Image = ((System.Drawing.Image)(resources.GetObject("refreshPermissionsButton.Image")));126 this.refreshPermissionsButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Refresh; 128 127 this.refreshPermissionsButton.Location = new System.Drawing.Point(3, 3); 129 128 this.refreshPermissionsButton.Name = "refreshPermissionsButton"; … … 228 227 // 229 228 this.startButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 230 this.startButton.Image = ((System.Drawing.Image)(resources.GetObject("startButton.Image")));229 this.startButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Play; 231 230 this.startButton.Location = new System.Drawing.Point(0, 536); 232 231 this.startButton.Name = "startButton"; … … 240 239 // 241 240 this.stopButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 242 this.stopButton.Image = ((System.Drawing.Image)(resources.GetObject("stopButton.Image")));241 this.stopButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Stop; 243 242 this.stopButton.Location = new System.Drawing.Point(60, 536); 244 243 this.stopButton.Name = "stopButton"; … … 253 252 this.resetButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 254 253 this.resetButton.Enabled = false; 255 this.resetButton.Image = ((System.Drawing.Image)(resources.GetObject("resetButton.Image")));254 this.resetButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Restart; 256 255 this.resetButton.Location = new System.Drawing.Point(90, 536); 257 256 this.resetButton.Name = "resetButton"; … … 285 284 this.pauseButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); 286 285 this.pauseButton.Enabled = false; 287 this.pauseButton.Image = ((System.Drawing.Image)(resources.GetObject("pauseButton.Image")));286 this.pauseButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Pause; 288 287 this.pauseButton.Location = new System.Drawing.Point(30, 536); 289 288 this.pauseButton.Name = "pauseButton"; … … 334 333 // refreshButton 335 334 // 336 this.refreshButton.Image = ((System.Drawing.Image)(resources.GetObject("refreshButton.Image")));335 this.refreshButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Refresh; 337 336 this.refreshButton.Location = new System.Drawing.Point(3, 0); 338 337 this.refreshButton.Name = "refreshButton"; -
branches/HeuristicLab.Hive.Azure/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobView.cs
r7215 r7270 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 1Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab.
Note: See TracChangeset
for help on using the changeset viewer.