Index: Core/Common/src/Core.Common.Gui/Plugin/PluginBase.cs
===================================================================
diff -u -rf05844909ef96f5e6ea721563a33d32e042ef5ce -r1a49563c568eaef8b84743fec1f04ee119bf5c9c
--- Core/Common/src/Core.Common.Gui/Plugin/PluginBase.cs (.../PluginBase.cs) (revision f05844909ef96f5e6ea721563a33d32e042ef5ce)
+++ Core/Common/src/Core.Common.Gui/Plugin/PluginBase.cs (.../PluginBase.cs) (revision 1a49563c568eaef8b84743fec1f04ee119bf5c9c)
@@ -28,7 +28,7 @@
namespace Core.Common.Gui.Plugin
{
///
- /// Template class for a plugin definitions.
+ /// Template class for a plug-in definitions.
///
public abstract class PluginBase : IDisposable
{
@@ -38,7 +38,7 @@
public virtual IGui Gui { get; set; }
///
- /// Ribbon command handler (adding tabs, groups, buttons, etc.) which can be provided by the plugin.
+ /// Ribbon command handler (adding tabs, groups, buttons, etc.) which can be provided by the plug-in.
///
public virtual IRibbonCommandHandler RibbonCommandHandler
{
@@ -49,49 +49,49 @@
}
///
- /// Activates the plugin.
+ /// Activates the plug-in.
///
public virtual void Activate() {}
///
- /// Deactivates the plugin.
+ /// Deactivates the plug-in.
///
public virtual void Deactivate() {}
///
- /// Returns all instances provided by this plugin.
+ /// Returns all instances provided by this plug-in.
///
public virtual IEnumerable GetImportInfos()
{
yield break;
}
///
- /// Returns all instances provided by this plugin.
+ /// Returns all instances provided by this plug-in.
///
public virtual IEnumerable GetExportInfos()
{
yield break;
}
///
- /// Returns all instances by of this plugin.
+ /// Returns all instances by of this plug-in.
///
public virtual IEnumerable GetPropertyInfos()
{
return Enumerable.Empty();
}
///
- /// Returns all instances provided by this plugin.
+ /// Returns all instances provided by this plug-in.
///
public virtual IEnumerable GetViewInfos()
{
yield break;
}
///
- /// Returns all instances provided by this plugin.
+ /// Returns all instances provided by this plug-in.
///
public virtual IEnumerable GetTreeNodeInfos()
{
Index: Core/Plugins/src/Core.Plugins.CommonTools/CommonToolsPlugin.cs
===================================================================
diff -u -r2317b0fac1e6995eb9b20917a7be076f1cdc4b6c -r1a49563c568eaef8b84743fec1f04ee119bf5c9c
--- Core/Plugins/src/Core.Plugins.CommonTools/CommonToolsPlugin.cs (.../CommonToolsPlugin.cs) (revision 2317b0fac1e6995eb9b20917a7be076f1cdc4b6c)
+++ Core/Plugins/src/Core.Plugins.CommonTools/CommonToolsPlugin.cs (.../CommonToolsPlugin.cs) (revision 1a49563c568eaef8b84743fec1f04ee119bf5c9c)
@@ -27,7 +27,7 @@
namespace Core.Plugins.CommonTools
{
///
- /// This class configures general plugin components.
+ /// This class configures general plug-in components.
///
public class CommonToolsPlugin : PluginBase
{
Index: Core/Plugins/src/Core.Plugins.ProjectExplorer/ProjectExplorerPlugin.cs
===================================================================
diff -u -r1eed3e3f652618c52a462edc502cfd4250772314 -r1a49563c568eaef8b84743fec1f04ee119bf5c9c
--- Core/Plugins/src/Core.Plugins.ProjectExplorer/ProjectExplorerPlugin.cs (.../ProjectExplorerPlugin.cs) (revision 1eed3e3f652618c52a462edc502cfd4250772314)
+++ Core/Plugins/src/Core.Plugins.ProjectExplorer/ProjectExplorerPlugin.cs (.../ProjectExplorerPlugin.cs) (revision 1a49563c568eaef8b84743fec1f04ee119bf5c9c)
@@ -34,6 +34,9 @@
namespace Core.Plugins.ProjectExplorer
{
+ ///
+ /// The plug-in for the component.
+ ///
public class ProjectExplorerPlugin : PluginBase
{
private IViewController viewController;
Index: Demo/Ringtoets/src/Demo.Ringtoets/GUIs/DemoProjectPlugin.cs
===================================================================
diff -u -rae99d19be5c1bd59e6cc85669c96a3b9895e660d -r1a49563c568eaef8b84743fec1f04ee119bf5c9c
--- Demo/Ringtoets/src/Demo.Ringtoets/GUIs/DemoProjectPlugin.cs (.../DemoProjectPlugin.cs) (revision ae99d19be5c1bd59e6cc85669c96a3b9895e660d)
+++ Demo/Ringtoets/src/Demo.Ringtoets/GUIs/DemoProjectPlugin.cs (.../DemoProjectPlugin.cs) (revision 1a49563c568eaef8b84743fec1f04ee119bf5c9c)
@@ -32,7 +32,7 @@
namespace Demo.Ringtoets.GUIs
{
///
- /// UI plugin the provides access to the demo projects for Ringtoets.
+ /// UI plug-in that provides access to the demo projects for Ringtoets.
///
public class DemoProjectPlugin : PluginBase
{
Index: Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Plugin/ClosingStructuresPlugin.cs
===================================================================
diff -u -rac0f74af45101f8f5c081ed81f4a65c75a2f259e -r1a49563c568eaef8b84743fec1f04ee119bf5c9c
--- Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Plugin/ClosingStructuresPlugin.cs (.../ClosingStructuresPlugin.cs) (revision ac0f74af45101f8f5c081ed81f4a65c75a2f259e)
+++ Ringtoets/ClosingStructures/src/Ringtoets.ClosingStructures.Plugin/ClosingStructuresPlugin.cs (.../ClosingStructuresPlugin.cs) (revision 1a49563c568eaef8b84743fec1f04ee119bf5c9c)
@@ -207,14 +207,14 @@
private static void CalculateAll(ClosingStructuresFailureMechanism failureMechanism, IEnumerable calculations)
{
- //Add calculate logic, part of WTI-554
+ // Add calculate logic, part of WTI-554
}
#region TreeNodeInfo
#region ClosingStructuresFailureMechanismContext TreeNodeInfo
- private object[] FailureMechanismEnabledChildNodeObjects(ClosingStructuresFailureMechanismContext closingStructuresFailureMechanismContext)
+ private static object[] FailureMechanismEnabledChildNodeObjects(ClosingStructuresFailureMechanismContext closingStructuresFailureMechanismContext)
{
ClosingStructuresFailureMechanism wrappedData = closingStructuresFailureMechanismContext.WrappedData;
return new object[]
@@ -225,7 +225,7 @@
};
}
- private object[] FailureMechanismDisabledChildNodeObjects(ClosingStructuresFailureMechanismContext closingStructuresFailureMechanismContext)
+ private static object[] FailureMechanismDisabledChildNodeObjects(ClosingStructuresFailureMechanismContext closingStructuresFailureMechanismContext)
{
return new object[]
{
@@ -289,17 +289,17 @@
.Build();
}
- private void ValidateAll()
+ private static void ValidateAll()
{
- //Add validation service - currently a place holder
+ // Add validation service - currently a place holder
}
private static string ValidateAllDataAvailableAndGetErrorMessageForCalculationsInFailureMechanism(ClosingStructuresFailureMechanismContext context)
{
return ValidateAllDataAvailableAndGetErrorMessage(context.Parent, context.WrappedData);
}
- private void CalculateAll(ClosingStructuresFailureMechanismContext context)
+ private static void CalculateAll(ClosingStructuresFailureMechanismContext context)
{
CalculateAll(context.WrappedData, context.WrappedData.Calculations.OfType());
}
@@ -448,11 +448,11 @@
.Build();
}
- private void CalculateAction(ClosingStructuresCalculation closingStructuresCalculation, ClosingStructuresCalculationContext closingStructuresCalculationContext) {}
+ private static void CalculateAction(ClosingStructuresCalculation closingStructuresCalculation, ClosingStructuresCalculationContext closingStructuresCalculationContext) {}
- private void ValidateAction(ClosingStructuresCalculationContext closingStructuresCalculationContext) {}
+ private static void ValidateAction(ClosingStructuresCalculationContext closingStructuresCalculationContext) {}
- private string ValidateAllDataAvailableAndGetErrorMessageForCalculation(ClosingStructuresCalculationContext context)
+ private static string ValidateAllDataAvailableAndGetErrorMessageForCalculation(ClosingStructuresCalculationContext context)
{
return ValidateAllDataAvailableAndGetErrorMessage(context.AssessmentSection, context.FailureMechanism);
}
Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Plugin/GrassCoverErosionInwardsPlugin.cs
===================================================================
diff -u -rb6f4e414fc874653cc6ad84b80f330b28e69b823 -r1a49563c568eaef8b84743fec1f04ee119bf5c9c
--- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Plugin/GrassCoverErosionInwardsPlugin.cs (.../GrassCoverErosionInwardsPlugin.cs) (revision b6f4e414fc874653cc6ad84b80f330b28e69b823)
+++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Plugin/GrassCoverErosionInwardsPlugin.cs (.../GrassCoverErosionInwardsPlugin.cs) (revision 1a49563c568eaef8b84743fec1f04ee119bf5c9c)
@@ -258,7 +258,7 @@
#region GrassCoverErosionInwardsInputView ViewInfo
- private bool CloseInputViewForData(GrassCoverErosionInwardsInputView view, object o)
+ private static bool CloseInputViewForData(GrassCoverErosionInwardsInputView view, object o)
{
var calculationContext = o as GrassCoverErosionInwardsCalculationContext;
if (calculationContext != null)
@@ -302,7 +302,7 @@
#endregion
- private void ValidateAll(IEnumerable grassCoverErosionInwardsCalculations, IAssessmentSection assessmentSection)
+ private static void ValidateAll(IEnumerable grassCoverErosionInwardsCalculations, IAssessmentSection assessmentSection)
{
foreach (var calculation in grassCoverErosionInwardsCalculations)
{
@@ -312,7 +312,7 @@
#region GrassCoverErosionInwardsFailureMechanismContext TreeNodeInfo
- private object[] FailureMechanismEnabledChildNodeObjects(GrassCoverErosionInwardsFailureMechanismContext grassCoverErosionInwardsFailureMechanismContext)
+ private static object[] FailureMechanismEnabledChildNodeObjects(GrassCoverErosionInwardsFailureMechanismContext grassCoverErosionInwardsFailureMechanismContext)
{
GrassCoverErosionInwardsFailureMechanism wrappedData = grassCoverErosionInwardsFailureMechanismContext.WrappedData;
return new object[]
@@ -323,7 +323,7 @@
};
}
- private object[] FailureMechanismDisabledChildNodeObjects(GrassCoverErosionInwardsFailureMechanismContext grassCoverErosionInwardsFailureMechanismContext)
+ private static object[] FailureMechanismDisabledChildNodeObjects(GrassCoverErosionInwardsFailureMechanismContext grassCoverErosionInwardsFailureMechanismContext)
{
return new object[]
{
@@ -504,7 +504,7 @@
nodeData.NotifyObservers();
}
- private void GenerateCalculations(CalculationGroup target, GrassCoverErosionInwardsFailureMechanism failureMechanism, IEnumerable dikeProfiles)
+ private static void GenerateCalculations(CalculationGroup target, GrassCoverErosionInwardsFailureMechanism failureMechanism, IEnumerable dikeProfiles)
{
foreach (var profile in dikeProfiles)
{
@@ -618,7 +618,7 @@
context.AssessmentSection));
}
- private void CalculationContextOnNodeRemoved(GrassCoverErosionInwardsCalculationContext context, object parentData)
+ private static void CalculationContextOnNodeRemoved(GrassCoverErosionInwardsCalculationContext context, object parentData)
{
var calculationGroupContext = parentData as GrassCoverErosionInwardsCalculationGroupContext;
if (calculationGroupContext != null)
Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/GrassCoverErosionOutwardsPlugin.cs
===================================================================
diff -u -rb6f4e414fc874653cc6ad84b80f330b28e69b823 -r1a49563c568eaef8b84743fec1f04ee119bf5c9c
--- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/GrassCoverErosionOutwardsPlugin.cs (.../GrassCoverErosionOutwardsPlugin.cs) (revision b6f4e414fc874653cc6ad84b80f330b28e69b823)
+++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Plugin/GrassCoverErosionOutwardsPlugin.cs (.../GrassCoverErosionOutwardsPlugin.cs) (revision 1a49563c568eaef8b84743fec1f04ee119bf5c9c)
@@ -364,7 +364,7 @@
#region GrassCoverErosionOutwardsFailureMechanismContext TreeNodeInfo
- private object[] FailureMechanismEnabledChildNodeObjects(GrassCoverErosionOutwardsFailureMechanismContext failureMechanismContext)
+ private static object[] FailureMechanismEnabledChildNodeObjects(GrassCoverErosionOutwardsFailureMechanismContext failureMechanismContext)
{
GrassCoverErosionOutwardsFailureMechanism failureMechanism = failureMechanismContext.WrappedData;
return new object[]
@@ -375,7 +375,7 @@
};
}
- private object[] FailureMechanismDisabledChildNodeObjects(GrassCoverErosionOutwardsFailureMechanismContext failureMechanismContext)
+ private static object[] FailureMechanismDisabledChildNodeObjects(GrassCoverErosionOutwardsFailureMechanismContext failureMechanismContext)
{
return new object[]
{
@@ -430,7 +430,7 @@
.Build();
}
- private object[] GetHydraulicBoundariesGroupContextChildNodeObjects(HydraulicBoundariesGroupContext hydraulicBoundariesGroupContext)
+ private static object[] GetHydraulicBoundariesGroupContextChildNodeObjects(HydraulicBoundariesGroupContext hydraulicBoundariesGroupContext)
{
IAssessmentSection assessmentSection = hydraulicBoundariesGroupContext.AssessmentSection;
if (assessmentSection.HydraulicBoundaryDatabase == null)
@@ -566,7 +566,7 @@
#region GrassCoverErosionOutwardsWaveConditionsCalculationGroupContext TreeNodeInfo
- private object[] WaveConditionsCalculationGroupChildrenNodeObjects(GrassCoverErosionOutwardsWaveConditionsCalculationGroupContext nodeData)
+ private static object[] WaveConditionsCalculationGroupChildrenNodeObjects(GrassCoverErosionOutwardsWaveConditionsCalculationGroupContext nodeData)
{
var childNodeObjects = new List