Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/08/11 00:04:16 (13 years ago)
Author:
cneumuel
Message:

#1233

  • locking for childHiveJobs in OptimizerHiveJob avoid multi threaded access issues
  • added IsPrivileged to gui
  • minor changes
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
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager/3.4/Views/RefreshableHiveExperimentView.cs

    r6373 r6381  
    103103        resourceNamesTextBox.Text = string.Empty;
    104104        useLocalPluginsCheckBox.Checked = false;
     105        isPrivilegedCheckBox.Checked = false;
    105106        logView.Content = null;
    106         //includeJobsCheckBox.Checked = false;
    107         refreshAutomaticallyCheckBox.Checked = false;
     107        refreshAutomaticallyCheckBox.Checked = false;       
    108108        logView.Content = null;
    109109      } else {
     
    112112        resourceNamesTextBox.Text = Content.HiveExperiment.ResourceNames;
    113113        useLocalPluginsCheckBox.Checked = Content.HiveExperiment.UseLocalPlugins;
    114         //includeJobsCheckBox.Checked = Content.IncludeJobs;
     114        isPrivilegedCheckBox.Checked = Content.HiveExperiment.IsPrivileged;
    115115        refreshAutomaticallyCheckBox.Checked = Content.RefreshAutomatically;
    116116        logView.Content = Content.Log;
     
    138138        this.jobsTreeView.ReadOnly = !Content.IsControllable || Content.HiveExperiment.ExecutionState != ExecutionState.Prepared || alreadyUploaded;
    139139
     140        this.isPrivilegedCheckBox.Enabled = Content.IsControllable && !(Content.HiveExperiment.ExecutionState != ExecutionState.Prepared || alreadyUploaded); // TODO: check if user has the rights to do this
    140141        this.useLocalPluginsCheckBox.Enabled = Content.IsControllable && !(Content.HiveExperiment.ExecutionState != ExecutionState.Prepared || alreadyUploaded);
    141142        this.refreshAutomaticallyCheckBox.Enabled = Content.IsControllable && alreadyUploaded && jobsLoaded && Content.HiveExperiment.ExecutionState == ExecutionState.Started;
    142143        this.refreshButton.Enabled = Content.IsControllable && alreadyUploaded;
    143144        this.Locked = !Content.IsControllable || Content.HiveExperiment.ExecutionState == ExecutionState.Started;
     145
    144146      }
    145147      SetEnabledStateOfExecutableButtons();
     
    296298    private void useLocalPluginsCheckBox_CheckedChanged(object sender, EventArgs e) {
    297299      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;
    298304    }
    299305
Note: See TracChangeset for help on using the changeset viewer.