Index: Core/Common/src/Core.Common.Controls.TreeView/TreeNodeInfo.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Core/Common/src/Core.Common.Controls.TreeView/TreeNodeInfo.cs (.../TreeNodeInfo.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Core/Common/src/Core.Common.Controls.TreeView/TreeNodeInfo.cs (.../TreeNodeInfo.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -45,19 +45,19 @@
///
/// Gets or sets a function for obtaining the tree node text.
- /// The object parameter represents the wrapped data of the tree node.
+ /// The object parameter represents the data of the tree node.
///
public Func Text { get; set; }
///
/// Gets or sets a function for obtaining the tree node fore color.
- /// The object parameter represents the wrapped data of the tree node.
+ /// The object parameter represents the data of the tree node.
///
public Func ForeColor { get; set; }
///
/// Gets or sets a function for obtaining the tree node image.
- /// The object parameter represents the wrapped data of the tree node.
+ /// The object parameter represents the data of the tree node.
///
public Func Image { get; set; }
@@ -70,8 +70,14 @@
public Func ContextMenuStrip { get; set; }
///
+ /// Gets or sets a function for determining whether or not the tree node should become visible and selected on creation.
+ /// The object parameter represents the data of the tree node.
+ ///
+ public Func EnsureVisibleOnCreate { get; set; }
+
+ ///
/// Gets or sets a function for obtaining child node objects.
- /// The object parameter represents the wrapped data of the tree node.
+ /// The object parameter represents the data of the tree node.
///
public Func ChildNodeObjects { get; set; }
@@ -84,34 +90,34 @@
///
/// Gets or sets an action for obtaining the logic to perform after renaming the tree node.
- /// The object parameter represents the wrapped data of the tree node.
+ /// The object parameter represents the data of the tree node.
/// The string parameter represents the new name of the tree node.
///
public Action OnNodeRenamed { get; set; }
///
/// Gets or sets a function for checking whether or not the tree node can be removed.
- /// The first object parameter represents the wrapped data of the tree node.
- /// The second object parameter represents the wrapped data of the parent tree node.
+ /// The first object parameter represents the data of the tree node.
+ /// The second object parameter represents the data of the parent tree node.
///
public Func CanRemove { get; set; }
///
/// Gets or sets an action for obtaining the logic to perform after removing the tree node.
- /// The object parameter represents the wrapped data of the tree node.
- /// The object parameter represents the wrapped data of the parent tree node.
+ /// The object parameter represents the data of the tree node.
+ /// The object parameter represents the data of the parent tree node.
///
public Action OnNodeRemoved { get; set; }
///
/// Gets or sets a function for checking whether or not the tree node can be checked.
- /// The object parameter represents the wrapped data of the tree node.
+ /// The object parameter represents the data of the tree node.
///
public Func CanCheck { get; set; }
///
/// Gets or sets a function for checking whether or not the tree node should be checked.
- /// The object parameter represents the wrapped data of the tree node.
+ /// The object parameter represents the data of the tree node.
///
public Func IsChecked { get; set; }
@@ -124,7 +130,7 @@
///
/// Gets or sets a function for checking whether or not the tree node can be dragged to another location.
- /// The object parameter represents the wrapped data of the tree node.
+ /// The object parameter represents the data of the tree node.
/// The parameter represents the tree node which is dragged.
///
public Func CanDrag { get; set; }
@@ -184,19 +190,19 @@
///
/// Gets or sets a function for obtaining the tree node text.
- /// The parameter represents the wrapped data of the tree node.
+ /// The parameter represents the data of the tree node.
///
public Func Text { get; set; }
///
/// Gets or sets a function for obtaining the tree node color.
- /// The parameter represents the wrapped data of the tree node.
+ /// The parameter represents the data of the tree node.
///
public Func ForeColor { get; set; }
///
/// Gets or sets a function for obtaining the tree node image.
- /// The parameter represents the wrapped data of the tree node.
+ /// The parameter represents the data of the tree node.
///
public Func Image { get; set; }
@@ -209,8 +215,14 @@
public Func ContextMenuStrip { get; set; }
///
+ /// Gets or sets a function for determining whether or not the tree node should become visible and selected on creation.
+ /// The parameter represents the data of the tree node.
+ ///
+ public Func EnsureVisibleOnCreate { get; set; }
+
+ ///
/// Gets or sets a function for obtaining child node objects.
- /// The parameter represents the wrapped data of the tree node.
+ /// The parameter represents the data of the tree node.
///
public Func ChildNodeObjects { get; set; }
@@ -223,34 +235,34 @@
///
/// Gets or sets an action for obtaining the logic to perform after renaming the tree node.
- /// The parameter represents the wrapped data of the tree node.
+ /// The parameter represents the data of the tree node.
/// The string parameter represents the new name of the tree node.
///
public Action OnNodeRenamed { get; set; }
///
/// Gets or sets a function for checking whether or not the tree node can be removed.
- /// The parameter represents the wrapped data of the tree node.
- /// The object parameter represents the wrapped data of the parent tree node.
+ /// The parameter represents the data of the tree node.
+ /// The object parameter represents the data of the parent tree node.
///
public Func CanRemove { get; set; }
///
/// Gets or sets an action for obtaining the logic to perform after removing the tree node.
- /// The parameter represents the wrapped data of the tree node.
- /// The object parameter represents the wrapped data of the parent tree node.
+ /// The parameter represents the data of the tree node.
+ /// The object parameter represents the data of the parent tree node.
///
public Action OnNodeRemoved { get; set; }
///
/// Gets or sets a function for checking whether or not the tree node can be checked.
- /// The parameter represents the wrapped data of the tree node.
+ /// The parameter represents the data of the tree node.
///
public Func CanCheck { get; set; }
///
/// Gets or sets a function for checking whether or not the tree node should be checked.
- /// The parameter represents the wrapped data of the tree node.
+ /// The parameter represents the data of the tree node.
///
public Func IsChecked { get; set; }
@@ -263,7 +275,7 @@
///
/// Gets or sets a function for checking whether or not the tree node can be dragged to another location.
- /// The parameter represents the wrapped data of the tree node.
+ /// The parameter represents the data of the tree node.
/// The parameter represents the tree node which is dragged.
///
public Func CanDrag { get; set; }
@@ -317,6 +329,9 @@
ContextMenuStrip = treeNodeInfo.ContextMenuStrip != null
? (tag, parentTag, treeViewControl) => treeNodeInfo.ContextMenuStrip((TData) tag, parentTag, treeViewControl)
: (Func) null,
+ EnsureVisibleOnCreate = treeNodeInfo.EnsureVisibleOnCreate != null
+ ? tag => treeNodeInfo.EnsureVisibleOnCreate((TData) tag)
+ : (Func) null,
ChildNodeObjects = treeNodeInfo.ChildNodeObjects != null
? tag => treeNodeInfo.ChildNodeObjects((TData) tag)
: (Func) null,
Index: Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/AreaDataTreeNodeInfoTest.cs
===================================================================
diff -u -r5d0ea46dea2c2d063c7fb5c58bed3be219be1c85 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/AreaDataTreeNodeInfoTest.cs (.../AreaDataTreeNodeInfoTest.cs) (revision 5d0ea46dea2c2d063c7fb5c58bed3be219be1c85)
+++ Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/AreaDataTreeNodeInfoTest.cs (.../AreaDataTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -40,6 +40,7 @@
Assert.AreEqual(typeof(AreaData), info.TagType);
Assert.IsNull(info.ForeColor);
Assert.IsNull(info.ContextMenuStrip);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.ChildNodeObjects);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Index: Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/ChartDataCollectionTreeNodeInfoTest.cs
===================================================================
diff -u -rb3883ecc0719d5df114cacc849796c0ca420507d -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/ChartDataCollectionTreeNodeInfoTest.cs (.../ChartDataCollectionTreeNodeInfoTest.cs) (revision b3883ecc0719d5df114cacc849796c0ca420507d)
+++ Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/ChartDataCollectionTreeNodeInfoTest.cs (.../ChartDataCollectionTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -41,6 +41,7 @@
Assert.AreEqual(typeof(ChartDataCollection), info.TagType);
Assert.IsNull(info.ForeColor);
Assert.IsNull(info.ContextMenuStrip);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Assert.IsNull(info.CanRemove);
Index: Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/LineDataTreeNodeInfoTest.cs
===================================================================
diff -u -r5d0ea46dea2c2d063c7fb5c58bed3be219be1c85 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/LineDataTreeNodeInfoTest.cs (.../LineDataTreeNodeInfoTest.cs) (revision 5d0ea46dea2c2d063c7fb5c58bed3be219be1c85)
+++ Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/LineDataTreeNodeInfoTest.cs (.../LineDataTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -40,6 +40,7 @@
Assert.AreEqual(typeof(LineData), info.TagType);
Assert.IsNull(info.ForeColor);
Assert.IsNull(info.ContextMenuStrip);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.ChildNodeObjects);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Index: Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/PointDataTreeNodeInfoTest.cs
===================================================================
diff -u -r5d0ea46dea2c2d063c7fb5c58bed3be219be1c85 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/PointDataTreeNodeInfoTest.cs (.../PointDataTreeNodeInfoTest.cs) (revision 5d0ea46dea2c2d063c7fb5c58bed3be219be1c85)
+++ Core/Plugins/test/Core.Plugins.OxyPlot.Test/Legend/PointDataTreeNodeInfoTest.cs (.../PointDataTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -40,6 +40,7 @@
Assert.AreEqual(typeof(PointData), info.TagType);
Assert.IsNull(info.ForeColor);
Assert.IsNull(info.ContextMenuStrip);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.ChildNodeObjects);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Index: Core/Plugins/test/Core.Plugins.ProjectExplorer.Test/TreeNodeInfos/ProjectTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Core/Plugins/test/Core.Plugins.ProjectExplorer.Test/TreeNodeInfos/ProjectTreeNodeInfoTest.cs (.../ProjectTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Core/Plugins/test/Core.Plugins.ProjectExplorer.Test/TreeNodeInfos/ProjectTreeNodeInfoTest.cs (.../ProjectTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -33,6 +33,7 @@
// Assert
Assert.AreEqual(typeof(Project), info.TagType);
Assert.IsNull(info.ForeColor);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Assert.IsNull(info.CanRemove);
Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/AssessmentSectionBaseTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/AssessmentSectionBaseTreeNodeInfoTest.cs (.../AssessmentSectionBaseTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/AssessmentSectionBaseTreeNodeInfoTest.cs (.../AssessmentSectionBaseTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -36,8 +36,8 @@
{
// Assert
Assert.AreEqual(typeof(AssessmentSectionBase), info.TagType);
-
Assert.IsNull(info.ForeColor);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.CanCheck);
Assert.IsNull(info.IsChecked);
Assert.IsNull(info.OnNodeChecked);
Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/FailureMechanismContributionTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/FailureMechanismContributionTreeNodeInfoTest.cs (.../FailureMechanismContributionTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/FailureMechanismContributionTreeNodeInfoTest.cs (.../FailureMechanismContributionTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -32,8 +32,8 @@
{
// Assert
Assert.AreEqual(typeof(FailureMechanismContribution), info.TagType);
-
Assert.IsNull(info.ForeColor);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.ChildNodeObjects);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/FailureMechanismPlaceholderTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/FailureMechanismPlaceholderTreeNodeInfoTest.cs (.../FailureMechanismPlaceholderTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/FailureMechanismPlaceholderTreeNodeInfoTest.cs (.../FailureMechanismPlaceholderTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -35,7 +35,7 @@
{
// Assert
Assert.AreEqual(typeof(FailureMechanismPlaceholder), info.TagType);
-
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Assert.IsNull(info.CanRemove);
Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/PlaceholderWithReadonlyNameTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/PlaceholderWithReadonlyNameTreeNodeInfoTest.cs (.../PlaceholderWithReadonlyNameTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/PlaceholderWithReadonlyNameTreeNodeInfoTest.cs (.../PlaceholderWithReadonlyNameTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -32,7 +32,7 @@
{
// Assert
Assert.AreEqual(typeof(PlaceholderWithReadonlyName), info.TagType);
-
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.ChildNodeObjects);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/EmptyPipingCalculationReportTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/EmptyPipingCalculationReportTreeNodeInfoTest.cs (.../EmptyPipingCalculationReportTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/EmptyPipingCalculationReportTreeNodeInfoTest.cs (.../EmptyPipingCalculationReportTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -33,7 +33,7 @@
{
// Assert
Assert.AreEqual(typeof(EmptyPipingCalculationReport), info.TagType);
-
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.ChildNodeObjects);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/EmptyPipingOutputTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/EmptyPipingOutputTreeNodeInfoTest.cs (.../EmptyPipingOutputTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/EmptyPipingOutputTreeNodeInfoTest.cs (.../EmptyPipingOutputTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -32,7 +32,7 @@
{
// Assert
Assert.AreEqual(typeof(EmptyPipingOutput), info.TagType);
-
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.ChildNodeObjects);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingCalculationContextTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingCalculationContextTreeNodeInfoTest.cs (.../PipingCalculationContextTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingCalculationContextTreeNodeInfoTest.cs (.../PipingCalculationContextTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -39,8 +39,8 @@
{
// Assert
Assert.AreEqual(typeof(PipingCalculationContext), info.TagType);
-
Assert.IsNull(info.ForeColor);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.CanCheck);
Assert.IsNull(info.IsChecked);
Assert.IsNull(info.OnNodeChecked);
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingCalculationGroupContextTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingCalculationGroupContextTreeNodeInfoTest.cs (.../PipingCalculationGroupContextTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingCalculationGroupContextTreeNodeInfoTest.cs (.../PipingCalculationGroupContextTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -43,8 +43,8 @@
{
// Assert
Assert.AreEqual(typeof(PipingCalculationGroupContext), info.TagType);
-
Assert.IsNull(info.ForeColor);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.CanCheck);
Assert.IsNull(info.IsChecked);
Assert.IsNull(info.OnNodeChecked);
@@ -1088,7 +1088,6 @@
public void GetContextMenu_ClickOnAddCalculationItem_AddCalculationToCalculationGroupAndNotifyObservers()
{
// Setup
- var tag = new object();
var gui = mocks.StrictMock();
var menuBuilder = new CustomItemsOnlyContextMenuBuilder();
var group = new PipingCalculationGroup();
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingFailureMechanismTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingFailureMechanismTreeNodeInfoTest.cs (.../PipingFailureMechanismTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingFailureMechanismTreeNodeInfoTest.cs (.../PipingFailureMechanismTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -47,8 +47,8 @@
{
// Assert
Assert.AreEqual(typeof(PipingFailureMechanism), info.TagType);
-
Assert.IsNull(info.ForeColor);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Assert.IsNull(info.CanRemove);
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingInputContextTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingInputContextTreeNodeInfoTest.cs (.../PipingInputContextTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingInputContextTreeNodeInfoTest.cs (.../PipingInputContextTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -33,6 +33,7 @@
// Assert
Assert.AreEqual(typeof(PipingInputContext), info.TagType);
Assert.IsNull(info.ForeColor);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.ChildNodeObjects);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingOutputTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingOutputTreeNodeInfoTest.cs (.../PipingOutputTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingOutputTreeNodeInfoTest.cs (.../PipingOutputTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -32,6 +32,7 @@
// Assert
Assert.AreEqual(typeof(PipingOutput), info.TagType);
Assert.IsNull(info.ForeColor);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.ChildNodeObjects);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingSoilProfileCollectionTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingSoilProfileCollectionTreeNodeInfoTest.cs (.../PipingSoilProfileCollectionTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingSoilProfileCollectionTreeNodeInfoTest.cs (.../PipingSoilProfileCollectionTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -33,6 +33,7 @@
{
// Assert
Assert.AreEqual(typeof(IEnumerable), info.TagType);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Assert.IsNull(info.CanRemove);
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingSoilProfileTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingSoilProfileTreeNodeInfoTest.cs (.../PipingSoilProfileTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/PipingSoilProfileTreeNodeInfoTest.cs (.../PipingSoilProfileTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -32,6 +32,7 @@
// Assert
Assert.AreEqual(typeof(PipingSoilProfile), info.TagType);
Assert.IsNull(info.ForeColor);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.ChildNodeObjects);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/RingtoetsPipingSurfaceLineCollectionTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/RingtoetsPipingSurfaceLineCollectionTreeNodeInfoTest.cs (.../RingtoetsPipingSurfaceLineCollectionTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/RingtoetsPipingSurfaceLineCollectionTreeNodeInfoTest.cs (.../RingtoetsPipingSurfaceLineCollectionTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -33,6 +33,7 @@
{
// Assert
Assert.AreEqual(typeof(IEnumerable), info.TagType);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);
Assert.IsNull(info.CanRemove);
Index: Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/RingtoetsPipingSurfaceLineTreeNodeInfoTest.cs
===================================================================
diff -u -r5774b9c9fd8cc22fc2196ec871431631133e6221 -rd8ca552454f8c1bf36269890b70f104c810fbf7f
--- Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/RingtoetsPipingSurfaceLineTreeNodeInfoTest.cs (.../RingtoetsPipingSurfaceLineTreeNodeInfoTest.cs) (revision 5774b9c9fd8cc22fc2196ec871431631133e6221)
+++ Ringtoets/Piping/test/Ringtoets.Piping.Forms.Test/TreeNodeInfos/RingtoetsPipingSurfaceLineTreeNodeInfoTest.cs (.../RingtoetsPipingSurfaceLineTreeNodeInfoTest.cs) (revision d8ca552454f8c1bf36269890b70f104c810fbf7f)
@@ -32,6 +32,7 @@
// Assert
Assert.AreEqual(typeof(RingtoetsPipingSurfaceLine), info.TagType);
Assert.IsNull(info.ForeColor);
+ Assert.IsNull(info.EnsureVisibleOnCreate);
Assert.IsNull(info.ChildNodeObjects);
Assert.IsNull(info.CanRename);
Assert.IsNull(info.OnNodeRenamed);