PipingCalculationGroupContextNodePresenterTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Reintegrate branch to trunk. Related to Issue [WTI-184]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1877 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 823eca02392f29a5efa73ad3cbf3925824c622cc

    • -1796
    • +0
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 131 more files in changeset.
* Renamed IGuiCommandHandler to IApplicationFeatureCommands. * Renamed GuiCommandHandler to ApplicationFeatureCommandHandler. Related to Issue [WTI-185]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1756 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 4297e52bfddeff38135028cd8c9e3287d88e26f2

    • -6
    • +6
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 24 more files in changeset.
* Introduced IViewCommands to take responsibilities for various view manipulation related commands. IGuiCommandHandler no longer has this responsibility. * IGui extended view ViewCommands property. Related to Issue [WTI-185]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1754 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: f021a1b31bcf5b07f75f95cca62e970d78d723a6

    • -3
    • +6
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 21 more files in changeset.
* Applied Interface Segregation to split on Import/Export related logic in GuiCommandHandler, introducing IExportImportCommandHandler. ** Updated dependencies on this logic accordingly to use this new interface. Related to Issue [WTI-185]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1725 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: a32754aaa196d695ae50362621992360043c16cb

    • -6
    • +6
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 12 more files in changeset.
Further cleaned up TreeView and TreeNode Related to Issue [WTI-184]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1565 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 522412f5e68d533f919e5478e36698eb5619a4c7

    • -1
    • +1
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 6 more files in changeset.
When there are no calculations (for piping) in a group then "calculate all" and "validate all" context menu items are disabled. Related to Issue [WTI-172]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1534 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: bcd97a0e7fe164b9d76383b08995a222670e8852

    • -0
    • +40
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 5 more files in changeset.
Got rid of ITreeView Related to Issue [WTI-184]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1518 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: fc3a7abb9d7d0c0b2a6af3d1210efca79f0af6f4

    • -8
    • +9
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 20 more files in changeset.
Got rid of ITreeNode Related to Issue [WTI-184]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1515 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: f5b2c9e2b82e13044e15c0efec49dd617218ae57

    • -73
    • +74
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 82 more files in changeset.
Add rename options for piping calculation, assessment section and calculation group (when not direct child of assessment section) Related to Issue [WTI-172]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1456 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 1d93eaeb0b5367382ad39e7807e567a13ccffe4f

    • -11
    • +114
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 17 more files in changeset.
Updated PipingCalculationGroupContextNodePresenter to hide the delete item when its data is not a child of PipingCalculationGroupContext. Related to Issue [WTI-172]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1454 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 8395aaab1b716a5ee4871c204007cb052fbc5fa4

    • -8
    • +112
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 1 more file in changeset.
Made calculate (all) and validate (all) generic and put them in ringtoets common Resources. Made reference to these resources from piping where applicable. Added Validate all icon (tickAll.png). Related to Issue [WTI-172]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1453 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 60f7543ffa5be496b43957235d5a946474c0b68f

    • -2
    • +2
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 17 more files in changeset.
Moved Core.Common.Controls.Swf.TreeViewControls to project Core.Common.Controls.TreeView

Further optimalisation required

Related to Issue [WTI-184]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1395 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: e748057a9a7d0c4e48f826cfaa707e82423015df

    • -1
    • +1
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 156 more files in changeset.
* Fixed disappeared Delete context menu button for Piping calculation group nodes. Related to Issue [WTI-172]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1361 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: b57da1bc72e1b3a8200d6446528b8fd9cceb3e4d

    • -15
    • +35
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 3 more files in changeset.
* Implemented review suggestions of WTI-Review-194: ** Improved Xml docs. ** TreeNodeExpandCollapseState now used special IComparer when hashing, doing this on reference. This is more reliable when a Equals override is implemented. ** Fixed bugs in tests related to not calling MockRepository.VerifyAll or mockRepository.ReplayAll. ** Renamed PipingCalculationGroup.NameIsEditable to PipingCalculationGroup.IsNameEditable. ** Improved resources messages. ** Refactored Drag & Drop handling code of PipingCalculationGroupContextNodePresenter to strategies. ** Added unit tests to improved (functional) coverage. Related to Issue [WTI-174]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1296 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 1d6426433d7b91be2d5af222a79371f81db4e326

    • -3
    • +5
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 16 more files in changeset.
Added confirmation question to clear all output action. Swapped collapse/expand with import/export options. Related to Issue [WTI-172]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1274 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 593b2e7988f302dac15a423a85f0064e363ddbc4

    • -22
    • +43
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 21 more files in changeset.
* Fixed test with too long name Related to Issue [WTI-174]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1269 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: ffac9d306a2d8310fa80abe851006ddeb46dc28d

    • -1
    • +1
    ./PipingCalculationGroupContextNodePresenterTest.cs
* final refactorings to tests Related to Issue [WTI-174]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1268 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: d48c51de260af3c90ba99b6d05e04afa6060b4fb

    • -65
    • +25
    ./PipingCalculationGroupContextNodePresenterTest.cs
* Refactored tests to improve readability Related to Issue [WTI-174]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1267 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 906c770c8586108ab90f26c613ca1a50c574a287

    • -101
    • +139
    ./PipingCalculationGroupContextNodePresenterTest.cs
Review related changes Related to Issue [WTI-182]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1248 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 20eb6bc16a37447a02e86c0e45b500cd7fb94fab

    • -1
    • +1
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 13 more files in changeset.
* Improved expanded/collapsed state retention when drag&drop action is performed. ** Target container state will also be retained (during update it was possible that some nodes lost their state). Related to Issue [WTI-174]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1246 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 77fb1cef00c619aa2b7930eb369eea69c854d41d

    • -142
    • +275
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 1 more file in changeset.
Renamed TestUtils to TestUtil Related to Issue [WTI-184]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1241 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: d7daba7b69132117103600f3370c1324765c1c86

    • -3
    • +2
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 139 more files in changeset.
Fixed typo in TestUtils class Related to Issue [WTI-184]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1236 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: a9b88520fc2b071c890923cdf03394028a09a79e

    • -6
    • +6
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 4 more files in changeset.
* Implemented reordering / insertion of dragged nodes withing other or original PipingCalculationGroup. ** Fixed renaming logic that has a bug in it. Related to Issue [WTI-174]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1222 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 150070ce440367045b20b80c7c35da76bdf6f0fe

    • -410
    • +306
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 2 more files in changeset.
* Introduced TreeNodeExpandCollapseState in order to have a means to save the expand/collapse state of tree nodes and being able to restore that state back after a treeview refresh. * Drag&Dropping piping calculation and calculation group nodes now have their expanded/collapsed state retained after the action. * Added GetHashCode to PipingContext, as it's overriding Equals Related to Issue [WTI-174]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1216 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 1a665f3d971c16e14754e5e1f180e991ba8058a2

    • -52
    • +84
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 9 more files in changeset.
* Implemented renaming behavior on drag&dropping node to group that has item with that name already in it. Related to Issue [WTI-174]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1200 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 1bb6f52d6a97737b765eca2499c56469fbcb6118

    • -0
    • +161
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 1 more file in changeset.
* Renamed argument from sender to node * Extended PipingFailureMechanismNodePresenter and PipingCalculationGroupContextNodePresenter logic to select newly added IPipingCalculationItem instances. ** Container(s) will be expanded if required to show the selected node. Related to Issue [WTI-174]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1183 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 11357a757b0088f27b8b7b49088a74bb3655bfb7

    • -18
    • +70
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 19 more files in changeset.
* Dragging either piping calculation or piping calculation group selects that node ** Parent node will expand if required to ensure selected node is visible. Related to Issue [WTI-174]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1176 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: f9dd9e881b6fd9aaa0d11534fcd2aae038d2c5ac

    • -26
    • +76
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 2 more files in changeset.
* Restricted dropping of calculation group or calculation instances into groups of the same failure mechanism parent. Related to Issue [WTI-174]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1157 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: e3719a1d1bfd20cfd0430b0a5e9c9320daf4c0df

    • -16
    • +182
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 1 more file in changeset.
* Improved CanDrag implementation to not allow the 'Berekeningen' root folder of PipingFailureMechanism to be moved. Related to Issue [WTI-174]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1145 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 994d9f6ab253f094120c8a01c872cb2b4dc3183f

    • -4
    • +51
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 1 more file in changeset.
* Implemented drag & drop feature for PipingCalculationGroup nodes to other PipingCalculationGroupInstances. Related to Issue [WTI-174]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1143 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 8ebeec24909cdb94896d2eff0c3ec70ecb1f260e

    • -1
    • +144
    ./PipingCalculationGroupContextNodePresenterTest.cs
  1. … 1 more file in changeset.