Index: Ringtoets/Common/src/Ringtoets.Common.Data/Properties/Resources.Designer.cs =================================================================== diff -u -rd1c832128168938c7cb5ed4b1ac54382e0fc96fe -rf3b13cad3bbf455b19eee8eafe349a55a5cefdaa --- Ringtoets/Common/src/Ringtoets.Common.Data/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision d1c832128168938c7cb5ed4b1ac54382e0fc96fe) +++ Ringtoets/Common/src/Ringtoets.Common.Data/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision f3b13cad3bbf455b19eee8eafe349a55a5cefdaa) @@ -22,7 +22,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.17929 +// Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -218,6 +218,15 @@ } /// + /// Looks up a localized string similar to Hydraulische randvoorwaarden. + /// + public static string FailureMechanism_HydraulicBoundariesCalculationGroup_DisplayName { + get { + return ResourceManager.GetString("FailureMechanism_HydraulicBoundariesCalculationGroup_DisplayName", resourceCulture); + } + } + + /// /// Looks up a localized string similar to De naam van het toetsspoor.. /// public static string FailureMechanism_Name_Description { Index: Ringtoets/Common/src/Ringtoets.Common.Data/Properties/Resources.resx =================================================================== diff -u -rd1c832128168938c7cb5ed4b1ac54382e0fc96fe -rf3b13cad3bbf455b19eee8eafe349a55a5cefdaa --- Ringtoets/Common/src/Ringtoets.Common.Data/Properties/Resources.resx (.../Resources.resx) (revision d1c832128168938c7cb5ed4b1ac54382e0fc96fe) +++ Ringtoets/Common/src/Ringtoets.Common.Data/Properties/Resources.resx (.../Resources.resx) (revision f3b13cad3bbf455b19eee8eafe349a55a5cefdaa) @@ -213,4 +213,7 @@ De verschuiving mag niet groter zijn dan de verwachtingswaarde. + + Hydraulische randvoorwaarden + \ No newline at end of file Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.Designer.cs =================================================================== diff -u -r96c96a5f55735cb1d019a5fd8677200e2079284d -rf3b13cad3bbf455b19eee8eafe349a55a5cefdaa --- Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision 96c96a5f55735cb1d019a5fd8677200e2079284d) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.Designer.cs (.../Resources.Designer.cs) (revision f3b13cad3bbf455b19eee8eafe349a55a5cefdaa) @@ -22,7 +22,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.42000 +// Runtime Version:4.0.30319.18444 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -302,6 +302,15 @@ } /// + /// Looks up a localized string similar to Genereer &berekeningen.... + /// + public static string CalculationsGroup_Generate_calculations { + get { + return ResourceManager.GetString("CalculationsGroup_Generate_calculations", resourceCulture); + } + } + + /// /// Looks up a localized string similar to Resultaat. /// public static string Categories_Result { Index: Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.resx =================================================================== diff -u -r5bdb5ecc12d8c8e7ef49b63f0a40dfbdd2532d54 -rf3b13cad3bbf455b19eee8eafe349a55a5cefdaa --- Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.resx (.../Resources.resx) (revision 5bdb5ecc12d8c8e7ef49b63f0a40dfbdd2532d54) +++ Ringtoets/Common/src/Ringtoets.Common.Forms/Properties/Resources.resx (.../Resources.resx) (revision f3b13cad3bbf455b19eee8eafe349a55a5cefdaa) @@ -439,4 +439,7 @@ Verwijder alle berekeningen en mappen binnen deze Berekeningen map. + + Genereer &berekeningen... + \ No newline at end of file Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/StabilityStoneCoverFailureMechanism.cs =================================================================== diff -u -r1ff2f27e84cbd5da25a9da66d478467a773cb573 -rf3b13cad3bbf455b19eee8eafe349a55a5cefdaa --- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/StabilityStoneCoverFailureMechanism.cs (.../StabilityStoneCoverFailureMechanism.cs) (revision 1ff2f27e84cbd5da25a9da66d478467a773cb573) +++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Data/StabilityStoneCoverFailureMechanism.cs (.../StabilityStoneCoverFailureMechanism.cs) (revision f3b13cad3bbf455b19eee8eafe349a55a5cefdaa) @@ -23,6 +23,7 @@ using Ringtoets.Common.Data.Calculation; using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.StabilityStoneCover.Data.Properties; +using RingtoetsCommonDataResources = Ringtoets.Common.Data.Properties.Resources; namespace Ringtoets.StabilityStoneCover.Data { @@ -41,6 +42,7 @@ : base(Resources.StabilityStoneCoverFailureMechanism_DisplayName, Resources.StabilityStoneCoverFailureMechanism_Code) { sectionResults = new List(); + HydraulicBoundariesCalculationGroup = new CalculationGroup(RingtoetsCommonDataResources.FailureMechanism_HydraulicBoundariesCalculationGroup_DisplayName, false); } public override IEnumerable Calculations @@ -51,6 +53,11 @@ } } + /// + /// Gets the container of all hydraulic boundary calculations. + /// + public CalculationGroup HydraulicBoundariesCalculationGroup { get; private set; } + public IEnumerable SectionResults { get Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/PresentationObjects/StabilityStoneCoverHydraulicBoundariesCalculationGroupContext.cs =================================================================== diff -u --- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/PresentationObjects/StabilityStoneCoverHydraulicBoundariesCalculationGroupContext.cs (revision 0) +++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/PresentationObjects/StabilityStoneCoverHydraulicBoundariesCalculationGroupContext.cs (revision f3b13cad3bbf455b19eee8eafe349a55a5cefdaa) @@ -0,0 +1,56 @@ +// Copyright (C) Stichting Deltares 2016. 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; +using Core.Common.Controls.PresentationObjects; +using Ringtoets.Common.Data.Calculation; +using Ringtoets.Common.Forms.PresentationObjects; +using Ringtoets.StabilityStoneCover.Data; + +namespace Ringtoets.StabilityStoneCover.Forms.PresentationObjects +{ + /// + /// Presentation object for . + /// + public class StabilityStoneCoverHydraulicBoundariesCalculationGroupContext : ObservableWrappedObjectContextBase, + ICalculationContext + { + /// + /// Initializes a new instance of the class. + /// + /// The wrapped . + /// The parent of . + /// Thrown when any input argument is null. + public StabilityStoneCoverHydraulicBoundariesCalculationGroupContext(CalculationGroup calculationGroup, + StabilityStoneCoverFailureMechanism failureMechanism) : + base(calculationGroup) + { + if (failureMechanism == null) + { + throw new ArgumentNullException("failureMechanism"); + } + + FailureMechanism = failureMechanism; + } + + public StabilityStoneCoverFailureMechanism FailureMechanism { get; private set; } + } +} \ No newline at end of file Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/Ringtoets.StabilityStoneCover.Forms.csproj =================================================================== diff -u -r2177c6d6b789144bf2a7fb4b492d8d3e23e134a7 -rf3b13cad3bbf455b19eee8eafe349a55a5cefdaa --- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/Ringtoets.StabilityStoneCover.Forms.csproj (.../Ringtoets.StabilityStoneCover.Forms.csproj) (revision 2177c6d6b789144bf2a7fb4b492d8d3e23e134a7) +++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Forms/Ringtoets.StabilityStoneCover.Forms.csproj (.../Ringtoets.StabilityStoneCover.Forms.csproj) (revision f3b13cad3bbf455b19eee8eafe349a55a5cefdaa) @@ -41,6 +41,7 @@ Properties\GlobalAssembly.cs + Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Plugin/Properties/Resources.Designer.cs =================================================================== diff -u --- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Plugin/Properties/Resources.Designer.cs (revision 0) +++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Plugin/Properties/Resources.Designer.cs (revision f3b13cad3bbf455b19eee8eafe349a55a5cefdaa) @@ -0,0 +1,94 @@ +// Copyright (C) Stichting Deltares 2016. 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. + +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.18444 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace Ringtoets.StabilityStoneCover.Plugin.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Ringtoets.StabilityStoneCover.Plugin.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized string similar to Genereer randvoorwaarde berekeningen.. + /// + internal static string StabilityStoneCoverPlugin_CreateGenerateHydraulicBoundaryCalculationsItem_ToolTip { + get { + return ResourceManager.GetString("StabilityStoneCoverPlugin_CreateGenerateHydraulicBoundaryCalculationsItem_ToolTip" + + "", resourceCulture); + } + } + } +} Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Plugin/Properties/Resources.resx =================================================================== diff -u --- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Plugin/Properties/Resources.resx (revision 0) +++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Plugin/Properties/Resources.resx (revision f3b13cad3bbf455b19eee8eafe349a55a5cefdaa) @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 1.3 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + Genereer randvoorwaarde berekeningen. + + \ No newline at end of file Index: Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Plugin/Ringtoets.StabilityStoneCover.Plugin.csproj =================================================================== diff -u -r1ff2f27e84cbd5da25a9da66d478467a773cb573 -rf3b13cad3bbf455b19eee8eafe349a55a5cefdaa --- Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Plugin/Ringtoets.StabilityStoneCover.Plugin.csproj (.../Ringtoets.StabilityStoneCover.Plugin.csproj) (revision 1ff2f27e84cbd5da25a9da66d478467a773cb573) +++ Ringtoets/StabilityStoneCover/src/Ringtoets.StabilityStoneCover.Plugin/Ringtoets.StabilityStoneCover.Plugin.csproj (.../Ringtoets.StabilityStoneCover.Plugin.csproj) (revision f3b13cad3bbf455b19eee8eafe349a55a5cefdaa) @@ -42,6 +42,11 @@ Properties\GlobalAssembly.cs + + True + True + Resources.resx + @@ -101,6 +106,12 @@ False + + + ResXFileCodeGenerator + Resources.Designer.cs + +