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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.HiveEngine.Views/3.4/HiveEngineView.cs

    r6212 r6381  
    7474        executionTimeOnHiveTextBox.Text = string.Empty;
    7575        useLocalPluginsCheckBox.Checked = false;
     76        isPrivilegedCheckBox.Checked = false;
    7677        hiveExperimentListView.Content = null;
    7778        logView.Content = null;
     
    8182        executionTimeOnHiveTextBox.Text = Content.ExecutionTimeOnHive.ToString();
    8283        useLocalPluginsCheckBox.Checked = Content.UseLocalPlugins;
     84        isPrivilegedCheckBox.Checked = Content.IsPrivileged;
    8385        hiveExperimentListView.Content = Content.HiveExperiments;
    8486        logView.Content = Content.Log;
     
    9395        priorityTextBox.ReadOnly = this.ReadOnly;
    9496        useLocalPluginsCheckBox.Enabled = !this.ReadOnly;
     97        isPrivilegedCheckBox.Enabled = !this.ReadOnly; // TODO: check for user rights
    9598      } else {
    9699        resourceIdsTextBox.ReadOnly = false;
    97100        priorityTextBox.ReadOnly = false;
    98101        useLocalPluginsCheckBox.Enabled = false;
     102        isPrivilegedCheckBox.Enabled = false;
    99103      }
    100104    }
     
    112116      Content.UseLocalPlugins = useLocalPluginsCheckBox.Checked;
    113117    }
     118
     119    private void isPrivilegedCheckBox_CheckedChanged(object sender, EventArgs e) {
     120      Content.IsPrivileged = isPrivilegedCheckBox.Checked;
     121    }
    114122    #endregion
    115 
    116 
    117123  }
    118124}
Note: See TracChangeset for help on using the changeset viewer.