Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/Views/ClosingStructuresFailureMechanismResultView.cs
===================================================================
diff -u -r1c6c2405bf85bf76ffd242478df9a10d4ae3c966 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/Views/ClosingStructuresFailureMechanismResultView.cs (.../ClosingStructuresFailureMechanismResultView.cs) (revision 1c6c2405bf85bf76ffd242478df9a10d4ae3c966)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Forms/Views/ClosingStructuresFailureMechanismResultView.cs (.../ClosingStructuresFailureMechanismResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -144,7 +144,7 @@
if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex)
{
SimpleAssessmentResultType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}
Fisheye: Tag 5785cc13c0454eaabed7ede4dad8e885db7efd50 refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.Forms/Helpers/FailureMechanismResultViewHelper.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Ringtoets.Common.Forms.csproj
===================================================================
diff -u -rd941c131f9c9ef14eaf09b9865b6c072e1a7c3c3 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/Common/src/Ringtoets.Common.Forms/Ringtoets.Common.Forms.csproj (.../Ringtoets.Common.Forms.csproj) (revision d941c131f9c9ef14eaf09b9865b6c072e1a7c3c3)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/Ringtoets.Common.Forms.csproj (.../Ringtoets.Common.Forms.csproj) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -30,7 +30,6 @@
-
Fisheye: Tag 5785cc13c0454eaabed7ede4dad8e885db7efd50 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Helpers/FailureMechanismResultViewHelperTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Ringtoets.Common.Forms.Test.csproj
===================================================================
diff -u -rb29487c198d87b176783f2396c2b59cd76b9f246 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Ringtoets.Common.Forms.Test.csproj (.../Ringtoets.Common.Forms.Test.csproj) (revision b29487c198d87b176783f2396c2b59cd76b9f246)
+++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/Ringtoets.Common.Forms.Test.csproj (.../Ringtoets.Common.Forms.Test.csproj) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -54,7 +54,6 @@
-
Index: Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Forms/Views/DuneErosionFailureMechanismResultView.cs
===================================================================
diff -u -r1c6c2405bf85bf76ffd242478df9a10d4ae3c966 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Forms/Views/DuneErosionFailureMechanismResultView.cs (.../DuneErosionFailureMechanismResultView.cs) (revision 1c6c2405bf85bf76ffd242478df9a10d4ae3c966)
+++ Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Forms/Views/DuneErosionFailureMechanismResultView.cs (.../DuneErosionFailureMechanismResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -109,7 +109,7 @@
if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex)
{
SimpleAssessmentResultValidityOnlyType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}
Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/Views/GrassCoverErosionInwardsFailureMechanismResultViewTest.cs
===================================================================
diff -u -r4fe18530ce01d02e59d52bf8b334710236466abe -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/Views/GrassCoverErosionInwardsFailureMechanismResultViewTest.cs (.../GrassCoverErosionInwardsFailureMechanismResultViewTest.cs) (revision 4fe18530ce01d02e59d52bf8b334710236466abe)
+++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/Views/GrassCoverErosionInwardsFailureMechanismResultViewTest.cs (.../GrassCoverErosionInwardsFailureMechanismResultViewTest.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -20,7 +20,6 @@
// All rights reserved.
using System;
-using System.Globalization;
using System.Windows.Forms;
using Core.Common.Base;
using NUnit.Extensions.Forms;
@@ -147,6 +146,19 @@
Assert.AreEqual("Overschrijf\r\nassemblageresultaat", dataGridView.Columns[useManualAssemblyProbabilityIndex].HeaderText);
Assert.AreEqual("Assemblageresultaat\r\nhandmatig", dataGridView.Columns[manualAssemblyProbabilityIndex].HeaderText);
+ Assert.IsTrue(dataGridView.Columns[nameColumnIndex].ReadOnly);
+ Assert.IsFalse(dataGridView.Columns[simpleAssessmentResultIndex].ReadOnly);
+ Assert.IsFalse(dataGridView.Columns[detailedAssessmentResultIndex].ReadOnly);
+ Assert.IsTrue(dataGridView.Columns[detailedAssessmentProbabilityIndex].ReadOnly);
+ Assert.IsFalse(dataGridView.Columns[tailorMadeAssessmentResultIndex].ReadOnly);
+ Assert.IsFalse(dataGridView.Columns[tailorMadeAssessmentProbabilityIndex].ReadOnly);
+ Assert.IsTrue(dataGridView.Columns[simpleAssemblyCategoryGroupIndex].ReadOnly);
+ Assert.IsTrue(dataGridView.Columns[detailedAssemblyCategoryGroupIndex].ReadOnly);
+ Assert.IsTrue(dataGridView.Columns[tailorMadeAssemblyCategoryGroupIndex].ReadOnly);
+ Assert.IsTrue(dataGridView.Columns[combinedAssemblyCategoryGroupIndex].ReadOnly);
+ Assert.IsFalse(dataGridView.Columns[useManualAssemblyProbabilityIndex].ReadOnly);
+ Assert.IsFalse(dataGridView.Columns[manualAssemblyProbabilityIndex].ReadOnly);
+
Assert.AreEqual(DataGridViewAutoSizeColumnsMode.AllCells, dataGridView.AutoSizeColumnsMode);
Assert.AreEqual(DataGridViewContentAlignment.MiddleCenter, dataGridView.ColumnHeadersDefaultCellStyle.Alignment);
}
@@ -183,73 +195,6 @@
}
[Test]
- [TestCase("test")]
- [TestCase(";/[].,~!@#$%^&*()_-+={}|?")]
- public void FailureMechanismResultView_EditValueNotAProbability_ShowsErrorTooltip(string newValue)
- {
- // Setup
- using (CreateConfiguredFailureMechanismResultsView())
- {
- var dataGridView = (DataGridView) new ControlTester("dataGridView").TheObject;
-
- // Call
- dataGridView.Rows[0].Cells[tailorMadeAssessmentProbabilityIndex].Value = newValue;
-
- // Assert
- Assert.AreEqual("De waarde kon niet geïnterpreteerd worden als een kans.", dataGridView.Rows[0].ErrorText);
- }
- }
-
- [Test]
- [SetCulture("nl-NL")]
- [TestCase(1.01)]
- [TestCase(-0.01)]
- [TestCase(5)]
- [TestCase(-10)]
- public void FailureMechanismResultView_EditValueTailorMadeAssessmentProbabilityInvalid_ShowErrorToolTip(double newValue)
- {
- // Setup
- using (CreateConfiguredFailureMechanismResultsView())
- {
- var dataGridView = (DataGridView) new ControlTester("dataGridView").TheObject;
-
- // Call
- dataGridView.Rows[0].Cells[tailorMadeAssessmentProbabilityIndex].Value = newValue.ToString(CultureInfo.CurrentCulture);
-
- // Assert
- Assert.AreEqual("De waarde voor de faalkans moet in het bereik [0,0, 1,0] liggen.", dataGridView.Rows[0].ErrorText);
- }
- }
-
- [Test]
- [SetCulture("nl-NL")]
- [TestCase(1)]
- [TestCase(0)]
- [TestCase(0.5)]
- [TestCase(1e-6)]
- [TestCase(double.NaN)]
- public void FailureMechanismResultView_EditValueTailorMadeAssessmentValid_DoNotShowErrorToolTipAndEditValue(double newValue)
- {
- // Setup
- var result = new GrassCoverErosionInwardsFailureMechanismSectionResult(FailureMechanismSectionTestFactory.CreateFailureMechanismSection());
-
- using (ShowFailureMechanismResultsView(new ObservableList
- {
- result
- }))
- {
- var dataGridView = (DataGridView) new ControlTester("dataGridView").TheObject;
-
- // Call
- dataGridView.Rows[0].Cells[tailorMadeAssessmentProbabilityIndex].Value = newValue.ToString(CultureInfo.CurrentCulture);
-
- // Assert
- Assert.IsEmpty(dataGridView.Rows[0].ErrorText);
- Assert.AreEqual(newValue, result.TailorMadeAssessmentProbability);
- }
- }
-
- [Test]
[TestCase(SimpleAssessmentResultValidityOnlyType.None)]
[TestCase(SimpleAssessmentResultValidityOnlyType.Applicable)]
public void GivenSectionResultAndSuccessfulCalculation_WhenChangingCalculationToFailed_ThenDetailedAssessmentHasError(
Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Views/GrassCoverErosionOutwardsFailureMechanismResultView.cs
===================================================================
diff -u -r1c6c2405bf85bf76ffd242478df9a10d4ae3c966 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Views/GrassCoverErosionOutwardsFailureMechanismResultView.cs (.../GrassCoverErosionOutwardsFailureMechanismResultView.cs) (revision 1c6c2405bf85bf76ffd242478df9a10d4ae3c966)
+++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Views/GrassCoverErosionOutwardsFailureMechanismResultView.cs (.../GrassCoverErosionOutwardsFailureMechanismResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -109,7 +109,7 @@
if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex)
{
SimpleAssessmentResultType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}
Index: Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/Views/HeightStructuresFailureMechanismResultView.cs
===================================================================
diff -u -r5687a6d20fea15184c14c56ee680f92da7b64f56 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/Views/HeightStructuresFailureMechanismResultView.cs (.../HeightStructuresFailureMechanismResultView.cs) (revision 5687a6d20fea15184c14c56ee680f92da7b64f56)
+++ Ringtoets/HeightStructures/src/Ringtoets.HeightStructures.Forms/Views/HeightStructuresFailureMechanismResultView.cs (.../HeightStructuresFailureMechanismResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -145,7 +145,7 @@
if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex)
{
SimpleAssessmentResultType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRows/MacroStabilityOutwardsSectionResultRow.cs
===================================================================
diff -u -r65af643884804fdcc1b9fa87db2a8a84e3618e56 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRows/MacroStabilityOutwardsSectionResultRow.cs (.../MacroStabilityOutwardsSectionResultRow.cs) (revision 65af643884804fdcc1b9fa87db2a8a84e3618e56)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultRows/MacroStabilityOutwardsSectionResultRow.cs (.../MacroStabilityOutwardsSectionResultRow.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -378,7 +378,7 @@
/// is a valid value, but unsupported.
private void UpdateColumnStateDefinitionStates()
{
- bool simpleAssessmentSufficient = GetSimpleAssessmentSufficient();
+ bool simpleAssessmentSufficient = FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(SimpleAssessmentResult);
SetColumnState(simpleAssessmentResultIndex, UseManualAssemblyCategoryGroup);
SetColumnState(detailedAssessmentResultIndex, simpleAssessmentSufficient || UseManualAssemblyCategoryGroup);
@@ -475,11 +475,6 @@
ColumnStateDefinitions[index].Style = CellStyle.Disabled;
}
- private bool GetSimpleAssessmentSufficient()
- {
- return FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(SimpleAssessmentResult);
- }
-
private bool GetDetailedAssessmentResultIsNotProbability()
{
return DetailedAssessmentResult != DetailedAssessmentResultType.Probability;
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/GrassCoverSlipOffInwardsResultView.cs
===================================================================
diff -u -r1c6c2405bf85bf76ffd242478df9a10d4ae3c966 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/GrassCoverSlipOffInwardsResultView.cs (.../GrassCoverSlipOffInwardsResultView.cs) (revision 1c6c2405bf85bf76ffd242478df9a10d4ae3c966)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/GrassCoverSlipOffInwardsResultView.cs (.../GrassCoverSlipOffInwardsResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -111,7 +111,7 @@
if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex)
{
SimpleAssessmentResultType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/GrassCoverSlipOffOutwardsResultView.cs
===================================================================
diff -u -r1c6c2405bf85bf76ffd242478df9a10d4ae3c966 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/GrassCoverSlipOffOutwardsResultView.cs (.../GrassCoverSlipOffOutwardsResultView.cs) (revision 1c6c2405bf85bf76ffd242478df9a10d4ae3c966)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/GrassCoverSlipOffOutwardsResultView.cs (.../GrassCoverSlipOffOutwardsResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -111,7 +111,7 @@
if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex)
{
SimpleAssessmentResultType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/MicrostabilityResultView.cs
===================================================================
diff -u -r1c6c2405bf85bf76ffd242478df9a10d4ae3c966 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/MicrostabilityResultView.cs (.../MicrostabilityResultView.cs) (revision 1c6c2405bf85bf76ffd242478df9a10d4ae3c966)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/MicrostabilityResultView.cs (.../MicrostabilityResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -110,7 +110,7 @@
if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex)
{
SimpleAssessmentResultType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/PipingStructureResultView.cs
===================================================================
diff -u -r1c6c2405bf85bf76ffd242478df9a10d4ae3c966 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/PipingStructureResultView.cs (.../PipingStructureResultView.cs) (revision 1c6c2405bf85bf76ffd242478df9a10d4ae3c966)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/PipingStructureResultView.cs (.../PipingStructureResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -110,7 +110,7 @@
if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex)
{
SimpleAssessmentResultType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/StrengthStabilityLengthwiseConstructionResultView.cs
===================================================================
diff -u -r1c6c2405bf85bf76ffd242478df9a10d4ae3c966 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/StrengthStabilityLengthwiseConstructionResultView.cs (.../StrengthStabilityLengthwiseConstructionResultView.cs) (revision 1c6c2405bf85bf76ffd242478df9a10d4ae3c966)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/StrengthStabilityLengthwiseConstructionResultView.cs (.../StrengthStabilityLengthwiseConstructionResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -98,7 +98,7 @@
if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex)
{
SimpleAssessmentResultType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/TechnicalInnovationResultView.cs
===================================================================
diff -u -r1c6c2405bf85bf76ffd242478df9a10d4ae3c966 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/TechnicalInnovationResultView.cs (.../TechnicalInnovationResultView.cs) (revision 1c6c2405bf85bf76ffd242478df9a10d4ae3c966)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/TechnicalInnovationResultView.cs (.../TechnicalInnovationResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -97,7 +97,7 @@
if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex)
{
SimpleAssessmentResultType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}
Index: Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/WaterPressureAsphaltCoverResultView.cs
===================================================================
diff -u -r1c6c2405bf85bf76ffd242478df9a10d4ae3c966 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/WaterPressureAsphaltCoverResultView.cs (.../WaterPressureAsphaltCoverResultView.cs) (revision 1c6c2405bf85bf76ffd242478df9a10d4ae3c966)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Forms/Views/SectionResultViews/WaterPressureAsphaltCoverResultView.cs (.../WaterPressureAsphaltCoverResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -98,7 +98,7 @@
if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex)
{
SimpleAssessmentResultType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Views/MacroStabilityInwardsFailureMechanismResultView.cs
===================================================================
diff -u -r1c6c2405bf85bf76ffd242478df9a10d4ae3c966 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Views/MacroStabilityInwardsFailureMechanismResultView.cs (.../MacroStabilityInwardsFailureMechanismResultView.cs) (revision 1c6c2405bf85bf76ffd242478df9a10d4ae3c966)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.Forms/Views/MacroStabilityInwardsFailureMechanismResultView.cs (.../MacroStabilityInwardsFailureMechanismResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -158,7 +158,7 @@
if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex)
{
SimpleAssessmentResultType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}
Index: Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingFailureMechanismResultView.cs
===================================================================
diff -u -r1c6c2405bf85bf76ffd242478df9a10d4ae3c966 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingFailureMechanismResultView.cs (.../PipingFailureMechanismResultView.cs) (revision 1c6c2405bf85bf76ffd242478df9a10d4ae3c966)
+++ Ringtoets/Piping/src/Ringtoets.Piping.Forms/Views/PipingFailureMechanismResultView.cs (.../PipingFailureMechanismResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -155,7 +155,7 @@
if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex)
{
SimpleAssessmentResultType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}
Index: Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Forms/Views/StabilityPointStructuresFailureMechanismResultView.cs
===================================================================
diff -u -r1c6c2405bf85bf76ffd242478df9a10d4ae3c966 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Forms/Views/StabilityPointStructuresFailureMechanismResultView.cs (.../StabilityPointStructuresFailureMechanismResultView.cs) (revision 1c6c2405bf85bf76ffd242478df9a10d4ae3c966)
+++ Ringtoets/StabilityPointStructures/src/Ringtoets.StabilityPointStructures.Forms/Views/StabilityPointStructuresFailureMechanismResultView.cs (.../StabilityPointStructuresFailureMechanismResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -148,7 +148,7 @@
if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex)
{
SimpleAssessmentResultValidityOnlyType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}
Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/Views/StabilityStoneCoverResultView.cs
===================================================================
diff -u -r1c6c2405bf85bf76ffd242478df9a10d4ae3c966 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/Views/StabilityStoneCoverResultView.cs (.../StabilityStoneCoverResultView.cs) (revision 1c6c2405bf85bf76ffd242478df9a10d4ae3c966)
+++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/Views/StabilityStoneCoverResultView.cs (.../StabilityStoneCoverResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -108,7 +108,7 @@
if (eventArgs.ColumnIndex > 1)
{
SimpleAssessmentResultValidityOnlyType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}
Index: Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Forms/Views/WaveImpactAsphaltCoverFailureMechanismResultView.cs
===================================================================
diff -u -r1c6c2405bf85bf76ffd242478df9a10d4ae3c966 -r5785cc13c0454eaabed7ede4dad8e885db7efd50
--- Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Forms/Views/WaveImpactAsphaltCoverFailureMechanismResultView.cs (.../WaveImpactAsphaltCoverFailureMechanismResultView.cs) (revision 1c6c2405bf85bf76ffd242478df9a10d4ae3c966)
+++ Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Forms/Views/WaveImpactAsphaltCoverFailureMechanismResultView.cs (.../WaveImpactAsphaltCoverFailureMechanismResultView.cs) (revision 5785cc13c0454eaabed7ede4dad8e885db7efd50)
@@ -109,7 +109,7 @@
if (eventArgs.ColumnIndex > SimpleAssessmentColumnIndex)
{
SimpleAssessmentResultType simpleAssessmentResult = GetDataAtRow(eventArgs.RowIndex).SimpleAssessmentResult;
- if (FailureMechanismResultViewHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
+ if (FailureMechanismSectionResultRowHelper.SimpleAssessmentIsSufficient(simpleAssessmentResult))
{
DataGridViewControl.DisableCell(eventArgs.RowIndex, eventArgs.ColumnIndex);
}