Changeset 6381 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager/3.4/Views/RefreshableHiveExperimentView.cs
- Timestamp:
- 06/08/11 00:04:16 (13 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager/3.4
-
Property
svn:ignore
set to
bin
HeuristicLab.Clients.Hive.ExperimentManager-3.4.csproj.user
HeuristicLab.Clients.Hive.ExperimentManager-3.4.csproj.vs10x
HeuristicLabClientsHiveExperimentManagerPlugin.cs
obj
-
Property
svn:ignore
set to
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager/3.4/Views/RefreshableHiveExperimentView.cs
r6373 r6381 103 103 resourceNamesTextBox.Text = string.Empty; 104 104 useLocalPluginsCheckBox.Checked = false; 105 isPrivilegedCheckBox.Checked = false; 105 106 logView.Content = null; 106 //includeJobsCheckBox.Checked = false; 107 refreshAutomaticallyCheckBox.Checked = false; 107 refreshAutomaticallyCheckBox.Checked = false; 108 108 logView.Content = null; 109 109 } else { … … 112 112 resourceNamesTextBox.Text = Content.HiveExperiment.ResourceNames; 113 113 useLocalPluginsCheckBox.Checked = Content.HiveExperiment.UseLocalPlugins; 114 //includeJobsCheckBox.Checked = Content.IncludeJobs;114 isPrivilegedCheckBox.Checked = Content.HiveExperiment.IsPrivileged; 115 115 refreshAutomaticallyCheckBox.Checked = Content.RefreshAutomatically; 116 116 logView.Content = Content.Log; … … 138 138 this.jobsTreeView.ReadOnly = !Content.IsControllable || Content.HiveExperiment.ExecutionState != ExecutionState.Prepared || alreadyUploaded; 139 139 140 this.isPrivilegedCheckBox.Enabled = Content.IsControllable && !(Content.HiveExperiment.ExecutionState != ExecutionState.Prepared || alreadyUploaded); // TODO: check if user has the rights to do this 140 141 this.useLocalPluginsCheckBox.Enabled = Content.IsControllable && !(Content.HiveExperiment.ExecutionState != ExecutionState.Prepared || alreadyUploaded); 141 142 this.refreshAutomaticallyCheckBox.Enabled = Content.IsControllable && alreadyUploaded && jobsLoaded && Content.HiveExperiment.ExecutionState == ExecutionState.Started; 142 143 this.refreshButton.Enabled = Content.IsControllable && alreadyUploaded; 143 144 this.Locked = !Content.IsControllable || Content.HiveExperiment.ExecutionState == ExecutionState.Started; 145 144 146 } 145 147 SetEnabledStateOfExecutableButtons(); … … 296 298 private void useLocalPluginsCheckBox_CheckedChanged(object sender, EventArgs e) { 297 299 if (Content != null) Content.HiveExperiment.UseLocalPlugins = useLocalPluginsCheckBox.Checked; 300 } 301 302 private void isPrivilegedCheckBox_CheckedChanged(object sender, EventArgs e) { 303 if (Content != null) Content.HiveExperiment.IsPrivileged = isPrivilegedCheckBox.Checked; 298 304 } 299 305
Note: See TracChangeset
for help on using the changeset viewer.