RingtoetsContextMenuItemFactory.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Used null propagation where suggested. Related to Issue [WTI-1242]

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

Former-commit-id: 6d1d55a48f678a84b1d7b6279d945d2de8ee71a2

Former-commit-id: ac6b4dc77ee63a4b3e313075cebd822f4d32f432

  1. … 35 more files in changeset.
Code cleanup: Ringtoets.Common Ringtoets.DuneErosion Ringtoets.HydraRing Ringtoets.Integration Related to Issue [WTI-1242]

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

Former-commit-id: 0032433ea9de109c256ed5de15ebb145f6be74fc

Former-commit-id: b5477e384031933ad12287ee6958f4f68d7f9566

  1. … 429 more files in changeset.
* ClosingStructureFailureMechanismProperties now has IsRelevant property. * ClosingStructureFailureMechanismProperties uses DynamicVisbility to hide properties for irrelevant failure mechanism. * Refactored code to be conform code conventions. Related to Issue [WTI-1152]

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

Former-commit-id: e657795f53eb006544e57155c902474f05a3aef7

Former-commit-id: 8aba818ca202432e07bad2216f230e65bf8fcdca

  1. … 9 more files in changeset.
Review related changes Related to Issue [WTI-1059]

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

Former-commit-id: 87ef6009ef022e0da3e71549127bf42abc08bfbe

Former-commit-id: 9836cbbdf6dc1227659cf35fccdbd115820a0fcc

  1. … 12 more files in changeset.
* Introduced ControlsTestHelper to expose helper methods related to faking user interaction with controls. * FailureMechanismContribution now keeps the same otherFailureMechanism instance for it's whole lifetime. * FailureMechanismContributionItem now exposes it's internal IFailureMechanism. * Removed unused resource and method. * Moved responsibility of closing views for irrelevant marked IFailureMechanism from FailureMechanismContributionView to FailureMechanismContributionItemRow * Introduced AssessmentSectionCompositionChangeHandler and moved code away from FailureMechanismContributionView. ** FailureMechanismContributionView now uses AssessmentSectionCompositionChangeHandler. Related to Issue [WTI-791]

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

Former-commit-id: 78821f0b39be58810d650ea80f1b9610d4bc8c0f

Former-commit-id: 7571de1deb8de32ab9d12d23b2cdca3a5f9b0103

    • -16
    • +0
    ./RingtoetsContextMenuItemFactory.cs
  1. … 28 more files in changeset.
Implemented clear all children functionality in TreeViewControl. Reused to delete all sub folders and calculations from the root calculation group. Have CustomItemsOnlyContextMenuBuilder always add an item (also for standardized items), so that the same amount of items are added as when using a real implementation of the builder. Related to Issue [WTI-587]

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

Former-commit-id: b18a664e3a2ac87083d295cd7619268a643a0f62

Former-commit-id: b8537af708eae3f73f3c5c8660386dcde59f4d13

    • -29
    • +0
    ./RingtoetsContextMenuItemFactory.cs
  1. … 45 more files in changeset.
Merged revision(s) 4868-4869 from branches/Release/16_1_1: Implemented non ideal solution for closing the views when clearing the root Calculations folder. Related to Issue WTI 489

........

Added validation for IViewCommands and updated test expectancies.

Related to Issue WTI 489]

........

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

Former-commit-id: 4e421cd8ac81f8f2aa1c4d9767a9b4b5fc6756c4

Former-commit-id: 6fccd48c5b2cab73a7e12cc28511cf1cc8c4967f

    • -3
    • +13
    ./RingtoetsContextMenuItemFactory.cs
  1. … 9 more files in changeset.
Added validation for IViewCommands and updated test expectancies. Related to Issue [WTI-489]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_1_1@4869 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: aba17fa3801485736cd90ca227bcafce4cea6f6d

Former-commit-id: 5f729513accc78323e76738c486c62ce03cd6905

  1. … 3 more files in changeset.
Added validation for IViewCommands and updated test expectancies. Related to Issue [WTI-489]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_1_1@4869 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 6a82192161b642c53c7329e4cd3aa9eac573ebce

Former-commit-id: 69d3b6c57083c665829e4175c25a5e681afb261e

  1. … 3 more files in changeset.
Implemented non ideal solution for closing the views when clearing the root Calculations folder. Related to Issue [WTI-489]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_1_1@4868 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: ec20a2eaf198238cd55d3670840ac27568574f88

Former-commit-id: 6e6cd0c120e982d5a84b52d147b5407a051cebc4

  1. … 6 more files in changeset.
Implemented non ideal solution for closing the views when clearing the root Calculations folder. Related to Issue [WTI-489]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/branches/Release/16_1_1@4868 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 7f95797d92df3a04655147c219829c6ee2c64642

Former-commit-id: 231e295f9388e3e3411891e1818df42ce2272f4b

  1. … 6 more files in changeset.
* Cleanup Ringtoets.Common src projects Related to Issue [WTI-737]

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

Former-commit-id: c5e042d5999a72ff390b3e82b884e15e74df673e

Former-commit-id: 612c363b766137a7b06902116c0b52c35be1ec61

  1. … 20 more files in changeset.
Added context menu item for piping calculation groups which can be used to remove all calculations within a group. Added the creation of this context menu item in the RingtoetsContextMenuBuilder / RingtoetsContextMenuItemFactory, so that it can be reused in other failure mechanisms if desired. Related to Issue [WTI-489]

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

Former-commit-id: ecc95dbd4df83a1e6d30b39e02125518996137ca

Former-commit-id: 28ebfd1e3785de0d3c2f22d5825acabad62bdd7d

    • -0
    • +35
    ./RingtoetsContextMenuItemFactory.cs
  1. … 9 more files in changeset.
Small changes after review. Related to Issue [WTI-671]

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

Former-commit-id: eb3ab09c3d743fece0bd587c2228268f2f563284

Former-commit-id: 33d4655e9bff444e82faf0f47f030d7ba8eb523f

    • -14
    • +14
    ./RingtoetsContextMenuItemFactory.cs
Added Validation menu items for GrassCoverErosionInwards FailureMechanism/CalculationGroup/Calculation. Related to Issue [WTI-671]

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

Former-commit-id: e56d8992f548885508417e0ca4a7a9a753b78449

Former-commit-id: 32a4fb1865132d108544488cad10c52d407b30cf

    • -22
    • +21
    ./RingtoetsContextMenuItemFactory.cs
  1. … 10 more files in changeset.
Implemented Validate, Validate all in group and Validate all in FailureMechanism context menu item creation methods in RingtoetsContextMenuItemFactory. Removed validation of FailureMechanismSection as they are not required to perform a calculation. Related to Issue [WTI-671]

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

Former-commit-id: 425bc494b5bb9d61c60ed6b18415d0f56bf03ed3

Former-commit-id: 05c43e9cbf19bdb02d966dfbb1f43bd53ee9d634

    • -36
    • +139
    ./RingtoetsContextMenuItemFactory.cs
  1. … 11 more files in changeset.
Fixed bug in RingtoetsContextMenuItemFactory => Calculations are now checked for being present instead of children (which can also be calculation groups) Related to Issue [WTI-460]

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

Former-commit-id: 5e2e7a44331efc7a0535cb25036556cafa9402b8

Former-commit-id: b23210ed099795482327841f2619599422fc8297

  1. … 1 more file in changeset.
Changed structure of validation to show tooltip message when disabled. Related to Issue [WTI-609]

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

Former-commit-id: a27c9ca0459b998d7b9009ff7f39b4aee10251aa

Former-commit-id: 50c8d028f0d4aa88a582bc35372f6e397488a393

    • -25
    • +30
    ./RingtoetsContextMenuItemFactory.cs
  1. … 19 more files in changeset.
- Changed variable name to from *removeAllViewsForItemAction* to *onChangeAction* - Merged code and tests for enabled and disabled ChangeRelevancyItem Related to Issue [WTI-458]

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

Former-commit-id: e237d998fe489d3c6f6c8cf9c751f5362c8622ab

Former-commit-id: 330dd74cc9f3f2f7892cf7daed58b78ee9d64fea

    • -24
    • +12
    ./RingtoetsContextMenuItemFactory.cs
  1. … 6 more files in changeset.
Review related changes => Paired with Marten Related to Issue [WTI-458]

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

Former-commit-id: 0ca0fc89df1c92b92a81d677d20ae46a1aa374fb

Former-commit-id: 1f6ed11c7cd79415e5bd919f582ad9628dbb974a

  1. … 6 more files in changeset.
- Moved "IsRelevant" from FailureMechanism to ContextMenuBuiders - Added tests for contextMenus Related to Issue [WTI-458]

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

Former-commit-id: 1c91578858ac6f7bc4d31085932e88724bf58505

Former-commit-id: 6a4af56cbbbf0a1a8a35cc5f2238b5cec62b168e

    • -0
    • +25
    ./RingtoetsContextMenuItemFactory.cs
  1. … 6 more files in changeset.
Disable GEKB perform all calculations context menu item in failure mechanism when there are no HRD or failure mechanism sections set.

Related to Issue [WTI-609]

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

Former-commit-id: 0a881b6924cf73f12efca2846bb8254675c3061a

Former-commit-id: d496d48a4ff1fb7872c06bba55519edf0557f4d4

    • -3
    • +12
    ./RingtoetsContextMenuItemFactory.cs
  1. … 7 more files in changeset.
- Added tests for contextMenus Related to Issue [WTI-458]

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

Former-commit-id: be43634d1da8e34a3532f029cd8f68ed38214ed8

Former-commit-id: 9dda932f7bb8e2bd4fd9f4d0ec14449eb9d5c459

  1. … 2 more files in changeset.
Disable GEKB perform all calculations context menu item in calculation group when there are no HRD or failure mechanism sections set. Related to Issue [WTI-609]

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

Former-commit-id: ae2d22d503d93d8f46b9d759d6e6659b54d557be

Former-commit-id: 04e4c4cd5229761c4c6edfa93f53e72b509ef4d6

    • -10
    • +20
    ./RingtoetsContextMenuItemFactory.cs
  1. … 6 more files in changeset.
Disable GEKB perform calculation context menu item when there are no HRD or failure mechanism sections set. Related to Issue [WTI-609]

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

Former-commit-id: d48bca86568dfc32d86f2652351ab7fde264c166

Former-commit-id: e3b0928f862bc411737f702621adf20a497c3287

  1. … 9 more files in changeset.
Refactored "Calculate all" to RingtoetsContextMenuBuilder Related to Issue [WTI-458]

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

Former-commit-id: 07e8ed1a89051752da90c78a546c966efe07c7ae

Former-commit-id: e7b962fa5a38faa6aed562e9d1df71a6ee5db7f2

    • -0
    • +28
    ./RingtoetsContextMenuItemFactory.cs
  1. … 4 more files in changeset.
Refactored "Clear all" to RingtoetsContextMenuBuilder Related to Issue [WTI-458]

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

Former-commit-id: 57313d4e37f0b789579059a1bf89074eb4fa0758

Former-commit-id: 2c4b72cb9d18cc4ba801441f98bab93f8bb2625d

    • -0
    • +35
    ./RingtoetsContextMenuItemFactory.cs
  1. … 3 more files in changeset.
Improved class comments Related to Issue [WTI-460]

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

Former-commit-id: 355158ffede9ac6feeff13de342db2de8030e82d

Former-commit-id: 68b4739a18612324abf9d570213b1498029abd15

    • -20
    • +24
    ./RingtoetsContextMenuItemFactory.cs
  1. … 1 more file in changeset.
Extended RingtoetsContextMenuBuilder Related to Issue [WTI-460]

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

Former-commit-id: 5543e92b3caa5e4d130cb0601ce1813e0f9207f7

Former-commit-id: e0af43cafb2a301f1048a7d97fd25f36e80eaf74

    • -43
    • +40
    ./RingtoetsContextMenuItemFactory.cs
  1. … 5 more files in changeset.
Renamed ContextMenuItemFactory to RingtoetsContextMenuItemFactory Renamed CalculationTreeNodeInfoFactory to RingtoetsTreeNodeInfoFactory Related to Issue [WTI-460]

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

Former-commit-id: b1610031e52c1643f627e01fc6de65d8b1a0410d

Former-commit-id: 885f87961ae005fe1f9b32a49f7b1e6c9a614985

    • -0
    • +218
    ./RingtoetsContextMenuItemFactory.cs
  1. … 12 more files in changeset.