Changeset 16388 for branches/2892_LR-prediction-intervals/HeuristicLab.Clients.Access.Administration/3.3/Views
- Timestamp:
- 12/15/18 12:36:08 (6 years ago)
- Location:
- branches/2892_LR-prediction-intervals
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2892_LR-prediction-intervals
- Property svn:ignore
-
old new 1 *.docstates 2 *.psess 3 *.resharper 4 *.suo 5 *.user 6 *.vsp 7 Doxygen 8 FxCopResults.txt 9 Google.ProtocolBuffers-0.9.1.dll 10 Google.ProtocolBuffers-2.4.1.473.dll 11 HeuristicLab 3.3.5.1.ReSharper.user 12 HeuristicLab 3.3.6.0.ReSharper.user 13 HeuristicLab.4.5.resharper.user 14 HeuristicLab.ExtLibs.6.0.ReSharper.user 15 HeuristicLab.Scripting.Development 16 HeuristicLab.resharper.user 17 ProtoGen.exe 1 18 TestResults 19 _ReSharper.HeuristicLab 20 _ReSharper.HeuristicLab 3.3 21 _ReSharper.HeuristicLab 3.3 Tests 22 _ReSharper.HeuristicLab.ExtLibs 23 bin 24 protoc.exe 25 obj 26 .vs
-
- Property svn:mergeinfo changed
-
Property
svn:global-ignores
set to
*.nuget
packages
- Property svn:ignore
-
branches/2892_LR-prediction-intervals/HeuristicLab.Clients.Access.Administration
- Property svn:mergeinfo changed
-
branches/2892_LR-prediction-intervals/HeuristicLab.Clients.Access.Administration/3.3/Views/RefreshableRoleListView.Designer.cs
r15583 r16388 66 66 // 67 67 this.storeButton.Enabled = false; 68 this.storeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary. PublishToWeb;68 this.storeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Save; 69 69 this.storeButton.Location = new System.Drawing.Point(33, 3); 70 70 this.storeButton.Name = "storeButton"; -
branches/2892_LR-prediction-intervals/HeuristicLab.Clients.Access.Administration/3.3/Views/RefreshableRoleSelectionListView.Designer.cs
r15583 r16388 53 53 // 54 54 this.storeButton.Enabled = false; 55 this.storeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary. PublishToWeb;55 this.storeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Save; 56 56 this.storeButton.Location = new System.Drawing.Point(33, 3); 57 57 this.storeButton.Name = "storeButton"; -
branches/2892_LR-prediction-intervals/HeuristicLab.Clients.Access.Administration/3.3/Views/RefreshableUserGroupListView.Designer.cs
r15583 r16388 66 66 // 67 67 this.storeButton.Enabled = false; 68 this.storeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary. PublishToWeb;68 this.storeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Save; 69 69 this.storeButton.Location = new System.Drawing.Point(33, 3); 70 70 this.storeButton.Name = "storeButton"; -
branches/2892_LR-prediction-intervals/HeuristicLab.Clients.Access.Administration/3.3/Views/RefreshableUserListView.Designer.cs
r15583 r16388 66 66 this.storeButton.Enabled = false; 67 67 this.storeButton.Location = new System.Drawing.Point(33, 3); 68 this.storeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary. PublishToWeb;68 this.storeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Save; 69 69 this.storeButton.Name = "storeButton"; 70 70 this.storeButton.Size = new System.Drawing.Size(24, 24); -
branches/2892_LR-prediction-intervals/HeuristicLab.Clients.Access.Administration/3.3/Views/RoleListView.cs
r15583 r16388 29 29 [View("RoleList View")] 30 30 [Content(typeof(IItemList<Role>), true)] 31 public partial class RoleListView : Item ListView<Role> {31 public partial class RoleListView : ItemCollectionView<Role> { 32 32 public RoleListView() { 33 33 InitializeComponent(); -
branches/2892_LR-prediction-intervals/HeuristicLab.Clients.Access.Administration/3.3/Views/UserGroupListView.cs
r15583 r16388 29 29 [View("UserGroupList View")] 30 30 [Content(typeof(IItemList<UserGroup>), true)] 31 public partial class UserGroupListView : Item ListView<UserGroup> {31 public partial class UserGroupListView : ItemCollectionView<UserGroup> { 32 32 public UserGroupListView() { 33 33 InitializeComponent(); -
branches/2892_LR-prediction-intervals/HeuristicLab.Clients.Access.Administration/3.3/Views/UserGroupView.Designer.cs
r15583 r16388 49 49 this.groupNameTextBox = new System.Windows.Forms.TextBox(); 50 50 this.idTextBox = new System.Windows.Forms.TextBox(); 51 this.refreshableLightweightUserView = new HeuristicLab.Clients.Access.Views.RefreshableLightweight UserView();51 this.refreshableLightweightUserView = new HeuristicLab.Clients.Access.Views.RefreshableLightweightAccessClientView(); 52 52 this.storeButton = new System.Windows.Forms.Button(); 53 53 this.SuspendLayout(); … … 85 85 this.idTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 86 86 | System.Windows.Forms.AnchorStyles.Right))); 87 this.idTextBox. Enabled = false;87 this.idTextBox.ReadOnly = true; 88 88 this.idTextBox.Location = new System.Drawing.Point(79, 29); 89 89 this.idTextBox.Name = "idTextBox"; … … 108 108 // 109 109 this.storeButton.Enabled = false; 110 this.storeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary. PublishToWeb;110 this.storeButton.Image = HeuristicLab.Common.Resources.VSImageLibrary.Save; 111 111 this.storeButton.Location = new System.Drawing.Point(31, 58); 112 112 this.storeButton.Name = "storeButton"; … … 139 139 private System.Windows.Forms.TextBox groupNameTextBox; 140 140 private System.Windows.Forms.TextBox idTextBox; 141 private Views.RefreshableLightweight UserView refreshableLightweightUserView;141 private Views.RefreshableLightweightAccessClientView refreshableLightweightUserView; 142 142 private System.Windows.Forms.Button storeButton; 143 143 } -
branches/2892_LR-prediction-intervals/HeuristicLab.Clients.Access.Administration/3.3/Views/UserGroupView.cs
r15583 r16388 40 40 protected override void RegisterContentEvents() { 41 41 base.RegisterContentEvents(); 42 Access .AccessClient.Instance.Refreshing += new EventHandler(Content_Refreshing);42 AccessClient.Instance.Refreshing += new EventHandler(Content_Refreshing); 43 43 refreshableLightweightUserView.StorableStateChanged += new EventHandler(refreshableLightweightUserView_StorableStateChanged); 44 44 } 45 45 46 46 protected override void DeregisterContentEvents() { 47 Access .AccessClient.Instance.Refreshing -= new EventHandler(Content_Refreshing);47 AccessClient.Instance.Refreshing -= new EventHandler(Content_Refreshing); 48 48 refreshableLightweightUserView.StorableStateChanged -= new EventHandler(refreshableLightweightUserView_StorableStateChanged); 49 49 base.DeregisterContentEvents(); … … 63 63 idTextBox.Text = Content.Id.ToString(); 64 64 65 refreshableLightweightUserView.Content = Content.Id != Guid.Empty ? Access .AccessClient.Instance : null;66 refreshableLightweightUserView.FetchSelectedUsers = Content.Id != Guid.Empty ? new Func<List<Guid>>(delegate { return AccessAdministrationClient.CallAccessService <List<Guid>>(s => s.GetUserGroupIdsOfGroup(Content.Id)); }) : null;65 refreshableLightweightUserView.Content = Content.Id != Guid.Empty ? AccessClient.Instance : null; 66 refreshableLightweightUserView.FetchSelectedUsers = Content.Id != Guid.Empty ? new Func<List<Guid>>(delegate { return AccessAdministrationClient.CallAccessService(s => s.GetUserGroupIdsOfGroup(Content.Id)); }) : null; 67 67 } 68 68 } 69 69 70 private void groupNameTextBox_TextChanged(object sender, System.EventArgs e) { 71 if (Content.Name != this.groupNameTextBox.Text) 72 Content.Name = this.groupNameTextBox.Text; 70 protected override void SetEnabledStateOfControls() { 71 base.SetEnabledStateOfControls(); 72 bool enabled = Content != null && !Locked; 73 groupNameTextBox.ReadOnly = !enabled; 74 idTextBox.ReadOnly = !enabled; 75 storeButton.Enabled = enabled; 76 //refreshableLightweightUserView.Enabled = enabled; 77 refreshableLightweightUserView.Locked = !enabled; 78 //refreshableLightweightUserView.ReadOnly = !enabled; 79 } 80 81 private void groupNameTextBox_TextChanged(object sender, EventArgs e) { 82 if (Content != null && Content.Name != groupNameTextBox.Text) 83 Content.Name = groupNameTextBox.Text; 73 84 } 74 85 … … 91 102 92 103 private void Content_Refreshing(object sender, EventArgs e) { 93 storeButton.Enabled = false;104 if (!Locked) storeButton.Enabled = false; 94 105 } 95 106 96 107 private void refreshableLightweightUserView_StorableStateChanged(object sender, EventArgs e) { 97 storeButton.Enabled = true;108 if (!Locked) storeButton.Enabled = true; 98 109 } 99 110 } -
branches/2892_LR-prediction-intervals/HeuristicLab.Clients.Access.Administration/3.3/Views/UserListView.cs
r15583 r16388 29 29 [View("UserList View")] 30 30 [Content(typeof(IItemList<User>), true)] 31 public partial class UserListView : Item ListView<User> {31 public partial class UserListView : ItemCollectionView<User> { 32 32 public UserListView() { 33 33 InitializeComponent(); -
branches/2892_LR-prediction-intervals/HeuristicLab.Clients.Access.Administration/3.3/Views/UserView.cs
r15583 r16388 64 64 protected override void SetEnabledStateOfControls() { 65 65 base.SetEnabledStateOfControls(); 66 bool enabled = Content != null && !Locked; 67 68 userNameTextBox.ReadOnly = !enabled; 69 fullNameTextBox.ReadOnly = !enabled; 70 emailTextBox.ReadOnly = !enabled; 71 66 72 if (Content == null) { 67 73 resetPasswordButton.Enabled = false;
Note: See TracChangeset
for help on using the changeset viewer.