Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/04/12 14:48:55 (12 years ago)
Author:
jkarder
Message:

#1859:

  • added permission management support
  • extended administartion user interface
  • minor code improvements
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveResourcePermissionManagement (trunk integration)/HeuristicLab.Clients.Hive.Administrator/3.3/Views/ResourcesView.Designer.cs

    r7259 r7951  
    5454      this.btnRemoveGroup = new System.Windows.Forms.Button();
    5555      this.btnAddGroup = new System.Windows.Forms.Button();
     56      this.btnPermissionsSave = new System.Windows.Forms.Button();
    5657      this.treeSlaveGroup = new System.Windows.Forms.TreeView();
    5758      this.tabSlaveGroup = new System.Windows.Forms.TabControl();
     
    6162      this.scheduleView = new HeuristicLab.Clients.Hive.Administrator.Views.ScheduleView();
    6263      this.toolTip = new System.Windows.Forms.ToolTip(this.components);
     64      this.tabPermissions = new System.Windows.Forms.TabPage();
     65      this.permissionView = new HeuristicLab.Clients.Access.Views.RefreshableLightweightUserView();
    6366      ((System.ComponentModel.ISupportInitialize)(this.splitSlaves)).BeginInit();
    6467      this.splitSlaves.Panel1.SuspendLayout();
     
    6871      this.tabDetails.SuspendLayout();
    6972      this.tabSchedule.SuspendLayout();
     73      this.tabPermissions.SuspendLayout();
    7074      this.SuspendLayout();
    7175      //
     
    7579      this.imageListSlaveGroups.ImageSize = new System.Drawing.Size(16, 16);
    7680      this.imageListSlaveGroups.TransparentColor = System.Drawing.Color.Transparent;
    77       //
    78       // splitSlaves
    79       //
    80       this.splitSlaves.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    81                   | System.Windows.Forms.AnchorStyles.Left)
    82                   | System.Windows.Forms.AnchorStyles.Right)));
    83       this.splitSlaves.Location = new System.Drawing.Point(3, 3);
    84       this.splitSlaves.Name = "splitSlaves";
    85       //
    86       // splitSlaves.Panel1
    87       //
    88       this.splitSlaves.Panel1.Controls.Add(this.btnRefresh);
    89       this.splitSlaves.Panel1.Controls.Add(this.progressBar);
    90       this.splitSlaves.Panel1.Controls.Add(this.btnSave);
    91       this.splitSlaves.Panel1.Controls.Add(this.btnRemoveGroup);
    92       this.splitSlaves.Panel1.Controls.Add(this.btnAddGroup);
    93       this.splitSlaves.Panel1.Controls.Add(this.treeSlaveGroup);
    94       //
    95       // splitSlaves.Panel2
    96       //
    97       this.splitSlaves.Panel2.Controls.Add(this.tabSlaveGroup);
    98       this.splitSlaves.Size = new System.Drawing.Size(847, 547);
    99       this.splitSlaves.SplitterDistance = 249;
    100       this.splitSlaves.TabIndex = 3;
    10181      //
    10282      // btnRefresh
     
    11191      this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click);
    11292      //
    113       // progressBar
    114       //
    115       this.progressBar.Location = new System.Drawing.Point(123, 4);
    116       this.progressBar.Name = "progressBar";
    117       this.progressBar.Size = new System.Drawing.Size(123, 23);
    118       this.progressBar.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
    119       this.progressBar.TabIndex = 7;
    120       //
    12193      // btnSave
    12294      //
     
    152124      this.btnAddGroup.Click += new System.EventHandler(this.btnAddGroup_Click);
    153125      //
     126      // btnPermissionsSave
     127      //
     128      this.btnPermissionsSave.Enabled = false;
     129      this.btnPermissionsSave.Image = HeuristicLab.Common.Resources.VSImageLibrary.PublishToWeb;
     130      this.btnPermissionsSave.Location = new System.Drawing.Point(36, 6);
     131      this.btnPermissionsSave.Name = "btnPermissionsSave";
     132      this.btnPermissionsSave.Size = new System.Drawing.Size(24, 24);
     133      this.btnPermissionsSave.TabIndex = 1;
     134      this.toolTip.SetToolTip(this.btnPermissionsSave, "Store slave and group sharing permissions on the server");
     135      this.btnPermissionsSave.UseVisualStyleBackColor = true;
     136      this.btnPermissionsSave.Click += new System.EventHandler(this.btnPermissionsSave_Click);
     137      //
     138      // splitSlaves
     139      //
     140      this.splitSlaves.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     141            | System.Windows.Forms.AnchorStyles.Left)
     142            | System.Windows.Forms.AnchorStyles.Right)));
     143      this.splitSlaves.Location = new System.Drawing.Point(3, 3);
     144      this.splitSlaves.Name = "splitSlaves";
     145      //
     146      // splitSlaves.Panel1
     147      //
     148      this.splitSlaves.Panel1.Controls.Add(this.btnRefresh);
     149      this.splitSlaves.Panel1.Controls.Add(this.progressBar);
     150      this.splitSlaves.Panel1.Controls.Add(this.btnSave);
     151      this.splitSlaves.Panel1.Controls.Add(this.btnRemoveGroup);
     152      this.splitSlaves.Panel1.Controls.Add(this.btnAddGroup);
     153      this.splitSlaves.Panel1.Controls.Add(this.treeSlaveGroup);
     154      //
     155      // splitSlaves.Panel2
     156      //
     157      this.splitSlaves.Panel2.Controls.Add(this.tabSlaveGroup);
     158      this.splitSlaves.Size = new System.Drawing.Size(847, 547);
     159      this.splitSlaves.SplitterDistance = 249;
     160      this.splitSlaves.TabIndex = 3;
     161      //
     162      // progressBar
     163      //
     164      this.progressBar.Location = new System.Drawing.Point(123, 4);
     165      this.progressBar.Name = "progressBar";
     166      this.progressBar.Size = new System.Drawing.Size(123, 23);
     167      this.progressBar.Style = System.Windows.Forms.ProgressBarStyle.Continuous;
     168      this.progressBar.TabIndex = 7;
     169      //
    154170      // treeSlaveGroup
    155171      //
    156172      this.treeSlaveGroup.AllowDrop = true;
    157173      this.treeSlaveGroup.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    158                   | System.Windows.Forms.AnchorStyles.Left)
    159                   | System.Windows.Forms.AnchorStyles.Right)));
     174            | System.Windows.Forms.AnchorStyles.Left)
     175            | System.Windows.Forms.AnchorStyles.Right)));
    160176      this.treeSlaveGroup.ImageIndex = 0;
    161177      this.treeSlaveGroup.ImageList = this.imageListSlaveGroups;
     
    166182      this.treeSlaveGroup.TabIndex = 0;
    167183      this.treeSlaveGroup.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.treeSlaveGroup_ItemDrag);
    168       this.treeSlaveGroup.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.treeSlaveGroup_NodeMouseClick);
     184      this.treeSlaveGroup.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeSlaveGroup_AfterSelect);
    169185      this.treeSlaveGroup.DragDrop += new System.Windows.Forms.DragEventHandler(this.treeSlaveGroup_DragDrop);
    170186      this.treeSlaveGroup.DragEnter += new System.Windows.Forms.DragEventHandler(this.treeSlaveGroup_DragEnter);
     
    175191      //
    176192      this.tabSlaveGroup.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    177                   | System.Windows.Forms.AnchorStyles.Left)
    178                   | System.Windows.Forms.AnchorStyles.Right)));
     193            | System.Windows.Forms.AnchorStyles.Left)
     194            | System.Windows.Forms.AnchorStyles.Right)));
    179195      this.tabSlaveGroup.Controls.Add(this.tabDetails);
    180196      this.tabSlaveGroup.Controls.Add(this.tabSchedule);
     197      this.tabSlaveGroup.Controls.Add(this.tabPermissions);
    181198      this.tabSlaveGroup.Location = new System.Drawing.Point(3, 3);
    182199      this.tabSlaveGroup.Name = "tabSlaveGroup";
     
    200217      //
    201218      this.slaveView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    202                   | System.Windows.Forms.AnchorStyles.Left)
    203                   | System.Windows.Forms.AnchorStyles.Right)));
     219            | System.Windows.Forms.AnchorStyles.Left)
     220            | System.Windows.Forms.AnchorStyles.Right)));
    204221      this.slaveView.Caption = "SlaveView";
    205222      this.slaveView.Content = null;
    206       this.slaveView.Location = new System.Drawing.Point(7, 7);
     223      this.slaveView.Location = new System.Drawing.Point(6, 6);
    207224      this.slaveView.Name = "slaveView";
    208225      this.slaveView.ReadOnly = false;
    209       this.slaveView.Size = new System.Drawing.Size(564, 502);
     226      this.slaveView.Size = new System.Drawing.Size(565, 503);
    210227      this.slaveView.TabIndex = 0;
    211228      //
     
    224241      //
    225242      this.scheduleView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    226                   | System.Windows.Forms.AnchorStyles.Left)
    227                   | System.Windows.Forms.AnchorStyles.Right)));
     243            | System.Windows.Forms.AnchorStyles.Left)
     244            | System.Windows.Forms.AnchorStyles.Right)));
    228245      this.scheduleView.Caption = "ScheduleView";
    229246      this.scheduleView.Content = null;
    230       this.scheduleView.Location = new System.Drawing.Point(3, 8);
     247      this.scheduleView.Location = new System.Drawing.Point(6, 6);
    231248      this.scheduleView.Name = "scheduleView";
    232249      this.scheduleView.ReadOnly = false;
    233       this.scheduleView.Size = new System.Drawing.Size(568, 501);
     250      this.scheduleView.Size = new System.Drawing.Size(565, 503);
    234251      this.scheduleView.TabIndex = 0;
     252      //
     253      // tabPermissions
     254      //
     255      this.tabPermissions.Controls.Add(this.btnPermissionsSave);
     256      this.tabPermissions.Controls.Add(this.permissionView);
     257      this.tabPermissions.Location = new System.Drawing.Point(4, 22);
     258      this.tabPermissions.Name = "tabPermissions";
     259      this.tabPermissions.Padding = new System.Windows.Forms.Padding(3);
     260      this.tabPermissions.Size = new System.Drawing.Size(577, 515);
     261      this.tabPermissions.TabIndex = 2;
     262      this.tabPermissions.Text = "Permissions";
     263      this.tabPermissions.UseVisualStyleBackColor = true;
     264      //
     265      // permissionView
     266      //
     267      this.permissionView.Caption = "RefreshableLightweightUser View";
     268      this.permissionView.Content = null;
     269      this.permissionView.FetchSelectedUsers = null;
     270      this.permissionView.Location = new System.Drawing.Point(6, 6);
     271      this.permissionView.Name = "permissionView";
     272      this.permissionView.ReadOnly = false;
     273      this.permissionView.Size = new System.Drawing.Size(565, 503);
     274      this.permissionView.TabIndex = 0;
    235275      //
    236276      // ResourcesView
     
    249289      this.tabDetails.ResumeLayout(false);
    250290      this.tabSchedule.ResumeLayout(false);
     291      this.tabPermissions.ResumeLayout(false);
    251292      this.ResumeLayout(false);
    252293
     
    269310    private System.Windows.Forms.Button btnRefresh;
    270311    private System.Windows.Forms.ToolTip toolTip;
     312    private System.Windows.Forms.TabPage tabPermissions;
     313    private Access.Views.RefreshableLightweightUserView permissionView;
     314    private System.Windows.Forms.Button btnPermissionsSave;
    271315  }
    272316}
Note: See TracChangeset for help on using the changeset viewer.