TreeNodeExpandCollapseState.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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. … 156 more files in changeset.
* Fixed bug in TreeNodeExpandCollapseState due to ReferenceComparer. PipingContext objects are recreated on tree refresh, therefore override Equals method on their wrapped data. Added regression test. * Fixed exception when restoring state on a recorded node when new items have been added between recording and restoring (such as during a drag & drop operation). * Implemented review suggestion of WTI-Review-199 ** Small refactoring on drag & drop strategies in PipingCalculationGroupContextNodePresenter Related to Issue [WTI-174]

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

Former-commit-id: 23256277712965500a17ed3391aaa6cb87f1c014

  1. … 2 more files in changeset.
* Implemented review suggestions of WTI-Review-194: ** Improved Xml docs. ** TreeNodeExpandCollapseState now used special IComparer when hashing, doing this on reference. This is more reliable when a Equals override is implemented. ** Fixed bugs in tests related to not calling MockRepository.VerifyAll or mockRepository.ReplayAll. ** Renamed PipingCalculationGroup.NameIsEditable to PipingCalculationGroup.IsNameEditable. ** Improved resources messages. ** Refactored Drag & Drop handling code of PipingCalculationGroupContextNodePresenter to strategies. ** Added unit tests to improved (functional) coverage. Related to Issue [WTI-174]

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

Former-commit-id: 1d6426433d7b91be2d5af222a79371f81db4e326

  1. … 16 more files in changeset.
* Introduced TreeNodeExpandCollapseState in order to have a means to save the expand/collapse state of tree nodes and being able to restore that state back after a treeview refresh. * Drag&Dropping piping calculation and calculation group nodes now have their expanded/collapsed state retained after the action. * Added GetHashCode to PipingContext, as it's overriding Equals Related to Issue [WTI-174]

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

Former-commit-id: 1a665f3d971c16e14754e5e1f180e991ba8058a2

    • -0
    • +79
    ./TreeNodeExpandCollapseState.cs
  1. … 9 more files in changeset.