Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/PropertyClasses/GrassCoverErosionInwardsFailureMechanismContextProperties.cs =================================================================== diff -u -r3c1ed9049be26ab9460bf2192c55149c45fbba3c -r26359a31a29af21b6690cacd9b810b1565af9e4b --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/PropertyClasses/GrassCoverErosionInwardsFailureMechanismContextProperties.cs (.../GrassCoverErosionInwardsFailureMechanismContextProperties.cs) (revision 3c1ed9049be26ab9460bf2192c55149c45fbba3c) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/PropertyClasses/GrassCoverErosionInwardsFailureMechanismContextProperties.cs (.../GrassCoverErosionInwardsFailureMechanismContextProperties.cs) (revision 26359a31a29af21b6690cacd9b810b1565af9e4b) @@ -19,6 +19,7 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System.ComponentModel; using Core.Common.Gui.Attributes; using Core.Common.Gui.PropertyBag; using Core.Common.Utils.Attributes; @@ -93,59 +94,63 @@ #region Model settings [PropertyOrder(frunupModelFactorPropertyIndex)] + [TypeConverter(typeof(ExpandableObjectConverter))] [ResourcesCategory(typeof(Resources), "Categories_ModelSettings")] [ResourcesDisplayName(typeof(Resources), "GrassCoverErosionInwardsInput_FrunupModelFactor_DisplayName")] [ResourcesDescription(typeof(Resources), "GrassCoverErosionInwardsInput_FrunupModelFactor_Description")] - public ReadOnlyNormalDistributionProperties FrunupModelFactor + public NormalDistributionProperties FrunupModelFactor { get { - return new ReadOnlyNormalDistributionProperties + return new NormalDistributionProperties { Data = data.WrappedData.GeneralInput.FrunupModelFactor }; } } [PropertyOrder(fbFactorPropertyIndex)] + [TypeConverter(typeof(ExpandableObjectConverter))] [ResourcesCategory(typeof(Resources), "Categories_ModelSettings")] [ResourcesDisplayName(typeof(Resources), "GrassCoverErosionInwardsInput_FbFactor_DisplayName")] [ResourcesDescription(typeof(Resources), "GrassCoverErosionInwardsInput_FbFactor_Description")] - public ReadOnlyNormalDistributionProperties FbFactor + public NormalDistributionProperties FbFactor { get { - return new ReadOnlyNormalDistributionProperties + return new NormalDistributionProperties { Data = data.WrappedData.GeneralInput.FbFactor }; } } [PropertyOrder(fnFactorPropertyIndex)] + [TypeConverter(typeof(ExpandableObjectConverter))] [ResourcesCategory(typeof(Resources), "Categories_ModelSettings")] [ResourcesDisplayName(typeof(Resources), "GrassCoverErosionInwardsInput_FnFactor_DisplayName")] [ResourcesDescription(typeof(Resources), "GrassCoverErosionInwardsInput_FnFactor_Description")] - public ReadOnlyNormalDistributionProperties FnFactor + public NormalDistributionProperties FnFactor { get { - return new ReadOnlyNormalDistributionProperties + return new NormalDistributionProperties { Data = data.WrappedData.GeneralInput.FnFactor }; } } [PropertyOrder(fshallowModelFactorPropertyIndex)] + [TypeConverter(typeof(ExpandableObjectConverter))] [ResourcesCategory(typeof(Resources), "Categories_ModelSettings")] [ResourcesDisplayName(typeof(Resources), "GrassCoverErosionInwardsInput_FshallowModelFactor_DisplayName")] [ResourcesDescription(typeof(Resources), "GrassCoverErosionInwardsInput_FshallowModelFactor_Description")] - public ReadOnlyNormalDistributionProperties FshallowModelFactor + public NormalDistributionProperties FshallowModelFactor { get { - return new ReadOnlyNormalDistributionProperties + return new NormalDistributionProperties { Data = data.WrappedData.GeneralInput.FshallowModelFactor };