/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKCore/GKCore/Controllers/ |
H A D | FamilyEditDlgController.cs | 51 for (GDMRestriction res = GDMRestriction.rnNone; res <= GDMRestriction.rnLast; res++) { in FamilyEditDlgController() 81 fFamily.Restriction = (GDMRestriction)fView.Restriction.SelectedIndex; in Accept() 133 fView.LockEditor(fFamily.Restriction == GDMRestriction.rnLocked); in UpdateControls()
|
H A D | PersonEditDlgController.cs | 72 … for (GDMRestriction res = GDMRestriction.rnNone; res <= GDMRestriction.rnPrivacy; res++) { in PersonEditDlgController() 139 fPerson.Restriction = (GDMRestriction)fView.RestrictionCombo.SelectedIndex; in Accept() 186 bool locked = (fView.RestrictionCombo.SelectedIndex == (int)GDMRestriction.rnLocked); in UpdateParents() 242 bool locked = (fView.RestrictionCombo.SelectedIndex == (int)GDMRestriction.rnLocked); in UpdateControls() 301 var locked = (fView.RestrictionCombo.SelectedIndex == (int) GDMRestriction.rnLocked); in UpdateNameControls() 329 bool locked = (fView.RestrictionCombo.SelectedIndex == (int)GDMRestriction.rnLocked); in UpdatePortrait()
|
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKCore/GDModel/ |
H A D | GDMRecordWithEvents.cs | 27 public enum GDMRestriction enum 41 private GDMRestriction fRestriction; 60 public GDMRestriction Restriction 91 fRestriction = GDMRestriction.rnNone; in Clear()
|
H A D | GDMCustomEvent.cs | 37 private GDMRestriction fRestriction; 104 public GDMRestriction Restriction 221 fRestriction = GDMRestriction.rnNone; in Clear() 231 … && string.IsNullOrEmpty(fReligiousAffilation) && (fRestriction == GDMRestriction.rnNone) in IsEmpty()
|
H A D | GDMInterfaces.cs | 138 GDMRestriction Restriction { get; set; } 157 GDMRestriction Restriction { get; set; }
|
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKTests/GKCore/ |
H A D | BaseContextTests.cs | 331 Assert.IsTrue(fContext.IsRecordAccess(GDMRestriction.rnNone)); in Test_IsRecordAccess() 332 Assert.IsTrue(fContext.IsRecordAccess(GDMRestriction.rnConfidential)); in Test_IsRecordAccess() 333 Assert.IsTrue(fContext.IsRecordAccess(GDMRestriction.rnPrivacy)); in Test_IsRecordAccess() 336 Assert.IsTrue(fContext.IsRecordAccess(GDMRestriction.rnNone)); in Test_IsRecordAccess() 337 Assert.IsTrue(fContext.IsRecordAccess(GDMRestriction.rnConfidential)); in Test_IsRecordAccess() 338 Assert.IsFalse(fContext.IsRecordAccess(GDMRestriction.rnPrivacy)); in Test_IsRecordAccess() 341 Assert.IsTrue(fContext.IsRecordAccess(GDMRestriction.rnNone)); in Test_IsRecordAccess() 342 Assert.IsFalse(fContext.IsRecordAccess(GDMRestriction.rnConfidential)); in Test_IsRecordAccess() 343 Assert.IsFalse(fContext.IsRecordAccess(GDMRestriction.rnPrivacy)); in Test_IsRecordAccess()
|
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKTests/GDModel/ |
H A D | GDMCustomEventTests.cs | 75 customEvent.Restriction = GDMRestriction.rnLocked; in Test_Common() 76 Assert.AreEqual(GDMRestriction.rnLocked, customEvent.Restriction); in Test_Common() 102 customEvent.Restriction = GDMRestriction.rnConfidential; in Test_Common()
|
H A D | GDMFamilyRecordTests.cs | 45 famRec.Restriction = GDMRestriction.rnLocked; in Test_Common() 46 Assert.AreEqual(GDMRestriction.rnLocked, famRec.Restriction); in Test_Common()
|
H A D | GDMIndividualRecordTests.cs | 107 indiRec.Restriction = GDMRestriction.rnLocked; in Test_Common() 108 Assert.AreEqual(GDMRestriction.rnLocked, indiRec.Restriction); in Test_Common()
|
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKTests/GDModel/Providers/GEDCOM/ |
H A D | GEDCOMUtilsTests.cs | 190 …Assert.AreEqual(GDMRestriction.rnConfidential, GEDCOMUtils.GetRestrictionVal(GEDCOMUtils.GetRestri… in Test_GEDCOMEnumRestr() 191 …Assert.AreEqual(GDMRestriction.rnLocked, GEDCOMUtils.GetRestrictionVal(GEDCOMUtils.GetRestrictionS… in Test_GEDCOMEnumRestr() 192 …Assert.AreEqual(GDMRestriction.rnPrivacy, GEDCOMUtils.GetRestrictionVal(GEDCOMUtils.GetRestriction… in Test_GEDCOMEnumRestr() 193 …Assert.AreEqual(GDMRestriction.rnNone, GEDCOMUtils.GetRestrictionVal(GEDCOMUtils.GetRestrictionStr… in Test_GEDCOMEnumRestr() 194 Assert.AreEqual(GDMRestriction.rnNone, GEDCOMUtils.GetRestrictionVal("unk")); in Test_GEDCOMEnumRestr()
|
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKCore/GDModel/Providers/GEDCOM/ |
H A D | GEDCOMUtils.cs | 1032 public static GDMRestriction GetRestrictionVal(string str) in GetRestrictionVal() 1034 if (string.IsNullOrEmpty(str)) return GDMRestriction.rnNone; in GetRestrictionVal() 1036 GDMRestriction res; in GetRestrictionVal() 1040 res = GDMRestriction.rnConfidential; in GetRestrictionVal() 1042 res = GDMRestriction.rnLocked; in GetRestrictionVal() 1044 res = GDMRestriction.rnPrivacy; in GetRestrictionVal() 1046 res = GDMRestriction.rnNone; in GetRestrictionVal() 1051 public static string GetRestrictionStr(GDMRestriction value) in GetRestrictionStr() 1056 case GDMRestriction.rnConfidential: in GetRestrictionStr() 1060 case GDMRestriction.rnLocked: in GetRestrictionStr() [all …]
|
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKCore/GKCore/Interfaces/ |
H A D | IBaseContext.cs | 54 bool IsRecordAccess(GDMRestriction restriction); in IsRecordAccess()
|
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKv3/GEDKeeper3/GKUI/Forms/ |
H A D | FamilyEditDlg.cs | 196 LockEditor(cmbRestriction.SelectedIndex == (int)GDMRestriction.rnLocked); in cbRestriction_SelectedIndexChanged()
|
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKv2/GEDKeeper2/GKUI/Forms/ |
H A D | FamilyEditDlg.cs | 200 LockEditor(cmbRestriction.SelectedIndex == (int)GDMRestriction.rnLocked); in cbRestriction_SelectedIndexChanged()
|
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKCore/GKCore/ |
H A D | BaseContext.cs | 366 public bool IsRecordAccess(GDMRestriction restriction) in IsRecordAccess() 372 …result = (restriction != GDMRestriction.rnConfidential && restriction != GDMRestriction.rnPrivacy); in IsRecordAccess() 376 result = (restriction != GDMRestriction.rnPrivacy); in IsRecordAccess()
|
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKCore/GDModel/Providers/FamilyShow/ |
H A D | FamilyXProvider.cs | 193 lastIndividual.Restriction = GDMRestriction.rnNone; in LoadFromReader()
|