Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/04/19 14:33:02 (5 years ago)
Author:
mkommend
Message:

#2839: Merged r16427 into stable.

Location:
stable
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Clients.Hive.Administrator

  • stable/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectPermissionsView.Designer.cs

    r17059 r17060  
    112112      this.permissionsGroupBox.TabIndex = 4;
    113113      this.permissionsGroupBox.TabStop = false;
    114       this.permissionsGroupBox.Text = "Permissions (Assigned + Included)";
     114      this.permissionsGroupBox.Text = "Compute Permissions (Assigned + Included)";
    115115      //
    116116      // treeView
  • stable/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectView.Designer.cs

    r17059 r17060  
    3939      this.endLabel = new System.Windows.Forms.Label();
    4040      this.indefiniteCheckBox = new System.Windows.Forms.CheckBox();
    41       this.createdTextBox = new System.Windows.Forms.TextBox();
    42       this.refreshButton = new System.Windows.Forms.Button();
     41      this.createdTextBox = new System.Windows.Forms.TextBox();     
    4342      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    4443      this.SuspendLayout();
     
    124123      this.ownerComboBox.SelectedIndexChanged += new System.EventHandler(this.ownerComboBox_SelectedIndexChanged);
    125124      //
    126       // refreshButton
    127       //
    128       this.refreshButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Refresh;
    129       this.refreshButton.Location = new System.Drawing.Point(278, 162);
    130       this.refreshButton.Name = "refreshButton";
    131       this.refreshButton.Size = new System.Drawing.Size(24, 24);
    132       this.refreshButton.TabIndex = 5;
    133       this.toolTip.SetToolTip(this.refreshButton, "Refresh data");
    134       this.refreshButton.UseVisualStyleBackColor = true;
    135       this.refreshButton.Click += new System.EventHandler(this.refreshButton_Click);
    136       //
    137125      // createdLabel
    138126      //
     
    207195      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    208196      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    209       this.Controls.Add(this.refreshButton);
    210197      this.Controls.Add(this.createdTextBox);
    211198      this.Controls.Add(this.indefiniteCheckBox);
     
    247234    private System.Windows.Forms.Label endLabel;
    248235    private System.Windows.Forms.CheckBox indefiniteCheckBox;
    249     private System.Windows.Forms.TextBox createdTextBox;
    250     private System.Windows.Forms.Button refreshButton;
     236    private System.Windows.Forms.TextBox createdTextBox;   
    251237    private System.Windows.Forms.ToolTip toolTip;
    252238  }
  • stable/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectView.cs

    r17059 r17060  
    126126      bool enabled = Content != null && !Locked && !ReadOnly;
    127127      nameTextBox.Enabled = enabled;
    128       descriptionTextBox.Enabled = enabled;
    129       refreshButton.Enabled = enabled;
     128      descriptionTextBox.Enabled = enabled;     
    130129      ownerComboBox.Enabled = enabled;
    131130      createdTextBox.Enabled = enabled;
     
    188187    }
    189188
    190     private async void refreshButton_Click(object sender, EventArgs e) {
    191       lock (locker) {
    192         if (!refreshButton.Enabled) return;
    193         refreshButton.Enabled = false;
    194       }
    195 
    196       await SecurityExceptionUtil.TryAsyncAndReportSecurityExceptions(
    197         action: () => UpdateUsers(),
    198         finallyCallback: () => {
    199           ownerComboBox.SelectedIndexChanged -= ownerComboBox_SelectedIndexChanged;
    200           var users = AccessClient.Instance.UsersAndGroups.OfType<LightweightUser>();
    201           if (Content != null && !Content.ParentProjectId.HasValue) users = users.Where(x => x.Roles.Select(y => y.Name).Contains(HiveRoles.Administrator));
    202           ownerComboBox.DataSource = users.ToList();
    203           ownerComboBox.SelectedItem = users.FirstOrDefault(x => x.Id == persistedOwnerUserId);
    204           ownerComboBox.SelectedIndexChanged += ownerComboBox_SelectedIndexChanged;
    205           refreshButton.Enabled = true;
    206         });
    207     }
    208 
    209189    private void nameTextBox_Validating(object sender, CancelEventArgs e) {
    210190      if (string.IsNullOrEmpty(nameTextBox.Text)) {
  • stable/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectsView.Designer.cs

    r17059 r17060  
    194194      this.permissionsTabPage.Size = new System.Drawing.Size(577, 515);
    195195      this.permissionsTabPage.TabIndex = 1;
    196       this.permissionsTabPage.Text = "Permissions";
     196      this.permissionsTabPage.Text = "Compute Permissions";
    197197      this.permissionsTabPage.UseVisualStyleBackColor = true;
    198198      //
Note: See TracChangeset for help on using the changeset viewer.