PipingFailureMechanismNodePresenterTest.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

    • -12
    • +33
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 21 more files 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

    • -2
    • +2
    ./PipingFailureMechanismNodePresenterTest.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

    • -1
    • +1
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 4 more files 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

    • -17
    • +89
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 19 more files in changeset.
* Clarified documentation related to drag & drop functionality in ITreeNodePresenter. * Removed FlagsAttribute from DragOperations. ** Updated related code for flag checking. * Implemented drop drop feature: allow PipingCalculation nodes to be dropped into any PipingCalculationGroup nodes. Related to Issue [WTI-174]

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

Former-commit-id: 6c3b31689e90728161509fd58f20c85df202ac34

    • -4
    • +4
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 15 more files in changeset.
Updated namespaces for just moved TreeView stuff Related to Issue [WTI-183]

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

Former-commit-id: 13781d9e2f372b0ec1796e6aff71f9d2fb6034e8

    • -0
    • +1
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 69 more files in changeset.
Fixed Rhino expectations and faulty calls in recording state. Added ProjectExplorerGuiPluginException for when retrieving NodePresenters fails. Removed obsolete ContextMenuStripExtensions, use StrictContextMenuItem instead. Provided documentation. Uniformified Expectation initialization logic. Related to Issue [WTI-172]

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

Former-commit-id: 4234e9831923fba92380bef316bee314c4d433a5

    • -15
    • +15
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 48 more files in changeset.
* Improved consistency between PipingCalculationGroup and PipingFailureMechanism node presenters context menus. ** PipingCalculationGroupContextNodePresenter uses provided IContextMenuBuilderProvider. ** Added validate all command to PipingFailureMechanism. * CustomItemsOnlyContextMenuBuilder supports building separators. * Introduced simple implementation of IContextMenuBuilderProvider. * Fixed bug where PipingCalculationContextNodePresenter was running calculations improperly (causing multiple progress dialogs to be spawned!) Related to Issue [WTI-174]

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

Former-commit-id: f82424207d1afd4dc7eee18b7bf877964184e739

    • -24
    • +34
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 11 more files in changeset.
Fixed tests. Fixed test names. Made methods in CommandHandler work on passed object rather than gui selection. Related to Issue [WTI-172]

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

Former-commit-id: 04e8c87d71074cc89f0f0ccec260baa2fdd76c12

    • -1
    • +1
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 9 more files in changeset.
Commit files which were conflicted. Added test for DeleteItem and have its state based on the NodePresenter.CanRemove() method. Related to Issue [WTI-172]

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

Former-commit-id: e1b9ac9188a497a20497a937d321164e42fc310b

    • -126
    • +183
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 4 more files in changeset.
* Refactored away PipingCalculationTreeFolder because it had become a weaker copy of PipingCalculationGroup. ** Refactored PipingCalculationGroup such that it can have an uneditable name. *** Updated reltated node presenter and properties to deal with this. *** IPipingCalculationItem no longer demands a setter on the name.

Related to Issue [WTI-174]

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

Former-commit-id: 21c8d6c64537850a3ae439dbf01543fe5519128f

    • -28
    • +21
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 24 more files in changeset.
Made the IContextMenuBuilderProvider a required parameter for constructing RingtoetsNodePresenterBase instances. Also made CommandHandler required for the ProjectNodePresenter.

Related to Issue [WTI-172]

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

Former-commit-id: 67ae81e0edad1728dbd5dfc52a32a4e444b3f093

    • -109
    • +56
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 38 more files in changeset.
Expand all and collapse all context menu item determine state on children of tree node. Related to Issue [WTI-172]

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

Former-commit-id: 8fcffebc4c513b3e1277f9a1d60311d11f019e5a

    • -18
    • +18
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 14 more files in changeset.
Added context menu for AssessmentSectionBase. Fixed CanShowPropertiesForGuiSelection so that it also return true for inheriting classes. Related to Issue [WTI-172]

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

Former-commit-id: 089b49a78b7577e8b09e4d4fd67884942a2821b3

    • -9
    • +8
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 14 more files in changeset.
Implemented review suggestions of WTI-Review-175 * Fixed typos * Made variable names explicit * Made property setter private * Moved text to resources. Related to Issue [WTI-171]

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

Former-commit-id: eff9a17a24553e8e6c5309e373d05181cde95b2d

    • -15
    • +14
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 6 more files in changeset.
Replaced context menu on PipingSurfaceLineCollectionNodePresenter with one constructed through ContextMenuBuilder. GuiContextMenuItemFactory now only requires the IGuiCommandHandler for constructing. Implemented CanExportFromGuiSelection and CanShowPropertiesForGuiSelection on GuiCommandHandler to determine menu item state. Related to Issue [WTI-172]

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

Former-commit-id: 5654cc63263c32cbd89a218c2f4c2f6802f12b38

    • -8
    • +4
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 17 more files in changeset.
Made PipingFailureMechanismNodePresenter use the ContextMenuBuilder. Introduced StrictContextMenuItem to make people aware of setting the Properties for a context menu item. Related to Issue [WTI-172]

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

Former-commit-id: 1d6b6ebfbee31c71893c3cb4a3fa71e9e43ac4b5

    • -131
    • +218
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 12 more files in changeset.
* Fixed bug where node text could have incorrect color, due to Node instances being managed by two different node presenters (TreeNode instances are not being re-created when refreshes occur). * Improved some tests by asserting the icon used for a TreeNode Related to Issue [WTI-171]

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

Former-commit-id: 761d6a5045cfab1fb532b39e4db89a34e8698265

    • -2
    • +4
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 19 more files in changeset.
* Allowed the user to now add piping calculation groups/folders to the piping failure mechanism or other piping calculation groups/folders. * Allow the user to add new calculations for piping calculation groups/folders. ** As such, we need a 'Context' presentation object for PipingCalculationGroup similarly as for PipingCalculation. Therefore a base class PipingContext has been introduced. * Added validation Icon. * Moved PipingCalculatrionFactory from Ringtoets.Piping.Service.Test to Ringtoets.Piping.Data.TestUtil Related to Issue [WTI-174]

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

Former-commit-id: d381b4b12066b6e4a0770085b66a67471bc089c0

    • -19
    • +61
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 39 more files in changeset.
Introduced ContextMenuBuilder in stead of the ContextMenuFactory. Builder is responsible for calling ContextMenuItemFactory methods to configure a ContextMenu. Can be used to construct a menu using items which require the gui context, to add custom items and to add separators. Removed ITreeNode parameter of GetChildNodeObjects (only based on data)Moved resources from the Ringtoets.Common.Forms to Core.Common.Gui Removed unused methods in ContextMenuStripExtensions Added expand all and collapse all items to the ContextMenuItemFactory. Moved ContextMenuBuilder and ContextMenuItemFactory to sub folder. Related to Issue [WTI-172]

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

Former-commit-id: 9eefacfdd318334fb06e17b8a94422bee07e4674

    • -1
    • +1
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 59 more files in changeset.
* Renamed PipingCalculationData to PipingCalculation and updated all related classes. Related to Issue [WTI-171]

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

Former-commit-id: 832c14db09804a09c42e01c6be26655c33056494

    • -14
    • +14
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 47 more files in changeset.
Updated assertions to take in account the added '&' for shortcuts. Related to Issue [WTI-172]

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

Former-commit-id: f2cb181d9cf70c5777a00ea89e76ad038404fed5

    • -2
    • +2
    ./PipingFailureMechanismNodePresenterTest.cs
Added context menu's for input, output and failure mechanism placeholders. Moved resources where they became more generally used. Related to Issue [WTI-172]

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

Former-commit-id: 46b2147c303ee1f1b3472ee245a0723f13d7b74e

    • -2
    • +3
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 24 more files in changeset.
* Fixed failing test due to un-updated test expectancy. Related to Issue [WTI-171]

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

Former-commit-id: e90034609900a6fed45c14420231568b3c182813

    • -1
    • +1
    ./PipingFailureMechanismNodePresenterTest.cs
* Renamed PipingData to PipingCalculationData. ** Also extended it with Comments and CalculationReport properties. * Extended PipingCalculationInputsNodePresenter to take new properties into account. Related to Issue [WTI-171]

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

Former-commit-id: f917873c23cbde22bc004003aebd5b821015d599

    • -5
    • +5
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 33 more files in changeset.
* Moved Input and Output placeholders from Ringtoets.Integration.Data to Ringtoets.Common.Placeholder. * Refactored PipingFailureMechanism to be more consistent with FailureMechanismPlaceholder. Related to Issue [WTI-171]

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

Former-commit-id: eafe6701157632bd2c42d2b8fe2edd27ea377be1

    • -9
    • +31
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 16 more files in changeset.
* Implemented the full node tree for child data of DikeAssessmentSection. * Introduced test utility method to compare images. Related to Issue [WTI-165]

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

Former-commit-id: 0f2dff03da7967bb831e913da7ae23a241d88c90

    • -3
    • +1
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 27 more files in changeset.
* Moved PipingNodePresenterBase from Piping.Forms to Ringtoets.Common.Forms, and is renamed to RingtoetsNodePresenterBase ** Updated Resources accordingly *** Also removed unused resource from Core.Common.Gui Related to Issue [WTI-165]

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

Former-commit-id: b85ce7a8a79eaa5c7bbc9207e28ed8644f6bd0d1

    • -1
    • +1
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 30 more files in changeset.
* Mayor refactoring targeting: ** reusable code from Piping projects, moving them to Ringtoets.Common.Forms. ** Assessment Section related code has been moved from piping projects to Ringtoets.Integration projects. Related to Issue [WTI-165]

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

Former-commit-id: 7a37a1476f86cd82f6c846414b27c07a7ec7c411

    • -10
    • +6
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 69 more files in changeset.
Extracted strings mostly from exceptions from files to resources and added translations. Related to Issue [WTI-6]

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

Former-commit-id: c688648f21a99c64fbca59dbcfd445e2545d8b66

    • -1
    • +1
    ./PipingFailureMechanismNodePresenterTest.cs
  1. … 50 more files in changeset.