Core.Common.Gui

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Corrected Resharper code inspection issues: - Removed unused references, parameters, classes, variables or files - Adjusted XML docs for correctness - Inlined variables and string literals - Made public local test class into a private test class Related to Issue [WTI-1242]

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

Former-commit-id: f318b443fa987378be9cc263efda0bc6f424c935

Former-commit-id: c4b73b7817552566b02e4c0506b9caefe041b869

  1. … 28 more files in changeset.
Moved ExceptionDialog to Core.Common.Gui. Added tests for coverage. Related to Issue [WTI-1242]

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

Former-commit-id: 4c5faf3e7edeaef347dc7319bc21b14191e7a912

Former-commit-id: 8e0893fa3f8121c9782f4f85505dd5d2777b7598

    • -0
    • +140
    ./ExceptionDialog.Designer.cs
    • -0
    • +131
    ./ExceptionDialog.cs
    • -0
    • +330
    ./ExceptionDialog.resx
    • -22
    • +47
    ./Properties/Resources.Designer.cs
    • binary
    ./Resources/bug-exclamation.ico
  1. … 11 more files in changeset.
Core code-cleanup. Searched for superfluous this. for property assignments as well.

Related to Issue [WTI-1242]

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

Former-commit-id: ecb498b6096a9d8b0a66e69428411d5ae18ec80a

Former-commit-id: 9cc4bad09e38263256924549eaa807b887009030

    • -1
    • +1
    ./Attributes/DynamicPropertyOrderAttribute.cs
    • -19
    • +19
    ./Attributes/DynamicPropertyOrderEvaluationMethodAttribute.cs
    • -1
    • +1
    ./Attributes/DynamicReadOnlyAttribute.cs
    • -19
    • +19
    ./Attributes/DynamicReadOnlyValidationMethodAttribute.cs
    • -1
    • +1
    ./Attributes/DynamicVisibleAttribute.cs
    • -19
    • +19
    ./Attributes/DynamicVisibleValidationMethodAttribute.cs
    • -10
    • +2
    ./Attributes/PropertyOrderAttribute.cs
    • -5
    • +5
    ./Commands/ApplicationFeatureCommandHandler.cs
    • -1
    • +1
    ./Converters/ExpandableArrayConverter.cs
    • -18
    • +18
    ./Forms/MainWindow/MainWindow.xaml.cs
  1. … 276 more files in changeset.
Fixed all license headers for Core.Common Related to Issue [WTI-1242]

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

Former-commit-id: fd6670c8f1dc23800f528d8cf1bcca9b59450097

Former-commit-id: 2fcc5b60e67454ddfd4a0d5153de6c37c38f17b8

  1. … 18 more files in changeset.
Removed unused resources. Related to Issue [WTI-1242]

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

Former-commit-id: b142ac8467b3eb363373cef879b75445d591ee58

Former-commit-id: 2f1872282e2d1ab953f78a743bc5accc27f1456c

  1. … 21 more files in changeset.
Initial framework for logging during migration Related to Issue [WTI-1250]

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

Former-commit-id: 65a0be73e41bdcc943cbb6c9aff1219a07b0386f

Former-commit-id: aa8225c3f1cf98b03cf5ebafadf307387df12a9c

  1. … 13 more files in changeset.
Changes after review. Related to Issue [WTI-1108]

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

Former-commit-id: 1a30b373d0cabf2adab5866e8f31bc8ab0bf43ea

Former-commit-id: 760c0609bfc169d4671144d76a33c13d8aef9da8

  1. … 1 more file in changeset.
Incorporated comments tester: - Changed log message of the UpdateHandlers in case there's no CurrentPath set - Formatting Related to Issue [WTI-1108]

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

Former-commit-id: 04fb354a8759802b4d95f0f142f8f0019f684298

Former-commit-id: 7f38f5d976210d69e3ca98aa1e6b0e9257309949

  1. … 2 more files in changeset.
Added documentation to all exception constructors with serialized data. Related to Issue [WTI-1203]

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

Former-commit-id: 8455520804e57e2c4c596b7ef976c54462dd263c

Former-commit-id: 4c47e334352bbb341bc1ca4de2916c3f2556cb42

    • -0
    • +11
    ./ContextMenu/ContextMenuBuilderException.cs
  1. … 33 more files in changeset.
Fixed XMLdoc for OpenProjectActivity Related to Issue [WTI-1165]

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

Former-commit-id: cc7948ee3eda773c83ab06de249bb00fe82d2e38

Former-commit-id: 8bb6fac52e75ff74f18d5947a43ad74fd829eee5

Review related changes Related to Issue [WTI-1143]

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

Former-commit-id: 5ce9c8dd3f757b50a5528a93a057c7c2412b7e8a

Former-commit-id: 86a66c8b3273d337bcd2d6e02f7590bf2e3fae16

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

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

Former-commit-id: 9ff7cbd3b21470b340106f473f76321cab916bff

Former-commit-id: 84cab7602da1aaabcc7f1b85cd7aeca983ca50d6

  1. … 3 more files in changeset.
Improvements after review. Related to Issue [WTI-1143]

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

Former-commit-id: 61a3ea7e63971f7dac1d89909003a39621ea4894

Former-commit-id: e0301c2944a13792c06369904cb0b5ae415a777d

    • -3
    • +3
    ./ContextMenu/ContextMenuBuilderException.cs
  1. … 34 more files in changeset.
* Moved default values from dialogs to *Info objects to improved testability ** Unable to properly test images on the dialogs themselves, due to background color in dialog. Related to Issue [WTI-1159]

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

Former-commit-id: 9134e97086c6967f193b7a698ed75d7623df7e92

Former-commit-id: 9cdcdaa9d82d067e5bd0c0e621ff3e32b662d655

    • -27
    • +27
    ./Properties/Resources.Designer.cs
  1. … 23 more files in changeset.
Made exporter selection dialog related implementations more consistent Related to Issue [WTI-1159]

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

Former-commit-id: 71b6907dbac0d33bd693865bf214afce401de1ba

Former-commit-id: 91f335999b83d187813a849b745baa3dfcf76817

Made exporter selection dialog related implementations more consistent Related to Issue [WTI-1159]

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

Former-commit-id: 8691e0af6a3aa753d34101091880a7192daa55bc

Former-commit-id: 20223018eac665d10a44a58ea930c8132e86ce45

  1. … 3 more files in changeset.
Removed unused references fixed typo paired with bouvrie Related to Issue [WTI-1049]

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

Former-commit-id: 3d002b4243d9f0109eb93ae7554f04834585ac76

Former-commit-id: b8dc47f846a37f8df0cfe56d8ce83faee121aab7

  1. … 3 more files in changeset.
* Fixed typos. * Renamed MigrationNeeded to MigrationRequired. * Cleanup. * Asserting log messages improved by taking type of message into account. * Moved CriticalFileReadException from Core.Common.IO\Exceptions to Core.Common.Base\IO * Task is now disposed when disposing ActivityProgressDialog * Put license header back Related to Issue [WTI-1049]

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

Former-commit-id: 54560eb7ca6c0a99cdcf14b0406c23b9eca57311

Former-commit-id: 3b703601071d34a3cca2779d0c671f3d3ddabcd9

    • -14
    • +24
    ./Commands/StorageCommandHandler.cs
  1. … 118 more files in changeset.
* Refactored IInquiryHelper such that it no longer depends on FileFilterGenerator. ** From the abstraction level point of view, it just feels incorrect to pass generators around. * Extended IInquiryHelper with a method to check if a certain optional step should be performed or not. * Refactored StorageCommandHandler to use IInquiryHelper instead of showing dialogs itself. ** This should solve some issues we're having on the build server (expected dialogs not appearing) ** Also improves consistency with other code. * CalculationConfigurationWriter.WriteDistributionProperties now based on IDictionary instead of IEnumerable<Tuple> * Cleanup Related to Issue [WTI-1153]

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

Former-commit-id: dec4df77800b65c57be1a8c2b6783e85a0f2c900

Former-commit-id: 9288f6b609cf96bdfa62d1fefa7e13ba956a85b7

    • -27
    • +17
    ./Commands/StorageCommandHandler.cs
    • -0
    • +44
    ./OptionalStepResult.cs
  1. … 14 more files in changeset.
* StorageCommandHandler now used SaveProjectActivity for saving a project. Related to Issue [WTI-1049]

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

Former-commit-id: b8a3b475daa67df690ffd26a1c074ce0dcfef462

Former-commit-id: 6602462746c5f97cfb226d0d0f53dcc4ba0df72b

    • -65
    • +6
    ./Commands/StorageCommandHandler.cs
  1. … 1 more file in changeset.
* Defined activity for saving a IProject instance. Related to Issue [WTI-1049]

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

Former-commit-id: 5af9950e900268761408fba8893c9b5de179fc19

Former-commit-id: c98abd125d6387efba1f28228285c59882984fe6

    • -0
    • +174
    ./SaveProjectActivity.cs
  1. … 2 more files in changeset.
* Extended OpenProjectActivity such that Cancel works as expected. * Removed obsolete Memory Fix. Related to Issue [WTI-1049]

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

Former-commit-id: 19f1e1967a00db9cb01dc715aa3be62eb5b3e7bb

Former-commit-id: 8923f8d5c406e5405957bca74677284dc6b10352

  1. … 2 more files in changeset.
* Progress text for OpenProjectActivity Related to Issue [WTI-1049]

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

Former-commit-id: 0732d59ab594223d4bbc1bfa411122049a8178e9

Former-commit-id: b9efe454a5381a031fdda9311e36ae3e2def5cee

    • -22
    • +56
    ./Properties/Resources.Designer.cs
  1. … 1 more file in changeset.
* Refactored StorageCommandHandler to use OpenProjectActivity. * Fixed bug in ActivityProgressDialog related to cross-threading exceptions. ** Implementation was not guaranteed to use the correct SynchronizationContext. ** Removed ProgressReporter, due to now being obsolete. ** Setting of SynchronizationContext no longer required in unit tests. * Changed default value for MigrationNeeded.

Related to Issue [WTI-1049]

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

Former-commit-id: 40eb861411768c4a895eae17f71470458887712d

Former-commit-id: b19c95c5b04582cf50f772cb1dbfcc34f8b1fb6d

    • -39
    • +92
    ./Commands/StorageCommandHandler.cs
    • -79
    • +0
    ./Forms/ProgressDialog/ProgressReporter.cs
  1. … 8 more files in changeset.
Implemented review comments: - Set the owner of the dialog windows of the DialogBasedInquiryHelper -- Fixed affected tests - Added assertions for the log level severity - Corrected typos in XML docs - Corrected reference settings - Added missing integration tests Related to Issue [WTI-1095]

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

Former-commit-id: ee73e748a0bfbe46c7cc81b43aeae35429b04b5f

Former-commit-id: 6de73e069e8defde63b355a77826f15c39e4ec30

  1. … 6 more files in changeset.
* Defined OpenProjectActivity class. ** Class handles opening a project and optionally migrating it first to the current version. Related to Issue [WTI-1049]

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

Former-commit-id: 871238779ed91c9968d4deba9f60c6a84534cda4

Former-commit-id: b7e95c17580c13c42e8b5a2b00b30b6418c30283

    • -0
    • +211
    ./OpenProjectActivity.cs
  1. … 3 more files in changeset.
* Refactored RingtoetsProjectMigrator to move responsibility of determining target location for migrated project to seperate method. * Fixed 2 failing tests. Related to Issue [WTI-1049]

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

Former-commit-id: e725e71ba9d80444c8a49d6618832bee6ccd237d

Former-commit-id: 457b058abc9f8baa453a165f511492c49c895042

  1. … 10 more files in changeset.
* Some refactoring to RingtoetsProjectMigrator ** Now more clear return result for ShouldMigrate method between the need for migration or not or when the migration workflow is aborted. ** Moved responsibility of asking user for accepting migration from Migrate to ShouldMigrate method.

These steps have been taken as preparation to ask user for confirmation and location before starting an Activity to perform the actual migration and subsequently opening the migrated project.

Related to Issue [WTI-1049]

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

Former-commit-id: 3d793cf304e5f7f685b1d4341368297a7cbebdc7

Former-commit-id: 61ca241d865cafa2dc91367fd1dbf780aa790f73

    • -21
    • +19
    ./Commands/StorageCommandHandler.cs
  1. … 7 more files in changeset.
Incorporated the RingtoetsProjectMigrator in the StorageCommandHandler: - Fixed compilation errors of affected tests -- Introduced mocks where necessary - Ran DeltaresClean Related to Issue [WTI-1095]

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

Former-commit-id: d546ad32067db464f96e9faa5a55aaa2b5eef6ca

Former-commit-id: c73bfdeaf395de90207b9bdedc43baf05869ac0b

    • -5
    • +39
    ./Commands/StorageCommandHandler.cs
  1. … 13 more files in changeset.
Investigate alternative for failing SaveDialogTests on the buildserver: - Expanded the IInquiryHelper with a GetTargetFileLocation which takes a file filter and a suggested initial name as argument - Incorporated mentioned feature in the RingtoetsProjectMigrator - Adjusted failing tests Related to Issue [WTI-1095]

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

Former-commit-id: 5dcba28f6f531f2c0cc17da88348f279e582a6e1

Former-commit-id: b94f1c1b7bad927661d5eae11fecd6e414e30e71

  1. … 3 more files in changeset.