PipingFailureMechanismNodePresenter.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Move Confirm resource to a more general resource. Related to Issue [WTI-172]

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

Former-commit-id: f2e54a39f280c9955b34e23d7b77d3d4f1ccd6a9

    • -1
    • +2
    ./PipingFailureMechanismNodePresenter.cs
  1. … 9 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
    • +7
    ./PipingFailureMechanismNodePresenter.cs
  1. … 21 more files in changeset.
Moved ColorTheme related classes to ColorTheme subdir. Performed remove redundant code over MainWindow.xaml.cs. Localized grid columns of FailureMechanismContributionView's grid. Moved tooltip update logic to ProjectExplorerGuiPlugin (from ProjectExplorer). Added Ringtoets.Common.Data.Test project. Added Name and Contribution to IFailureMechanism. Added BaseFailureMechanism which implements IFailureMechanism. FailureMechanismContribution for AssessmentSection now set from sub classes of AssessmentSectionBase. Localized resources. Related to Issue [WTI-168]

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

Former-commit-id: 31dbb343b4e96aadcec0fc7ac1561606ee8791f4

    • -1
    • +1
    ./PipingFailureMechanismNodePresenter.cs
  1. … 55 more files in changeset.
Swapped TextBox for norm with a NumericUpDown control. Restricted value to 0-200000. Related to Issue [WTI-168]

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

Former-commit-id: c8ebf4f893a330650c32aece8a74d70a30f8bf84

    • -2
    • +1
    ./PipingFailureMechanismNodePresenter.cs
  1. … 11 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

    • -6
    • +29
    ./PipingFailureMechanismNodePresenter.cs
  1. … 19 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
    ./PipingFailureMechanismNodePresenter.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

    • -1
    • +8
    ./PipingFailureMechanismNodePresenter.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

    • -14
    • +30
    ./PipingFailureMechanismNodePresenter.cs
  1. … 11 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

    • -6
    • +6
    ./PipingFailureMechanismNodePresenter.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

    • -12
    • +2
    ./PipingFailureMechanismNodePresenter.cs
  1. … 38 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

    • -2
    • +1
    ./PipingFailureMechanismNodePresenter.cs
  1. … 77 more files in changeset.
* Moved NamingHelper from Ringtoets.Piping.Forms to Ringtoets.Common.Forms * Unique names are generated when adding a new assessment section to the project. Related to Issue [WTI-165]

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

Former-commit-id: ef6d3a0b28ca60464f9f7c6c9b64e729a8c1643c

    • -1
    • +2
    ./PipingFailureMechanismNodePresenter.cs
  1. … 13 more files in changeset.
Added documentation Added tests for ProjectNodePresenter GetContextMenu Related to Issue [WTI-172]

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

Former-commit-id: 09404880dd12d9a47661b531ca02ec54ceab9408

    • -0
    • +3
    ./PipingFailureMechanismNodePresenter.cs
  1. … 6 more files in changeset.
Got rid of IActivity Related to Issue [WTI-182]

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

Former-commit-id: 5893094cd145b78b2d50f28e3bedbe45febb6e10

    • -2
    • +2
    ./PipingFailureMechanismNodePresenter.cs
  1. … 12 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

    • -1
    • +1
    ./PipingFailureMechanismNodePresenter.cs
  1. … 17 more files in changeset.
Added ActivityProgressDialogRunner and integrated it into PipingFailureMechanismNodePresenter Related to Issue [WTI-182]

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

Former-commit-id: fb70a51996bc12bd4fa6e0d361a26ad5c381af6b

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

    • -49
    • +88
    ./PipingFailureMechanismNodePresenter.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

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

    • -3
    • +14
    ./PipingFailureMechanismNodePresenter.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
    ./PipingFailureMechanismNodePresenter.cs
  1. … 59 more files in changeset.
* Introduced PipingCalculationGroup, to allow the user to define piping calculation groups. ** Introduced IPipingCalculationItem as element type for PipingFailureMechanism.Calculations in order to have that collection contain both PipingCalculation and PipingCalculationFolder instances. *** Implemented extension methods to recursively retrieve all PipingCalculation instances when dealing with IPipingCalculationItem. Related to Issue [WTI-174]

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

Former-commit-id: 11e18847b0a473d25991a1d027fcd90e41d7adbf

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

    • -2
    • +2
    ./PipingFailureMechanismNodePresenter.cs
  1. … 47 more files in changeset.
Renamed and added shortcuts for context menu items. Related to Issue [WTI-172]

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

Former-commit-id: 2d73b831958c7dfb579ad17805f5a0536f1e1e43

    • -1
    • +1
    ./PipingFailureMechanismNodePresenter.cs
  1. … 7 more files in changeset.
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

    • -5
    • +5
    ./PipingFailureMechanismNodePresenter.cs
  1. … 24 more files in changeset.
* Refactored how 'no output' scenario is handled in project tree, such that the nodes for output and calculation report are always visible. ** Empty output is represented by the newly introduced presentation objects EmptyPipingOutput and EmptyPipingCalculationReport. *** Created node presenters for these new classes * Can now remove piping calculations. * Introduced PipingCalculationsTreeFolder as specialization of CategoryTreeFolder for piping calculations. ** This new presentation object has taken the responsibility from PipingFailureMechanismNodePresenter to wrap calculations in PipingCalculationInputs presentation objects. Related to Issue [WTI-171]

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

Former-commit-id: be2e9ae70de5143696d46fde8bf8cad6e0feaba6

    • -11
    • +1
    ./PipingFailureMechanismNodePresenter.cs
  1. … 18 more files in changeset.
Moved *nunit.framework* (from 2.5.11) to NUGet (to version 2.6.4) - Fixed incorrect order of *SoilProfiles* and *SurfaceLines*. With the older version of NUnit, the test failed to identify this incorrect order Related to Issue [WTI-100]

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

Former-commit-id: 63d5be1e75f3e481c99b802445511d545c4cd668

    • -1
    • +1
    ./PipingFailureMechanismNodePresenter.cs
  1. … 60 more files in changeset.
* 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
    • +8
    ./PipingFailureMechanismNodePresenter.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

    • -21
    • +37
    ./PipingFailureMechanismNodePresenter.cs
  1. … 16 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
    • +2
    ./PipingFailureMechanismNodePresenter.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

    • -18
    • +1
    ./PipingFailureMechanismNodePresenter.cs
  1. … 69 more files in changeset.