Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/24/11 16:26:39 (12 years ago)
Author:
ascheibe
Message:

#1672

  • added a default job name
  • added check that a job name is set before upload
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.Hive.JobManager/3.3/Views/RefreshableHiveJobListView.cs

    r7059 r7068  
    4848
    4949    protected override RefreshableJob CreateItem() {
    50       return new RefreshableJob() { IsAllowedPrivileged = HiveClient.Instance.IsAllowedPrivileged };
     50      var refreshableJob = new RefreshableJob() { IsAllowedPrivileged = HiveClient.Instance.IsAllowedPrivileged };
     51      refreshableJob.Job.Name = "New Hive Job";
     52      return refreshableJob;
    5153    }
    5254
    5355    protected override void removeButton_Click(object sender, EventArgs e) {
    54       DialogResult result = MessageBox.Show("This action will permanently delete this job (also on the hive server). Continue?", "Delete Job", MessageBoxButtons.OKCancel, MessageBoxIcon.Question);
     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);
    5557      if (result == DialogResult.OK) {
    5658        base.removeButton_Click(sender, e);
Note: See TracChangeset for help on using the changeset viewer.