FailureMechanismNodePresenterTest.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

    • -184
    • +0
    ./FailureMechanismNodePresenterTest.cs
  1. … 131 more files in changeset.
Renamed NodePresenters folder to TreeNodeInfos Added FailureMechanismContributionTreeNodeInfoTest (modified from FailureMechanismNodePresenterTest) Related to Issue [WTI-184]

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

Former-commit-id: 68b7dc511677240d1d4d9b27b39d0f4b12005612

    • -184
    • +0
    ./FailureMechanismNodePresenterTest.cs
  1. … 8 more files in changeset.
Commented some NodePresenters and corresponding tests Related to Issue [WTI-184]

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

Former-commit-id: 7f457a72b875dfda3d550a803ad55c76af66515f

    • -184
    • +184
    ./FailureMechanismNodePresenterTest.cs
  1. … 29 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

    • -3
    • +3
    ./FailureMechanismNodePresenterTest.cs
  1. … 82 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
    ./FailureMechanismNodePresenterTest.cs
  1. … 156 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

    • -3
    • +3
    ./FailureMechanismNodePresenterTest.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

    • -7
    • +1
    ./FailureMechanismNodePresenterTest.cs
  1. … 139 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
    ./FailureMechanismNodePresenterTest.cs
  1. … 69 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

    • -2
    • +15
    ./FailureMechanismNodePresenterTest.cs
  1. … 9 more files in changeset.
Removed need of TestContextMenuBuilderProvider by introducing: CustomItemsOnlyContextMenuBuilder which only constructs custom items and ignores the rest. Introducing IContextMenuBuilder so that the builder can be easily mocked in tests. Related to Issue [WTI-172]

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

Former-commit-id: 6dcbf607574f724ec28bec46dc3f87f49c1e3210

    • -55
    • +18
    ./FailureMechanismNodePresenterTest.cs
  1. … 30 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

    • -16
    • +24
    ./FailureMechanismNodePresenterTest.cs
  1. … 14 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

    • -7
    • +3
    ./FailureMechanismNodePresenterTest.cs
  1. … 17 more files in changeset.
Split up the ContextMenuItemFactory into a GuiContextMenuItemFactory and a TreeViewContextMenuItemFactory, which are responsible for creating gui context or treeview context dependent menu items. Renamed IContextMenuProvider to IContextMenuBuilderProvider to better meet the intention of the interface. Related to Issue [WTI-172]

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

Former-commit-id: cd15bb154bba2f952304f8a8955dc6f922abf1c1

    • -8
    • +50
    ./FailureMechanismNodePresenterTest.cs
  1. … 20 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

    • -6
    • +6
    ./FailureMechanismNodePresenterTest.cs
  1. … 59 more files in changeset.
Fixed tests to meet new expectations Related to Issue [WTI-172]

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

Former-commit-id: 2e239a6428441ed232969856630d1cafa76d9ccf

    • -49
    • +2
    ./FailureMechanismNodePresenterTest.cs
  1. … 1 more file in changeset.
Moved creation of Properties context menu item to the ContextMenuItemFactory. Related to Issue [WTI-172]

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

Former-commit-id: 1face126b177ee7ff615d33c98ef4742615c8d68

    • -1
    • +0
    ./FailureMechanismNodePresenterTest.cs
  1. … 12 more files in changeset.
Introduced ContextMenuItemFactory which has the knowledge of the complete application context to create context menu items. Introduced IContextMenuProvider to separate the provision of a context menu from the rest of the RingtoetsGui responsibility. Added ContextMenu helper classes for FailureMechanism and PlaceholderWithReadOnlyName (probably temporary). Extended ContextMenuStripExtensions so that items can be inserted at a specific location. Copied resources to Core.Common.Gui project. Related to Issue [WTI-172]

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

Former-commit-id: 17148f43f03d7805a77779e802385137ccb83949

    • -19
    • +44
    ./FailureMechanismNodePresenterTest.cs
  1. … 18 more files in changeset.
Added tests for AssertContextMenuStripContainsItem in TestHelper. Extended AssertContextMenuStripContainsItem with possibility to supply an expected enabled state. Disabled menu items in FailureMechanismNodePresenter's and PlaceholderWithReadonlyNameNodePresenter's context menu which have no functionality yet. Reordered ProjectTreeView's ContextMenu to match the one of FailureMechanismNodePresenter. Related to Issue [WTI-172]

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

Former-commit-id: 007130d4ecff38c1168dd5ddf1b0be02d5cbc557

    • -3
    • +3
    ./FailureMechanismNodePresenterTest.cs
  1. … 8 more files in changeset.
Added functionality for showing Properties of selected node through context menu. Related to Issue [WTI-172]

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

Former-commit-id: e5ca59c6a26f928609f9377de31c0cd10a00102e

    • -0
    • +40
    ./FailureMechanismNodePresenterTest.cs
  1. … 4 more files in changeset.
Added TestHelper.AssertContextMenuStripContainsItem to more easily test whether a context menu strip contains an item with properties on an index. Added tests fro the FailureMechanismNodePresenter and the PlaceholderWithReadonlyNameNodePresenter context menus. Related to Issue [WTI-172]

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

Former-commit-id: e7dff9dab7dd15c4a0115bc88c04fbf421fcf7cc

    • -1
    • +28
    ./FailureMechanismNodePresenterTest.cs
  1. … 2 more files in changeset.
* Implemented review suggestions of WTI-Review-149 ** Fixed typos ** Fixed incorrect test-name Related to Issue [WTI-175]

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

Former-commit-id: c200d864616f23b1fd2ef3e20eba79673dbeb281

    • -2
    • +2
    ./FailureMechanismNodePresenterTest.cs
  1. … 1 more file in changeset.
* Moved CategoryTreeFolder related code and resources from Ringtoets.Integration.Forms to Ringtoets.Common.Forms. Related to Issue [WTI-171]

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

Former-commit-id: 668d43af4213849e4f122a8ee909282769fb1c18

    • -1
    • +1
    ./FailureMechanismNodePresenterTest.cs
  1. … 27 more files in changeset.
* Extended FailureMechanismPlaceholder with placeholder input and output data. ** Created CategoryTreeFolder to group certain data-objects in project tree. Related to Issue [WTI-175]

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

Former-commit-id: 12081c6e28790880cb80b5d405ba559624e6ffa5

    • -0
    • +123
    ./FailureMechanismNodePresenterTest.cs
  1. … 22 more files in changeset.