Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/PropertyClasses/ClosingStructuresInputContextProperties.cs =================================================================== diff -u -rf808c0a7745d68543626578246691a6f1ec76aae -rc0849c80b8bab9023c7df1e8402aa380891496d2 --- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/PropertyClasses/ClosingStructuresInputContextProperties.cs (.../ClosingStructuresInputContextProperties.cs) (revision f808c0a7745d68543626578246691a6f1ec76aae) +++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/PropertyClasses/ClosingStructuresInputContextProperties.cs (.../ClosingStructuresInputContextProperties.cs) (revision c0849c80b8bab9023c7df1e8402aa380891496d2) @@ -46,7 +46,7 @@ ClosingStructuresInput, StructuresCalculation, ClosingStructuresFailureMechanism>, - IDistributionPropertyChangeHandler + IPropertyChangeHandler { private const int hydraulicBoundaryLocationPropertyIndex = 1; private const int stormDurationPropertyIndex = 2; @@ -173,7 +173,7 @@ return data.FailureMechanism.ClosingStructures; } - void IDistributionPropertyChangeHandler.PropertyChanged() + public void PropertyChanged() { // TODO WTI-973 } Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/DistributionPropertiesBase.cs =================================================================== diff -u -rf808c0a7745d68543626578246691a6f1ec76aae -rc0849c80b8bab9023c7df1e8402aa380891496d2 --- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/DistributionPropertiesBase.cs (.../DistributionPropertiesBase.cs) (revision f808c0a7745d68543626578246691a6f1ec76aae) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/DistributionPropertiesBase.cs (.../DistributionPropertiesBase.cs) (revision c0849c80b8bab9023c7df1e8402aa380891496d2) @@ -41,7 +41,7 @@ private readonly bool isMeanReadOnly; private readonly bool isStandardDeviationReadOnly; private readonly IObservable observable; - private readonly IDistributionPropertyChangeHandler changeHandler; + private readonly IPropertyChangeHandler changeHandler; /// /// Initializes a new instance of the class. @@ -56,7 +56,7 @@ protected DistributionPropertiesBase( DistributionPropertiesReadOnly propertiesReadOnly, IObservable observable, - IDistributionPropertyChangeHandler handler) + IPropertyChangeHandler handler) { if (observable == null && !propertiesReadOnly.HasFlag(DistributionPropertiesReadOnly.All)) { Fisheye: Tag c0849c80b8bab9023c7df1e8402aa380891496d2 refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/IDistributionPropertyChangeHandler.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/IPropertyChangeHandler.cs =================================================================== diff -u --- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/IPropertyChangeHandler.cs (revision 0) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/IPropertyChangeHandler.cs (revision c0849c80b8bab9023c7df1e8402aa380891496d2) @@ -0,0 +1,16 @@ +using Core.Common.Gui.PropertyBag; + +namespace Ringtoets.Common.Forms.PropertyClasses +{ + /// + /// Interface defining the operations of handling a change of . + /// + public interface IPropertyChangeHandler + { + /// + /// Defines the action that is executed after a property of + /// has been changed. + /// + void PropertyChanged(); + } +} \ No newline at end of file Fisheye: Tag c0849c80b8bab9023c7df1e8402aa380891496d2 refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/IUseBreakWaterPropertyChangeHandler.cs'. Fisheye: No comparison available. Pass `N' to diff? Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/LogNormalDistributionProperties.cs =================================================================== diff -u -rf808c0a7745d68543626578246691a6f1ec76aae -rc0849c80b8bab9023c7df1e8402aa380891496d2 --- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/LogNormalDistributionProperties.cs (.../LogNormalDistributionProperties.cs) (revision f808c0a7745d68543626578246691a6f1ec76aae) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/LogNormalDistributionProperties.cs (.../LogNormalDistributionProperties.cs) (revision c0849c80b8bab9023c7df1e8402aa380891496d2) @@ -53,7 +53,7 @@ public LogNormalDistributionProperties( DistributionPropertiesReadOnly propertiesReadOnly, IObservable observable, - IDistributionPropertyChangeHandler handler) + IPropertyChangeHandler handler) : base(propertiesReadOnly, observable, handler) {} public override string DistributionType Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/NormalDistributionProperties.cs =================================================================== diff -u -rf808c0a7745d68543626578246691a6f1ec76aae -rc0849c80b8bab9023c7df1e8402aa380891496d2 --- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/NormalDistributionProperties.cs (.../NormalDistributionProperties.cs) (revision f808c0a7745d68543626578246691a6f1ec76aae) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/NormalDistributionProperties.cs (.../NormalDistributionProperties.cs) (revision c0849c80b8bab9023c7df1e8402aa380891496d2) @@ -53,7 +53,7 @@ public NormalDistributionProperties( DistributionPropertiesReadOnly propertiesReadOnly, IObservable observable, - IDistributionPropertyChangeHandler handler) : + IPropertyChangeHandler handler) : base(propertiesReadOnly, observable, handler) {} public override string DistributionType Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/StructuresInputBaseProperties.cs =================================================================== diff -u -rb87e54cb353ebb09cbe6d136b9195e958adfb774 -rc0849c80b8bab9023c7df1e8402aa380891496d2 --- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/StructuresInputBaseProperties.cs (.../StructuresInputBaseProperties.cs) (revision b87e54cb353ebb09cbe6d136b9195e958adfb774) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/StructuresInputBaseProperties.cs (.../StructuresInputBaseProperties.cs) (revision c0849c80b8bab9023c7df1e8402aa380891496d2) @@ -55,8 +55,7 @@ IHasHydraulicBoundaryLocationProperty, IHasStructureProperty, IHasForeshoreProfileProperty, - IUseBreakWaterPropertyChangeHandler, - IDistributionPropertyChangeHandler where TStructure : StructureBase + IPropertyChangeHandler where TStructure : StructureBase where TStructureInput : StructuresInputBase where TCalculation : ICalculation where TFailureMechanism : IFailureMechanism @@ -539,14 +538,9 @@ #endregion - void IUseBreakWaterPropertyChangeHandler.PropertyChanged() + public void PropertyChanged() { - // TODO WTI-969/WTI-970/WTI-971 + // TODO WTI-969/WTI-970/WTI-971/WTI-973 } - - void IDistributionPropertyChangeHandler.PropertyChanged() - { - // TODO WTI-973 - } } } \ No newline at end of file Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/TruncatedNormalDistributionProperties.cs =================================================================== diff -u -rf808c0a7745d68543626578246691a6f1ec76aae -rc0849c80b8bab9023c7df1e8402aa380891496d2 --- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/TruncatedNormalDistributionProperties.cs (.../TruncatedNormalDistributionProperties.cs) (revision f808c0a7745d68543626578246691a6f1ec76aae) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/TruncatedNormalDistributionProperties.cs (.../TruncatedNormalDistributionProperties.cs) (revision c0849c80b8bab9023c7df1e8402aa380891496d2) @@ -51,7 +51,7 @@ /// Optional handler that is used to handle property changes. /// Thrown when /// is null and any number of properties in this class is editable. - public TruncatedNormalDistributionProperties(DistributionPropertiesReadOnly propertiesReadOnly, IObservable observable, IDistributionPropertyChangeHandler handler) : + public TruncatedNormalDistributionProperties(DistributionPropertiesReadOnly propertiesReadOnly, IObservable observable, IPropertyChangeHandler handler) : base(propertiesReadOnly, observable, handler) {} public override string DistributionType Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/UseBreakWaterProperties.cs =================================================================== diff -u -rb87e54cb353ebb09cbe6d136b9195e958adfb774 -rc0849c80b8bab9023c7df1e8402aa380891496d2 --- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/UseBreakWaterProperties.cs (.../UseBreakWaterProperties.cs) (revision b87e54cb353ebb09cbe6d136b9195e958adfb774) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/UseBreakWaterProperties.cs (.../UseBreakWaterProperties.cs) (revision c0849c80b8bab9023c7df1e8402aa380891496d2) @@ -41,7 +41,7 @@ private const int breakWaterTypePropertyIndex = 2; private const int breakWaterHeightPropertyIndex = 3; private readonly IUseBreakWater data; - private readonly IUseBreakWaterPropertyChangeHandler changeHandler; + private readonly IPropertyChangeHandler changeHandler; /// /// Creates a new instance of , in which @@ -56,7 +56,7 @@ /// The data to use for the properties. /// Optional handler that is used to handle property changes. /// Thrown when any input parameter is null. - public UseBreakWaterProperties(IUseBreakWater useBreakWaterData, IUseBreakWaterPropertyChangeHandler handler) + public UseBreakWaterProperties(IUseBreakWater useBreakWaterData, IPropertyChangeHandler handler) { if (useBreakWaterData == null) { Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Ringtoets.Common.Forms.csproj =================================================================== diff -u -rb87e54cb353ebb09cbe6d136b9195e958adfb774 -rc0849c80b8bab9023c7df1e8402aa380891496d2 --- Ringtoets/Common/src/Ringtoets.Common.Forms/Ringtoets.Common.Forms.csproj (.../Ringtoets.Common.Forms.csproj) (revision b87e54cb353ebb09cbe6d136b9195e958adfb774) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Ringtoets.Common.Forms.csproj (.../Ringtoets.Common.Forms.csproj) (revision c0849c80b8bab9023c7df1e8402aa380891496d2) @@ -67,9 +67,8 @@ - + - Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/DistributionPropertiesBaseTest.cs =================================================================== diff -u -rf808c0a7745d68543626578246691a6f1ec76aae -rc0849c80b8bab9023c7df1e8402aa380891496d2 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/DistributionPropertiesBaseTest.cs (.../DistributionPropertiesBaseTest.cs) (revision f808c0a7745d68543626578246691a6f1ec76aae) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/DistributionPropertiesBaseTest.cs (.../DistributionPropertiesBaseTest.cs) (revision c0849c80b8bab9023c7df1e8402aa380891496d2) @@ -189,10 +189,10 @@ var mockRepository = new MockRepository(); var observerableMock = mockRepository.StrictMock(); observerableMock.Expect(o => o.NotifyObservers()); - IDistributionPropertyChangeHandler handler = null; + IPropertyChangeHandler handler = null; if (withHandler) { - handler = mockRepository.StrictMock(); + handler = mockRepository.StrictMock(); handler.Expect(o => o.PropertyChanged()); } var distribution = mockRepository.Stub(); @@ -246,10 +246,10 @@ var mockRepository = new MockRepository(); var observerableMock = mockRepository.StrictMock(); observerableMock.Expect(o => o.NotifyObservers()); - IDistributionPropertyChangeHandler handler = null; + IPropertyChangeHandler handler = null; if (withHandler) { - handler = mockRepository.StrictMock(); + handler = mockRepository.StrictMock(); handler.Expect(o => o.PropertyChanged()); } var distribution = mockRepository.Stub(); @@ -271,7 +271,7 @@ private class SimpleDistributionProperties : DistributionPropertiesBase { - public SimpleDistributionProperties(DistributionPropertiesReadOnly propertiesReadOnly, IObservable observable, IDistributionPropertyChangeHandler handler) + public SimpleDistributionProperties(DistributionPropertiesReadOnly propertiesReadOnly, IObservable observable, IPropertyChangeHandler handler) : base(propertiesReadOnly, observable, handler) {} public override string DistributionType Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/UseBreakWaterPropertiesTest.cs =================================================================== diff -u -rb87e54cb353ebb09cbe6d136b9195e958adfb774 -rc0849c80b8bab9023c7df1e8402aa380891496d2 --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/UseBreakWaterPropertiesTest.cs (.../UseBreakWaterPropertiesTest.cs) (revision b87e54cb353ebb09cbe6d136b9195e958adfb774) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/UseBreakWaterPropertiesTest.cs (.../UseBreakWaterPropertiesTest.cs) (revision c0849c80b8bab9023c7df1e8402aa380891496d2) @@ -228,7 +228,7 @@ var calculationObserver = mocks.StrictMock(); var inputObserver = mocks.StrictMock(); inputObserver.Expect(o => o.UpdateObserver()); - var handler = mocks.StrictMock(); + var handler = mocks.StrictMock(); handler.Expect(o => o.PropertyChanged()); mocks.ReplayAll(); Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/PropertyClasses/GrassCoverErosionInwardsInputContextProperties.cs =================================================================== diff -u -rb87e54cb353ebb09cbe6d136b9195e958adfb774 -rc0849c80b8bab9023c7df1e8402aa380891496d2 --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/PropertyClasses/GrassCoverErosionInwardsInputContextProperties.cs (.../GrassCoverErosionInwardsInputContextProperties.cs) (revision b87e54cb353ebb09cbe6d136b9195e958adfb774) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Forms/PropertyClasses/GrassCoverErosionInwardsInputContextProperties.cs (.../GrassCoverErosionInwardsInputContextProperties.cs) (revision c0849c80b8bab9023c7df1e8402aa380891496d2) @@ -49,8 +49,7 @@ /// public class GrassCoverErosionInwardsInputContextProperties : ObjectProperties, IHasHydraulicBoundaryLocationProperty, - IUseBreakWaterPropertyChangeHandler, - IDistributionPropertyChangeHandler + IPropertyChangeHandler { private const int dikeProfilePropertyIndex = 1; private const int worldReferencePointPropertyIndex = 2; @@ -254,16 +253,11 @@ data.AvailableHydraulicBoundaryLocations, calculationLocation); } - void IDistributionPropertyChangeHandler.PropertyChanged() + public void PropertyChanged() { ClearCalculationOutput(); } - void IUseBreakWaterPropertyChangeHandler.PropertyChanged() - { - ClearCalculationOutput(); - } - private void ClearOutputAndNotifyPropertyChanged() { ClearCalculationOutput(); Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresInputContextProperties.cs =================================================================== diff -u -rf808c0a7745d68543626578246691a6f1ec76aae -rc0849c80b8bab9023c7df1e8402aa380891496d2 --- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresInputContextProperties.cs (.../HeightStructuresInputContextProperties.cs) (revision f808c0a7745d68543626578246691a6f1ec76aae) +++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/PropertyClasses/HeightStructuresInputContextProperties.cs (.../HeightStructuresInputContextProperties.cs) (revision c0849c80b8bab9023c7df1e8402aa380891496d2) @@ -41,7 +41,7 @@ HeightStructuresInput, StructuresCalculation, HeightStructuresFailureMechanism>, - IDistributionPropertyChangeHandler + IPropertyChangeHandler { private const int structurePropertyIndex = 1; private const int structureLocationPropertyIndex = 2; @@ -113,7 +113,7 @@ return data.FailureMechanism.HeightStructures; } - void IDistributionPropertyChangeHandler.PropertyChanged() + public void PropertyChanged() { // TODO WTI-972 } Index: Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/PropertyClasses/WaveConditionsInputContextProperties.cs =================================================================== diff -u -rb87e54cb353ebb09cbe6d136b9195e958adfb774 -rc0849c80b8bab9023c7df1e8402aa380891496d2 --- Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/PropertyClasses/WaveConditionsInputContextProperties.cs (.../WaveConditionsInputContextProperties.cs) (revision b87e54cb353ebb09cbe6d136b9195e958adfb774) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/PropertyClasses/WaveConditionsInputContextProperties.cs (.../WaveConditionsInputContextProperties.cs) (revision c0849c80b8bab9023c7df1e8402aa380891496d2) @@ -51,7 +51,7 @@ public abstract class WaveConditionsInputContextProperties : ObjectProperties, IHasHydraulicBoundaryLocationProperty, IHasForeshoreProfileProperty, - IUseBreakWaterPropertyChangeHandler + IPropertyChangeHandler where T : WaveConditionsInputContext { private const int hydraulicBoundaryLocationPropertyIndex = 0; @@ -312,7 +312,7 @@ } } - void IUseBreakWaterPropertyChangeHandler.PropertyChanged() + public void PropertyChanged() { ClearCalculationOutput(); } Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Forms/PropertyClasses/StabilityPointStructuresInputContextProperties.cs =================================================================== diff -u -rf808c0a7745d68543626578246691a6f1ec76aae -rc0849c80b8bab9023c7df1e8402aa380891496d2 --- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Forms/PropertyClasses/StabilityPointStructuresInputContextProperties.cs (.../StabilityPointStructuresInputContextProperties.cs) (revision f808c0a7745d68543626578246691a6f1ec76aae) +++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Forms/PropertyClasses/StabilityPointStructuresInputContextProperties.cs (.../StabilityPointStructuresInputContextProperties.cs) (revision c0849c80b8bab9023c7df1e8402aa380891496d2) @@ -46,7 +46,7 @@ StabilityPointStructuresInput, StructuresCalculation, StabilityPointStructuresFailureMechanism>, - IDistributionPropertyChangeHandler + IPropertyChangeHandler { private const int hydraulicBoundaryLocationPropertyIndex = 1; private const int volumicWeightWaterPropertyIndex = 2; @@ -171,7 +171,7 @@ return data.FailureMechanism.StabilityPointStructures; } - void IDistributionPropertyChangeHandler.PropertyChanged() + public void PropertyChanged() { // TODO WTI-974 }