Home
last modified time | relevance | path

Searched refs:GDMRestriction (Results 1 – 16 of 16) sorted by relevance

/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKCore/GKCore/Controllers/
H A DFamilyEditDlgController.cs51 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 DPersonEditDlgController.cs72 … 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 DGDMRecordWithEvents.cs27 public enum GDMRestriction enum
41 private GDMRestriction fRestriction;
60 public GDMRestriction Restriction
91 fRestriction = GDMRestriction.rnNone; in Clear()
H A DGDMCustomEvent.cs37 private GDMRestriction fRestriction;
104 public GDMRestriction Restriction
221 fRestriction = GDMRestriction.rnNone; in Clear()
231 … && string.IsNullOrEmpty(fReligiousAffilation) && (fRestriction == GDMRestriction.rnNone) in IsEmpty()
H A DGDMInterfaces.cs138 GDMRestriction Restriction { get; set; }
157 GDMRestriction Restriction { get; set; }
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKTests/GKCore/
H A DBaseContextTests.cs331 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 DGDMCustomEventTests.cs75 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 DGDMFamilyRecordTests.cs45 famRec.Restriction = GDMRestriction.rnLocked; in Test_Common()
46 Assert.AreEqual(GDMRestriction.rnLocked, famRec.Restriction); in Test_Common()
H A DGDMIndividualRecordTests.cs107 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 DGEDCOMUtilsTests.cs190 …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 DGEDCOMUtils.cs1032 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 DIBaseContext.cs54 bool IsRecordAccess(GDMRestriction restriction); in IsRecordAccess()
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKv3/GEDKeeper3/GKUI/Forms/
H A DFamilyEditDlg.cs196 LockEditor(cmbRestriction.SelectedIndex == (int)GDMRestriction.rnLocked); in cbRestriction_SelectedIndexChanged()
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKv2/GEDKeeper2/GKUI/Forms/
H A DFamilyEditDlg.cs200 LockEditor(cmbRestriction.SelectedIndex == (int)GDMRestriction.rnLocked); in cbRestriction_SelectedIndexChanged()
/dports/misc/gedkeeper/GEDKeeper-2.19.1/projects/GKCore/GKCore/
H A DBaseContext.cs366 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 DFamilyXProvider.cs193 lastIndividual.Restriction = GDMRestriction.rnNone; in LoadFromReader()