- Timestamp:
- 06/07/18 15:19:53 (7 years ago)
- Location:
- branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.Administrator/3.3/Views
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectPermissionsView.Designer.cs
r15922 r15953 32 32 this.permissionsGroupBox = new System.Windows.Forms.GroupBox(); 33 33 this.treeView = new Hive.Views.TreeView.NoDoubleClickTreeView(); 34 this.toolTip = new System.Windows.Forms.ToolTip(this.components); 34 35 this.detailsGroupBox = new System.Windows.Forms.GroupBox(); 35 36 this.detailsViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost(); … … 48 49 this.refreshButton.Name = "refreshButton"; 49 50 this.refreshButton.Size = new System.Drawing.Size(24, 24); 50 this.refreshButton.TabIndex = 0; 51 this.refreshButton.TabIndex = 1; 52 this.toolTip.SetToolTip(this.refreshButton, "Refresh data"); 51 53 this.refreshButton.UseVisualStyleBackColor = true; 52 54 this.refreshButton.Click += new System.EventHandler(this.refreshButton_Click); … … 58 60 this.inheritButton.Name = "inheritButton"; 59 61 this.inheritButton.Size = new System.Drawing.Size(24, 24); 60 this.inheritButton.TabIndex = 3; 62 this.inheritButton.TabIndex = 2; 63 this.toolTip.SetToolTip(this.inheritButton, "Save and hand down permission settings to all descendant projects"); 61 64 this.inheritButton.UseVisualStyleBackColor = true; 62 65 this.inheritButton.Click += new System.EventHandler(this.inheritButton_Click); … … 68 71 this.saveButton.Name = "saveButton"; 69 72 this.saveButton.Size = new System.Drawing.Size(24, 24); 70 this.saveButton.TabIndex = 4; 73 this.saveButton.TabIndex = 3; 74 this.toolTip.SetToolTip(this.saveButton, "Save permission settings"); 71 75 this.saveButton.UseVisualStyleBackColor = true; 72 76 this.saveButton.Click += new System.EventHandler(this.saveButton_Click); … … 106 110 this.permissionsGroupBox.Name = "permissionsGroupBox"; 107 111 this.permissionsGroupBox.Size = new System.Drawing.Size(268, 452); 108 this.permissionsGroupBox.TabIndex = 0;112 this.permissionsGroupBox.TabIndex = 4; 109 113 this.permissionsGroupBox.TabStop = false; 110 114 this.permissionsGroupBox.Text = "Permissions (Assigned + Included)"; … … 122 126 this.treeView.SelectedImageIndex = 0; 123 127 this.treeView.Size = new System.Drawing.Size(256, 427); 124 this.treeView.TabIndex = 0;128 this.treeView.TabIndex = 5; 125 129 this.treeView.BeforeCheck += new System.Windows.Forms.TreeViewCancelEventHandler(this.treeView_BeforeCheck); 126 130 this.treeView.AfterCheck += new System.Windows.Forms.TreeViewEventHandler(this.treeView_AfterCheck); … … 136 140 this.detailsGroupBox.Name = "detailsGroupBox"; 137 141 this.detailsGroupBox.Size = new System.Drawing.Size(540, 452); 138 this.detailsGroupBox.TabIndex = 0;142 this.detailsGroupBox.TabIndex = 6; 139 143 this.detailsGroupBox.TabStop = false; 140 144 this.detailsGroupBox.Text = "Details"; … … 152 156 this.detailsViewHost.ReadOnly = true; 153 157 this.detailsViewHost.Size = new System.Drawing.Size(528, 427); 154 this.detailsViewHost.TabIndex = 0;158 this.detailsViewHost.TabIndex = 7; 155 159 this.detailsViewHost.ViewsLabelVisible = true; 156 160 this.detailsViewHost.ViewType = null; … … 185 189 private System.Windows.Forms.GroupBox permissionsGroupBox; 186 190 private HeuristicLab.Clients.Hive.Views.TreeView.NoDoubleClickTreeView treeView; 191 private System.Windows.Forms.ToolTip toolTip; 187 192 private System.Windows.Forms.GroupBox detailsGroupBox; 188 193 private MainForm.WindowsForms.ViewHost detailsViewHost; -
branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectPermissionsView.cs
r15813 r15953 53 53 private readonly Color addedIncludeColor = Color.FromArgb(25, 169, 221, 221); // #a9dddd 54 54 private readonly Color removedIncludeColor = Color.FromArgb(25, 249, 210, 145); // #f9d291 55 private readonly Color projectOwnerColor = Color.DarkRed; 55 56 56 57 public new Project Content { … … 116 117 var selectedPermission = (UserGroupBase)e.Node.Tag; 117 118 detailsViewHost.Content = selectedPermission; 119 if (selectedPermission is LightweightUser) 120 detailsViewHost.ViewType = typeof(Access.Views.RefreshableLightweightUserInformationView); 118 121 } 119 122 … … 309 312 } 310 313 314 if(Content != null && ug != null && ug.Id != Guid.Empty 315 && Content.OwnerUserId == ug.Id) { 316 node.ForeColor = projectOwnerColor; 317 } 318 311 319 } 312 320 -
branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectResourcesView.Designer.cs
r15922 r15953 32 32 this.treeView = new Hive.Views.TreeView.NoDoubleClickTreeView(); 33 33 this.imageList = new System.Windows.Forms.ImageList(this.components); 34 this.toolTip = new System.Windows.Forms.ToolTip(this.components); 34 35 this.detailsGroupBox = new System.Windows.Forms.GroupBox(); 35 36 this.detailsViewHost = new HeuristicLab.MainForm.WindowsForms.ViewHost(); … … 48 49 this.refreshButton.Name = "refreshButton"; 49 50 this.refreshButton.Size = new System.Drawing.Size(24, 24); 50 this.refreshButton.TabIndex = 2; 51 this.refreshButton.TabIndex = 1; 52 this.toolTip.SetToolTip(this.refreshButton, "Refresh data"); 51 53 this.refreshButton.UseVisualStyleBackColor = true; 52 54 this.refreshButton.Click += new System.EventHandler(this.refreshButton_Click); … … 58 60 this.inheritButton.Name = "inheritButton"; 59 61 this.inheritButton.Size = new System.Drawing.Size(24, 24); 60 this.inheritButton.TabIndex = 3; 62 this.inheritButton.TabIndex = 2; 63 this.toolTip.SetToolTip(this.inheritButton, "Save and hand down resource assignments to all descendant projects"); 61 64 this.inheritButton.UseVisualStyleBackColor = true; 62 65 this.inheritButton.Click += new System.EventHandler(this.inheritButton_Click); … … 68 71 this.saveButton.Name = "saveButton"; 69 72 this.saveButton.Size = new System.Drawing.Size(24, 24); 70 this.saveButton.TabIndex = 4; 73 this.saveButton.TabIndex = 3; 74 this.toolTip.SetToolTip(this.saveButton, "Save resource assignments"); 71 75 this.saveButton.UseVisualStyleBackColor = true; 72 76 this.saveButton.Click += new System.EventHandler(this.saveButton_Click); … … 186 190 private System.Windows.Forms.GroupBox detailsGroupBox; 187 191 private HeuristicLab.Clients.Hive.Views.TreeView.NoDoubleClickTreeView treeView; 192 private System.Windows.Forms.ToolTip toolTip; 188 193 private System.Windows.Forms.ImageList imageList; 189 194 private MainForm.WindowsForms.ViewHost detailsViewHost; -
branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectView.Designer.cs
r15908 r15953 24 24 /// </summary> 25 25 private void InitializeComponent() { 26 this.components = new System.ComponentModel.Container(); 26 27 this.idLabel = new System.Windows.Forms.Label(); 27 28 this.idTextBox = new System.Windows.Forms.TextBox(); … … 40 41 this.createdTextBox = new System.Windows.Forms.TextBox(); 41 42 this.refreshButton = new System.Windows.Forms.Button(); 43 this.toolTip = new System.Windows.Forms.ToolTip(this.components); 42 44 this.SuspendLayout(); 43 45 // … … 67 69 this.nameLabel.Name = "nameLabel"; 68 70 this.nameLabel.Size = new System.Drawing.Size(38, 13); 69 this.nameLabel.TabIndex = 2;71 this.nameLabel.TabIndex = 0; 70 72 this.nameLabel.Text = "Name:"; 71 73 // … … 77 79 this.nameTextBox.Name = "nameTextBox"; 78 80 this.nameTextBox.Size = new System.Drawing.Size(464, 20); 79 this.nameTextBox.TabIndex = 3;81 this.nameTextBox.TabIndex = 2; 80 82 this.nameTextBox.TextChanged += new System.EventHandler(this.nameTextBox_TextChanged); 81 83 this.nameTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.nameTextBox_Validating); … … 87 89 this.descriptionLabel.Name = "descriptionLabel"; 88 90 this.descriptionLabel.Size = new System.Drawing.Size(63, 13); 89 this.descriptionLabel.TabIndex = 4;91 this.descriptionLabel.TabIndex = 0; 90 92 this.descriptionLabel.Text = "Description:"; 91 93 // … … 98 100 this.descriptionTextBox.Name = "descriptionTextBox"; 99 101 this.descriptionTextBox.Size = new System.Drawing.Size(464, 98); 100 this.descriptionTextBox.TabIndex = 5;102 this.descriptionTextBox.TabIndex = 3; 101 103 this.descriptionTextBox.TextChanged += new System.EventHandler(this.descriptionTextBox_TextChanged); 102 //103 // ownerComboBox104 //105 this.ownerComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)106 | System.Windows.Forms.AnchorStyles.Right)));107 this.ownerComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;108 this.ownerComboBox.FormattingEnabled = true;109 this.ownerComboBox.Location = new System.Drawing.Point(102, 164);110 this.ownerComboBox.Name = "ownerComboBox";111 this.ownerComboBox.Size = new System.Drawing.Size(434, 21);112 this.ownerComboBox.TabIndex = 6;113 this.ownerComboBox.SelectedIndexChanged += new System.EventHandler(this.ownerComboBox_SelectedIndexChanged);114 104 // 115 105 // ownerLabel … … 119 109 this.ownerLabel.Name = "ownerLabel"; 120 110 this.ownerLabel.Size = new System.Drawing.Size(41, 13); 121 this.ownerLabel.TabIndex = 7;111 this.ownerLabel.TabIndex = 0; 122 112 this.ownerLabel.Text = "Owner:"; 113 // 114 // ownerComboBox 115 // 116 //this.ownerComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 117 // | System.Windows.Forms.AnchorStyles.Right))); 118 this.ownerComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 119 this.ownerComboBox.FormattingEnabled = true; 120 this.ownerComboBox.Location = new System.Drawing.Point(72, 164); 121 this.ownerComboBox.Name = "ownerComboBox"; 122 this.ownerComboBox.Size = new System.Drawing.Size(200, 21); 123 this.ownerComboBox.TabIndex = 4; 124 this.ownerComboBox.SelectedIndexChanged += new System.EventHandler(this.ownerComboBox_SelectedIndexChanged); 125 // 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); 123 136 // 124 137 // createdLabel … … 189 202 this.createdTextBox.Size = new System.Drawing.Size(200, 20); 190 203 this.createdTextBox.TabIndex = 14; 191 //192 // refreshButton193 //194 this.refreshButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Refresh;195 this.refreshButton.Location = new System.Drawing.Point(72, 162);196 this.refreshButton.Name = "refreshButton";197 this.refreshButton.Size = new System.Drawing.Size(24, 24);198 this.refreshButton.TabIndex = 15;199 this.refreshButton.UseVisualStyleBackColor = true;200 this.refreshButton.Click += new System.EventHandler(this.refreshButton_Click);201 204 // 202 205 // ProjectView … … 246 249 private System.Windows.Forms.TextBox createdTextBox; 247 250 private System.Windows.Forms.Button refreshButton; 251 private System.Windows.Forms.ToolTip toolTip; 248 252 } 249 253 } -
branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectsView.Designer.cs
r15777 r15953 39 39 this.resourcesTabPage = new System.Windows.Forms.TabPage(); 40 40 this.projectResourcesView = new HeuristicLab.Clients.Hive.Administrator.Views.ProjectResourcesView(); 41 this.toolTip = new System.Windows.Forms.ToolTip(this.components); 41 42 ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).BeginInit(); 42 43 this.splitContainer.Panel1.SuspendLayout(); … … 79 80 this.refreshButton.Size = new System.Drawing.Size(24, 24); 80 81 this.refreshButton.TabIndex = 14; 82 this.toolTip.SetToolTip(this.refreshButton, "Fetch list from server"); 81 83 this.refreshButton.UseVisualStyleBackColor = true; 82 84 this.refreshButton.Click += new System.EventHandler(this.refreshButton_Click); … … 89 91 this.saveProjectButton.Size = new System.Drawing.Size(24, 24); 90 92 this.saveProjectButton.TabIndex = 12; 93 this.toolTip.SetToolTip(this.saveProjectButton, "Store project on the server"); 91 94 this.saveProjectButton.UseVisualStyleBackColor = true; 92 95 this.saveProjectButton.Click += new System.EventHandler(this.saveProjectButton_Click); … … 99 102 this.removeButton.Size = new System.Drawing.Size(24, 24); 100 103 this.removeButton.TabIndex = 11; 104 this.toolTip.SetToolTip(this.removeButton, "Remove a project"); 101 105 this.removeButton.UseVisualStyleBackColor = true; 102 106 this.removeButton.Click += new System.EventHandler(this.removeButton_Click); … … 109 113 this.addButton.Size = new System.Drawing.Size(24, 24); 110 114 this.addButton.TabIndex = 10; 115 this.toolTip.SetToolTip(this.addButton, "Add a new project"); 111 116 this.addButton.UseVisualStyleBackColor = true; 112 117 this.addButton.Click += new System.EventHandler(this.addButton_Click); … … 257 262 private ProjectResourcesView projectResourcesView; 258 263 private ProjectPermissionsView projectPermissionsView; 264 private System.Windows.Forms.ToolTip toolTip; 259 265 } 260 266 } -
branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ProjectsView.cs
r15813 r15953 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 7Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 41 41 private const int redFlagImageIndex = 1; 42 42 private const string SELECTED_TAG = ""; // " [selected]"; 43 private const string NOT_STORED_TAG = "* *"; // " [not stored]";43 private const string NOT_STORED_TAG = "*"; // " [not stored]"; 44 44 private const string CHANGES_NOT_STORED_TAG = "*"; // " [changes not stored]"; 45 45 -
branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ResourcesView.Designer.cs
r15922 r15953 128 128 this.btnRemoveGroup.Size = new System.Drawing.Size(24, 24); 129 129 this.btnRemoveGroup.TabIndex = 2; 130 this.toolTip.SetToolTip(this.btnRemoveGroup, " Delete a slave or a group");130 this.toolTip.SetToolTip(this.btnRemoveGroup, "Remove a slave or a group"); 131 131 this.btnRemoveGroup.UseVisualStyleBackColor = true; 132 132 this.btnRemoveGroup.Click += new System.EventHandler(this.btnRemoveGroup_Click); -
branches/2839_HiveProjectManagement/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ResourcesView.cs
r15922 r15953 43 43 public const string UNGROUPED_GROUP_DESCRIPTION = "Contains slaves that are not assigned to any group."; 44 44 private const string SELECTED_TAG = ""; // " [selected]"; 45 private const string NOT_STORED_TAG = "* *"; // " [not stored]";45 private const string NOT_STORED_TAG = "*"; // " [not stored]"; 46 46 private const string CHANGES_NOT_STORED_TAG = "*"; // " [changes not stored]"; 47 47
Note: See TracChangeset
for help on using the changeset viewer.