Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Factories/RingtoetsMapDataFeaturesFactory.cs =================================================================== diff -u -rf1f94637a6b45b394493bf16a078b317c02d329b -rd99f9c6b8fcf5bf289607f71958bcff47ebf9475 --- Ringtoets/Common/src/Ringtoets.Common.Forms/Factories/RingtoetsMapDataFeaturesFactory.cs (.../RingtoetsMapDataFeaturesFactory.cs) (revision f1f94637a6b45b394493bf16a078b317c02d329b) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Factories/RingtoetsMapDataFeaturesFactory.cs (.../RingtoetsMapDataFeaturesFactory.cs) (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -105,7 +105,7 @@ public static MapFeature[] CreateHydraulicBoundaryDatabaseFeatures(HydraulicBoundaryDatabase hydraulicBoundaryDatabase) { return CreateHydraulicBoundaryLocationFeatures(hydraulicBoundaryDatabase?.Locations.ToArray() ?? new HydraulicBoundaryLocation[0], - Resources.MetaData_DesignWaterLevel, + Resources.DesignWaterLevel_DisplayName, Resources.MetaData_WaveHeight); } Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.Designer.cs =================================================================== diff -u -r05dbdd1382bbe32c4c1519918c0aaecb29f5423a -rd99f9c6b8fcf5bf289607f71958bcff47ebf9475 --- Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 05dbdd1382bbe32c4c1519918c0aaecb29f5423a) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -774,6 +774,15 @@ } /// + /// Looks up a localized string similar to Toetspeil. + /// + public static string DesignWaterLevel_DisplayName { + get { + return ResourceManager.GetString("DesignWaterLevel_DisplayName", resourceCulture); + } + } + + /// /// Looks up a localized string similar to Dijkhoogte [m+NAP]. /// public static string DikeHeight_DisplayName { @@ -1548,15 +1557,6 @@ } /// - /// Looks up a localized string similar to Toetspeil. - /// - public static string MetaData_DesignWaterLevel { - get { - return ResourceManager.GetString("MetaData_DesignWaterLevel", resourceCulture); - } - } - - /// /// Looks up a localized string similar to ID. /// public static string MetaData_ID { Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.resx =================================================================== diff -u -r05dbdd1382bbe32c4c1519918c0aaecb29f5423a -rd99f9c6b8fcf5bf289607f71958bcff47ebf9475 --- Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.resx (.../Resources.resx) (revision 05dbdd1382bbe32c4c1519918c0aaecb29f5423a) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.resx (.../Resources.resx) (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -826,7 +826,7 @@ Er moet minimaal één maatgevende berekening voor dit vak worden geselecteerd. - + Toetspeil Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Factories/GrassCoverErosionOutwardsMapDataFeaturesFactory.cs =================================================================== diff -u -rf1f94637a6b45b394493bf16a078b317c02d329b -rd99f9c6b8fcf5bf289607f71958bcff47ebf9475 --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Factories/GrassCoverErosionOutwardsMapDataFeaturesFactory.cs (.../GrassCoverErosionOutwardsMapDataFeaturesFactory.cs) (revision f1f94637a6b45b394493bf16a078b317c02d329b) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Factories/GrassCoverErosionOutwardsMapDataFeaturesFactory.cs (.../GrassCoverErosionOutwardsMapDataFeaturesFactory.cs) (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -75,7 +75,7 @@ public static MapFeature[] CreateHydraulicBoundaryLocationFeatures(HydraulicBoundaryLocation[] hydraulicBoundaryLocations) { return RingtoetsMapDataFeaturesFactory.CreateHydraulicBoundaryLocationFeatures(hydraulicBoundaryLocations ?? new HydraulicBoundaryLocation[0], - Resources.MetaData_DesignWaterLevel, + Resources.DesignWaterLevel_DisplayName, Resources.MetaData_WaveHeight); } } Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Properties/Resources.Designer.cs =================================================================== diff -u -rfcd32c8e949b4581cc20adcaa7cf7639fcb69d20 -rd99f9c6b8fcf5bf289607f71958bcff47ebf9475 --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision fcd32c8e949b4581cc20adcaa7cf7639fcb69d20) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -82,6 +82,15 @@ } /// + /// Looks up a localized string similar to Waterstand bij doorsnede-eis. + /// + public static string DesignWaterLevel_DisplayName { + get { + return ResourceManager.GetString("DesignWaterLevel_DisplayName", resourceCulture); + } + } + + /// /// Looks up a localized string similar to Alle golfhoogtes bij doorsnede-eis berekenen.. /// public static string GrassCoverErosionOutwards_WaveHeight_Calculate_All_ToolTip { @@ -272,15 +281,6 @@ } /// - /// Looks up a localized string similar to Waterstand bij doorsnede-eis. - /// - public static string MetaData_DesignWaterLevel { - get { - return ResourceManager.GetString("MetaData_DesignWaterLevel", resourceCulture); - } - } - - /// /// Looks up a localized string similar to Golfhoogte bij doorsnede-eis. /// public static string MetaData_WaveHeight { Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Properties/Resources.resx =================================================================== diff -u -r2fbb7b54b29f25f69c4c53cdb40f3704dccf5620 -rd99f9c6b8fcf5bf289607f71958bcff47ebf9475 --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Properties/Resources.resx (.../Resources.resx) (revision 2fbb7b54b29f25f69c4c53cdb40f3704dccf5620) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Properties/Resources.resx (.../Resources.resx) (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -174,7 +174,7 @@ Gras - + Waterstand bij doorsnede-eis Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Ringtoets.GrassCoverErosionOutwards.Forms.csproj =================================================================== diff -u -rf1f94637a6b45b394493bf16a078b317c02d329b -rd99f9c6b8fcf5bf289607f71958bcff47ebf9475 --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Ringtoets.GrassCoverErosionOutwards.Forms.csproj (.../Ringtoets.GrassCoverErosionOutwards.Forms.csproj) (revision f1f94637a6b45b394493bf16a078b317c02d329b) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Ringtoets.GrassCoverErosionOutwards.Forms.csproj (.../Ringtoets.GrassCoverErosionOutwards.Forms.csproj) (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -82,6 +82,7 @@ UserControl + UserControl Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Views/GrassCoverErosionOutwardsWaveConditionsInputViewStyle.cs =================================================================== diff -u --- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Views/GrassCoverErosionOutwardsWaveConditionsInputViewStyle.cs (revision 0) +++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Forms/Views/GrassCoverErosionOutwardsWaveConditionsInputViewStyle.cs (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -0,0 +1,50 @@ +// Copyright (C) Stichting Deltares 2017. All rights reserved. +// +// This file is part of Ringtoets. +// +// Ringtoets is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using System.Drawing; +using Ringtoets.GrassCoverErosionOutwards.Forms.Properties; +using Ringtoets.Revetment.Forms.Views; + +namespace Ringtoets.GrassCoverErosionOutwards.Forms.Views +{ + /// + /// Class that defines the grass cover erosion outwards style that is used in the . + /// + public class GrassCoverErosionOutwardsWaveConditionsInputViewStyle : IWaveConditionsInputViewStyle + + { + public Color RevetmentLineColor + { + get + { + return Color.Green; + } + } + + public string DesignWaterLevelName + { + get + { + return Resources.DesignWaterLevel_DisplayName; + } + } + } +} \ No newline at end of file Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Ringtoets.GrassCoverErosionOutwards.Forms.Test.csproj =================================================================== diff -u -rf1f94637a6b45b394493bf16a078b317c02d329b -rd99f9c6b8fcf5bf289607f71958bcff47ebf9475 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Ringtoets.GrassCoverErosionOutwards.Forms.Test.csproj (.../Ringtoets.GrassCoverErosionOutwards.Forms.Test.csproj) (revision f1f94637a6b45b394493bf16a078b317c02d329b) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Ringtoets.GrassCoverErosionOutwards.Forms.Test.csproj (.../Ringtoets.GrassCoverErosionOutwards.Forms.Test.csproj) (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -51,6 +51,7 @@ + @@ -83,6 +84,7 @@ + Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsWaveConditionsInputViewStyleTest.cs =================================================================== diff -u --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsWaveConditionsInputViewStyleTest.cs (revision 0) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/Views/GrassCoverErosionOutwardsWaveConditionsInputViewStyleTest.cs (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -0,0 +1,44 @@ +// Copyright (C) Stichting Deltares 2017. All rights reserved. +// +// This file is part of Ringtoets. +// +// Ringtoets is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using System.Drawing; +using NUnit.Framework; +using Ringtoets.GrassCoverErosionOutwards.Forms.Views; +using Ringtoets.Revetment.Forms.Views; + +namespace Ringtoets.GrassCoverErosionOutwards.Forms.Test.Views +{ + [TestFixture] + public class GrassCoverErosionOutwardsWaveConditionsInputViewStyleTest + { + [Test] + public void Constructor_ExpectedValues() + { + // Call + var style = new GrassCoverErosionOutwardsWaveConditionsInputViewStyle(); + + // Assert + Assert.IsInstanceOf(style); + Assert.AreEqual(Color.Green, style.RevetmentLineColor); + Assert.AreEqual("Waterstand bij doorsnede-eis", style.DesignWaterLevelName); + } + } +} \ No newline at end of file Index: Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/Ringtoets.Revetment.Forms.csproj =================================================================== diff -u -rf1f94637a6b45b394493bf16a078b317c02d329b -rd99f9c6b8fcf5bf289607f71958bcff47ebf9475 --- Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/Ringtoets.Revetment.Forms.csproj (.../Ringtoets.Revetment.Forms.csproj) (revision f1f94637a6b45b394493bf16a078b317c02d329b) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/Ringtoets.Revetment.Forms.csproj (.../Ringtoets.Revetment.Forms.csproj) (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -42,6 +42,7 @@ Properties\GlobalAssembly.cs + Index: Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/Views/IWaveConditionsInputViewStyle.cs =================================================================== diff -u --- Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/Views/IWaveConditionsInputViewStyle.cs (revision 0) +++ Ringtoets/Revetment/src/Ringtoets.Revetment.Forms/Views/IWaveConditionsInputViewStyle.cs (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -0,0 +1,41 @@ +// Copyright (C) Stichting Deltares 2017. All rights reserved. +// +// This file is part of Ringtoets. +// +// Ringtoets is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using System.Drawing; + +namespace Ringtoets.Revetment.Forms.Views +{ + /// + /// Interface that defines the style that is used in the . + /// + public interface IWaveConditionsInputViewStyle + { + /// + /// Gets the color of the revetment chart line. + /// + Color RevetmentLineColor { get; } + + /// + /// Gets the name of the design water level chart line. + /// + string DesignWaterLevelName { get; } + } +} \ No newline at end of file Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/Ringtoets.StabilityStoneCover.Forms.csproj =================================================================== diff -u -rf1f94637a6b45b394493bf16a078b317c02d329b -rd99f9c6b8fcf5bf289607f71958bcff47ebf9475 --- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/Ringtoets.StabilityStoneCover.Forms.csproj (.../Ringtoets.StabilityStoneCover.Forms.csproj) (revision f1f94637a6b45b394493bf16a078b317c02d329b) +++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/Ringtoets.StabilityStoneCover.Forms.csproj (.../Ringtoets.StabilityStoneCover.Forms.csproj) (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -68,6 +68,7 @@ UserControl + Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/Views/StabilityStoneCoverWaveConditionsInputViewStyle.cs =================================================================== diff -u --- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/Views/StabilityStoneCoverWaveConditionsInputViewStyle.cs (revision 0) +++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/Views/StabilityStoneCoverWaveConditionsInputViewStyle.cs (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -0,0 +1,49 @@ +// Copyright (C) Stichting Deltares 2017. All rights reserved. +// +// This file is part of Ringtoets. +// +// Ringtoets is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using System.Drawing; +using Ringtoets.Revetment.Forms.Views; +using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources; + +namespace Ringtoets.StabilityStoneCover.Forms.Views +{ + /// + /// Class that defines the stability stone cover style that is used in the . + /// + public class StabilityStoneCoverWaveConditionsInputViewStyle : IWaveConditionsInputViewStyle + { + public Color RevetmentLineColor + { + get + { + return Color.Gray; + } + } + + public string DesignWaterLevelName + { + get + { + return RingtoetsCommonFormsResources.DesignWaterLevel_DisplayName; + } + } + } +} \ No newline at end of file Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/Ringtoets.StabilityStoneCover.Forms.Test.csproj =================================================================== diff -u -rf1f94637a6b45b394493bf16a078b317c02d329b -rd99f9c6b8fcf5bf289607f71958bcff47ebf9475 --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/Ringtoets.StabilityStoneCover.Forms.Test.csproj (.../Ringtoets.StabilityStoneCover.Forms.Test.csproj) (revision f1f94637a6b45b394493bf16a078b317c02d329b) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/Ringtoets.StabilityStoneCover.Forms.Test.csproj (.../Ringtoets.StabilityStoneCover.Forms.Test.csproj) (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -55,6 +55,7 @@ False + False @@ -77,6 +78,7 @@ + Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/Views/StabilityStoneCoverWaveConditionsInputViewStyleTest.cs =================================================================== diff -u --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/Views/StabilityStoneCoverWaveConditionsInputViewStyleTest.cs (revision 0) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/Views/StabilityStoneCoverWaveConditionsInputViewStyleTest.cs (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -0,0 +1,44 @@ +// Copyright (C) Stichting Deltares 2017. All rights reserved. +// +// This file is part of Ringtoets. +// +// Ringtoets is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using System.Drawing; +using NUnit.Framework; +using Ringtoets.Revetment.Forms.Views; +using Ringtoets.StabilityStoneCover.Forms.Views; + +namespace Ringtoets.StabilityStoneCover.Forms.Test.Views +{ + [TestFixture] + public class StabilityStoneCoverWaveConditionsInputViewStyleTest + { + [Test] + public void Constructor_ExpectedValues() + { + // Call + var style = new StabilityStoneCoverWaveConditionsInputViewStyle(); + + // Assert + Assert.IsInstanceOf(style); + Assert.AreEqual(Color.Gray, style.RevetmentLineColor); + Assert.AreEqual("Toetspeil", style.DesignWaterLevelName); + } + } +} \ No newline at end of file Index: Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Forms/Ringtoets.WaveImpactAsphaltCover.Forms.csproj =================================================================== diff -u -rf1f94637a6b45b394493bf16a078b317c02d329b -rd99f9c6b8fcf5bf289607f71958bcff47ebf9475 --- Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Forms/Ringtoets.WaveImpactAsphaltCover.Forms.csproj (.../Ringtoets.WaveImpactAsphaltCover.Forms.csproj) (revision f1f94637a6b45b394493bf16a078b317c02d329b) +++ Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Forms/Ringtoets.WaveImpactAsphaltCover.Forms.csproj (.../Ringtoets.WaveImpactAsphaltCover.Forms.csproj) (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -67,6 +67,7 @@ + Index: Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Forms/Views/WaveImpactAsphaltCoverWaveConditionsInputViewStyle.cs =================================================================== diff -u --- Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Forms/Views/WaveImpactAsphaltCoverWaveConditionsInputViewStyle.cs (revision 0) +++ Ringtoets/WaveImpactAsphaltCover/src/Ringtoets.WaveImpactAsphaltCover.Forms/Views/WaveImpactAsphaltCoverWaveConditionsInputViewStyle.cs (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -0,0 +1,49 @@ +// Copyright (C) Stichting Deltares 2017. All rights reserved. +// +// This file is part of Ringtoets. +// +// Ringtoets is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using System.Drawing; +using Ringtoets.Revetment.Forms.Views; +using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources; + +namespace Ringtoets.WaveImpactAsphaltCover.Forms.Views +{ + /// + /// Class that defines the wave impact asphalt cover style that is used in the . + /// + public class WaveImpactAsphaltCoverWaveConditionsInputViewStyle : IWaveConditionsInputViewStyle + { + public Color RevetmentLineColor + { + get + { + return Color.Gray; + } + } + + public string DesignWaterLevelName + { + get + { + return RingtoetsCommonFormsResources.DesignWaterLevel_DisplayName; + } + } + } +} \ No newline at end of file Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/Ringtoets.WaveImpactAsphaltCover.Forms.Test.csproj =================================================================== diff -u -rf1f94637a6b45b394493bf16a078b317c02d329b -rd99f9c6b8fcf5bf289607f71958bcff47ebf9475 --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/Ringtoets.WaveImpactAsphaltCover.Forms.Test.csproj (.../Ringtoets.WaveImpactAsphaltCover.Forms.Test.csproj) (revision f1f94637a6b45b394493bf16a078b317c02d329b) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/Ringtoets.WaveImpactAsphaltCover.Forms.Test.csproj (.../Ringtoets.WaveImpactAsphaltCover.Forms.Test.csproj) (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -50,6 +50,7 @@ + @@ -69,6 +70,7 @@ + Index: Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/Views/WaveImpactAsphaltCoverWaveConditionsInputViewStyleTest.cs =================================================================== diff -u --- Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/Views/WaveImpactAsphaltCoverWaveConditionsInputViewStyleTest.cs (revision 0) +++ Ringtoets/WaveImpactAsphaltCover/test/Ringtoets.WaveImpactAsphaltCover.Forms.Test/Views/WaveImpactAsphaltCoverWaveConditionsInputViewStyleTest.cs (revision d99f9c6b8fcf5bf289607f71958bcff47ebf9475) @@ -0,0 +1,44 @@ +// Copyright (C) Stichting Deltares 2017. All rights reserved. +// +// This file is part of Ringtoets. +// +// Ringtoets is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . +// +// All names, logos, and references to "Deltares" are registered trademarks of +// Stichting Deltares and remain full property of Stichting Deltares at all times. +// All rights reserved. + +using System.Drawing; +using NUnit.Framework; +using Ringtoets.Revetment.Forms.Views; +using Ringtoets.WaveImpactAsphaltCover.Forms.Views; + +namespace Ringtoets.WaveImpactAsphaltCover.Forms.Test.Views +{ + [TestFixture] + public class WaveImpactAsphaltCoverWaveConditionsInputViewStyleTest + { + [Test] + public void Constructor_ExpectedValues() + { + // Call + var style = new WaveImpactAsphaltCoverWaveConditionsInputViewStyle(); + + // Assert + Assert.IsInstanceOf(style); + Assert.AreEqual(Color.Gray, style.RevetmentLineColor); + Assert.AreEqual("Toetspeil", style.DesignWaterLevelName); + } + } +} \ No newline at end of file