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

    • -1
    • +0
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
  1. … 48 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
    • -3
    • +16
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
  1. … 8 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

    • -23
    • +59
    ./AssessmentSectionBaseNodePresenterTest.cs
    • -55
    • +18
    ./FailureMechanismNodePresenterTest.cs
    • -124
    • +41
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
  1. … 28 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

    • -69
    • +51
    ./AssessmentSectionBaseNodePresenterTest.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

    • -7
    • +8
    ./AssessmentSectionBaseNodePresenterTest.cs
    • -16
    • +24
    ./FailureMechanismNodePresenterTest.cs
  1. … 13 more files in changeset.
Improved directory structure of Core.Common.Base Related to Issue [WTI-182]

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

Former-commit-id: 3168464f228a91b97925135b16969764661aa8a3

    • -0
    • +1
    ./AssessmentSectionBaseNodePresenterTest.cs
  1. … 77 more files in changeset.
Implemented Delete item in context menu of AssessmentSectionBase and PipingCalculationContext Related to Issue [WTI-172]

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

Former-commit-id: 547753dad15876d77a925a438819eceb41b50682

    • -10
    • +12
    ./AssessmentSectionBaseNodePresenterTest.cs
  1. … 11 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

    • -1
    • +53
    ./AssessmentSectionBaseNodePresenterTest.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
    • -15
    • +3
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
  1. … 16 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
    • +6
    ./AssessmentSectionBaseNodePresenterTest.cs
  1. … 19 more files in changeset.
Added possibility to add an item to the ContextMenu which opens a view, through the ContextMenuBuilder. Related to Issue [WTI-172]

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

Former-commit-id: 23f1e30cd649bd1977eed68cf8e7c9e05b1e2d97

    • -7
    • +77
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
  1. … 15 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
    • -11
    • +46
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
  1. … 19 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
    ./AssessmentSectionBaseNodePresenterTest.cs
    • -6
    • +6
    ./FailureMechanismNodePresenterTest.cs
    • -15
    • +19
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
  1. … 57 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
    • -51
    • +4
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
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
    • -2
    • +0
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
  1. … 11 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
    • -32
    • +67
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
  1. … 17 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
    • -7
    • +7
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
  1. … 7 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
    • -0
    • +40
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
  1. … 3 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
    • +68
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
  1. … 1 more file in changeset.
Test refactoring so that it uses Rhino mocks. Reviewed by Bouvrie. Related to Issue [WTI-166]

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

Former-commit-id: f8a65e7adcdbcf721cdb60f56ba93c1f021592c7

    • -29
    • +12
    ./AssessmentSectionBaseNodePresenterTest.cs
* 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

    • -1
    • +0
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
  1. … 16 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.
* Implemented review suggestions of WTI-Review-148: * Refactored unit test * Improved test names * Fixed bug in test. Related to Issue [WTI-166]

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

Former-commit-id: 948a139d6957d050dba4377bf52bec2c346bccf5

    • -34
    • +31
    ./AssessmentSectionBaseNodePresenterTest.cs
  1. … 3 more files 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

    • -137
    • +0
    ./CategoryTreeFolderNodePresenterTest.cs
    • -1
    • +1
    ./FailureMechanismNodePresenterTest.cs
  1. … 26 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
    • +137
    ./CategoryTreeFolderNodePresenterTest.cs
    • -0
    • +123
    ./FailureMechanismNodePresenterTest.cs
    • -4
    • +4
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
  1. … 20 more files in changeset.
* Introduced base-class for assessment sections ** Generalization is used by both DikeAssessmentSection and DuneAssessmentSection ** Generalized DikeAssessmentSectionNodePresenter and DikeAssessmentSectionProperties to work with AssessmentSectionBase instances. Related to Issue [WTI-166]

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

Former-commit-id: fa05a05e89ac130ea293c2282d5d70c00abaf650

    • -0
    • +387
    ./AssessmentSectionBaseNodePresenterTest.cs
    • -363
    • +0
    ./DikeAssessmentSectionNodePresenterTest.cs
  1. … 38 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

    • -2
    • +13
    ./DikeAssessmentSectionNodePresenterTest.cs
    • -0
    • +154
    ./PlaceholderWithReadonlyNameNodePresenterTest.cs
  1. … 26 more files in changeset.
* Refactored DikeAssessmentSectionNodePresenter to inherit from RingtoetsNodePresenterBase. Related to Issue [WTI-165]

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

Former-commit-id: ca7f5171e6af2624330784c241c5461bc95521af

    • -9
    • +9
    ./DikeAssessmentSectionNodePresenterTest.cs
  1. … 3 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

    • -353
    • +0
    ./AssessmentSectionNodePresenterTest.cs
    • -0
    • +352
    ./DikeAssessmentSectionNodePresenterTest.cs
  1. … 29 more files in changeset.
* Renamed node presenter and object properties object for DikeAssessmentSection to be more consistent. * Some Resource related refactoring. * Fixed Ribbon provision for Ringtoets.Integration.Plugins. Related to Issue [WTI-165]

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

Former-commit-id: 8df602be88cb957cf65e0d508a4365175173da64

    • -17
    • +17
    ./AssessmentSectionNodePresenterTest.cs
  1. … 24 more files in changeset.