Changeset 6723 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager
- Timestamp:
- 09/08/11 14:37:52 (13 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager/3.3/Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager/3.3/Views/HiveExperimentPermissionListView.cs
r6463 r6723 27 27 namespace HeuristicLab.Clients.Hive.ExperimentManager.Views { 28 28 [View("HiveExperimentPermissionList View")] 29 [Content(typeof(HiveItemCollection< HiveExperimentPermission>), false)]30 public partial class HiveExperimentPermissionListView : ItemCollectionView< HiveExperimentPermission> {29 [Content(typeof(HiveItemCollection<JobPermission>), false)] 30 public partial class HiveExperimentPermissionListView : ItemCollectionView<JobPermission> { 31 31 32 32 private Guid hiveExperimentId; … … 40 40 } 41 41 42 protected override HiveExperimentPermission CreateItem() {43 return new HiveExperimentPermission() { HiveExperimentId = this.hiveExperimentId };42 protected override JobPermission CreateItem() { 43 return new JobPermission() { JobId = this.hiveExperimentId }; 44 44 } 45 45 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.ExperimentManager/3.3/Views/HiveExperimentPermissionView.cs
r6479 r6723 25 25 26 26 namespace HeuristicLab.Clients.Hive.ExperimentManager.Views { 27 [View(" HiveExperimentPermission View")]28 [Content(typeof( HiveExperimentPermission), true)]27 [View("JobPermission View")] 28 [Content(typeof(JobPermission), true)] 29 29 public partial class HiveExperimentPermissionView : HiveItemView { 30 public new HiveExperimentPermission Content {31 get { return ( HiveExperimentPermission)base.Content; }30 public new JobPermission Content { 31 get { return (JobPermission)base.Content; } 32 32 set { base.Content = value; } 33 33 }
Note: See TracChangeset
for help on using the changeset viewer.