Callaway improvements
Callaway improvements (ReadOnly step format property) Initial FNPNMP Initial fnpnmp
This commit is contained in:
@@ -871,6 +871,7 @@ public struct Step
|
||||
public int Index;
|
||||
public string Type;
|
||||
public string ParentType;
|
||||
public string ReadOnly;
|
||||
public string Inactive;
|
||||
public string ColOverride;
|
||||
public string ColOverrideEdit;
|
||||
@@ -5202,6 +5203,7 @@ namespace fmtxml
|
||||
#endregion
|
||||
#region DoStepInherit
|
||||
delegate string StepPartStr(Step stp);
|
||||
private string StepPartReadOnly(Step stp) { return stp.ReadOnly; }
|
||||
private string StepPartInactive(Step stp) { return stp.Inactive; }
|
||||
private string StepPartColOverride(Step stp) { return stp.ColOverride; }
|
||||
private string StepPartColOverrideEdit(Step stp) { return stp.ColOverrideEdit; }
|
||||
@@ -5417,6 +5419,7 @@ namespace fmtxml
|
||||
|
||||
private void FixInheritance(ref Step step, Dictionary<string, Step> dicParents)
|
||||
{
|
||||
if (CheckInheritedStr(new StepPartStr(StepPartReadOnly), step, dicParents)) step.ReadOnly = null;
|
||||
if (CheckInheritedStr(new StepPartStr(StepPartInactive), step, dicParents)) step.Inactive = null;
|
||||
if (CheckInheritedStr(new StepPartStr(StepPartColOverride), step, dicParents)) step.ColOverride = NullString;
|
||||
if (CheckInheritedStr(new StepPartStr(StepPartColOverrideEdit), step, dicParents)) step.ColOverrideEdit = NullString;
|
||||
|
Reference in New Issue
Block a user