FileImportActivity.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updating copyright year. WTI-2951

  1. … 5657 more files in changeset.
Updating copyright year. WTI-2914

  1. … 5658 more files in changeset.
Updated copyright year. WTI-2882

  1. … 5659 more files in changeset.
Updated license headers. WTI-2820

  1. … 126 more files in changeset.
Updated year in license header to 2022. WTI-2715

  1. … 5729 more files in changeset.
Adapted copyright year. WTI-2195

  1. … 431 more files in changeset.
Updated license headers in source files of src\Core.Common. WTI-1931

  1. … 225 more files in changeset.
Changed copyright year. Paired with lubbers. WTI-1828

  1. … 6095 more files in changeset.
Ran Deltares Cleanup:

- Performed for Core.Common, except TestUtil

WTI-1767

  1. … 70 more files in changeset.
Merged revision(s) from branches/1097

Related to Issue [WTI-1097]

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

Former-commit-id: 96f1603afbcbdf665f6ad32a8dfea44f6045b869

Former-commit-id: 0d99ea5fdd3146735e103c57712ef8728c1f11b6

  1. … 79 more files in changeset.
Updated license headers in core. Related to Issue [WTI-1242]

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

Former-commit-id: e7f214adee97782d28ee82f096d8cc27547439e6

Former-commit-id: b339ec31825c8ea8fed91e675069b65afba8433b

  1. … 817 more files in changeset.
Added validation for Probability of StochasticSoilProfile. Added StochasticSoilmodelUpdateException. Provided base implementation of the DoPostImport (cancelable behavior) and an overridable DoPostImportUpdates to implement just the model updates. Added Strategy postfix to IStochasticSoilModelUpdateStrategy implementations. Fixed liskov issue with StochasticSoilModelUpdateDataStrategy. Related to Issue [WTI-1070]

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

Former-commit-id: 1b86b03430a8714c43abdb447dbf9a561426a94e

Former-commit-id: 781140c2712d3dd80e4e97c162a8455e54d8227d

  1. … 40 more files in changeset.
Merged revision(s) 7595-7638 from branches/WTI-490:

Merged revision(s) 7537-7594 from trunk

........

Initial commit of changes from kleijn:

- Removed HandleUserCancellingImport: FileImporter should not decide on its own how to handle Canceled actions. Consequently removed the messages that are generated by these handles

- Added logic to the importers: Cancelling is not possible when putting data on the data model. Action will always execute when it is in this stage

- Added branching paths in the activity: Import() returns false when it has failed or is cancelled

Note: failing tests will be fixed in following commits

........

Fixed tests of the FileImporterBase and Activity:

- Checks on the states are made for the 4 different paths of the Import:

-- Import successful, canceled or not

-- Import not successful, canceled or not

- Moved logging from the activity to the importer

- Added tests to assert mentioned behaviour

........

Fixed tests of the PipingSurfaceLinesCsvImporter:

- Added test to verify behaviour when canceling at the two stages during the import

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

- Added resource value for the ImportActivity (missing file commit)

........

Fixed tests of the PipingSoilProfilesImporter:

- Added test to verify behaviour when canceling at the three stages during the import

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

- Cleaned redundant brackets

........

Fixed tests of the StructuresImporter:

- Added test to verify behaviour when canceling at the two stages during the import. Test regarding cancelling while Creating structures is missing

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

Adjusted test in PipingSoilProfilesImporterTest

- Changed initial value of the result to make clear that the value is set correctly

........

Fixed tests of the ProfilesImporters:

- Added test to verify behaviour when canceling at the two stages during the import. Test regarding cancelling while Creating structures is missing

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

- Removed obsolete Cancel call in the PipingSoilProfilesImporterTest

........

FileImporters should call Observers in case the import was successfull AND was cancelled at an uncancellable stage.

Note: test is missing to verify this behaviour

........

Fixed tests of the ProfilesImporters:

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

- Temporarily removed the Cancel tests, because the FeatureBasedMapDataImporter does not have a handle for NotifyProgress. Hence, Cancel method cannot be invoked when Import is running.

........

Fixed tests of the FailureMechanismSectionsImporter:

- Added test to verify behaviour when canceling at the three stages during the import

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

- Cleaned up tests in the StructuresImporterTest

........

Fixed tests of the ReferenceLineImporter:

- Added test to verify behaviour when canceling at the two stages during the import

- Reverted changes related to HandleUserCancellingImport: messages are written by the LogImportCanceledMessage and handled adequately by the base

........

Related to Issue [WTI-490]

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

Former-commit-id: 1c355702dfbd410c7c4733529d8db9e243496eba

Former-commit-id: 75c614862d018947936ef85e3775a125c425c032

  1. … 26 more files in changeset.
Fixed bug when cancelling an import action results in a failed state of the activity: - Activity checks if it wasn't cancelled. If it was, do not set the activity state to failed; otherwise check the result of the import action - Added test to assert the behaviour

Related to Issue [WTI-982]

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

Former-commit-id: 130e530ddcc3eea92352e5a4e389a83109f89119

Former-commit-id: ffaf023f8720c812f357f0d8b9fd4e2739c39336

  1. … 1 more file in changeset.
Changed the behavior in the FileImportActivity. If the fileImporter.Import() returns FALSE (failed import), the Activity state will be set to ActivityState.Failed to indicate that the import action was unsuccessful. Related to Issue [WTI-982]

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

Former-commit-id: 252f988a74852e53593cd278cf5d3ea682a9fd0e

Former-commit-id: 1782136886b4160733dad2821df1635b8d0d0d5d

  1. … 1 more file in changeset.
* Added standard serialization constructor to all Exception classes. * Explicitly defined culture for string.Format methods. * Replaced IFileImporter.ProgressChanged property to method (recommendation by C# coding conventions) * Renamed classes containing win32.dll invokes to NativeMethods (recommendation by C# coding conventions)

Related to Issue [WTI-931]

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

Former-commit-id: 78fae4fb038935c7a58a0fb534baa750b173d589

Former-commit-id: fc7d0938a3677be66218915a3e665a9cc6757df9

  1. … 164 more files in changeset.
* FileImporterBase now takes the import targets as constructor argument. ** Removed targetItem argument from IFileImporter.DoPostImportUpdates. * Removed abstract keyword from FileImportBase.ProgressChanged. Related to Issue [WTI-497]

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

Former-commit-id: 5a81cae977dee513511a3257dedbeba6df57983a

Former-commit-id: cc770d424d622685b68b2d59f2c6fe21d1cd949c

  1. … 17 more files in changeset.
* Moved filePath argument from IFileImporter.Import to import class constructor. Related to Issue [WTI-497]

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

Former-commit-id: 7c21b2cb0e14ce82b05211488ea6dd8b8f3ef8a4

Former-commit-id: 38d3653a05f0b36eb7d42bd93a7b8a1f4b44f453

  1. … 29 more files in changeset.
* Removed unsued properties and methods from IFileImporter. ** Added 'name' argument to FileImportActivity constructor. * Removed 'targetItem' from IFileImport.Import method. * Refactored GuiImportHandler to work with importInfo. Related to Issue [WTI-497]

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

Former-commit-id: bdc6bd3e00fb0ed24703b91de78e974e322b8cdf

Former-commit-id: 52be75d229dca9b85b83ee556983e03267adadf1

  1. … 24 more files in changeset.
Fixing code issues. Related to Issue [WTI-737]

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

Former-commit-id: eda341f18b4256e6ec2b5a35abeb824cc3ad066a

Former-commit-id: 4fd7ec51856c1c1ea4c8417287d6a67a6dfd9983

  1. … 53 more files in changeset.
* Introduced FileImporterBase to allow for additional NotifyObserver calls to be done on UI thread when done importing. ** Moved responsibility for NotifyObserver on import target from FileImportActivity to FileImporterBase. ** Updated all existing importers to inherit from FileImporterBase. * Implemented additional logic for dealing with new ReferenceLine, when one was already available. Related to Issue [WTI-364]

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

Former-commit-id: dca74a9f10e6da1912ac7f172df8fe95cfc5b34f

Former-commit-id: f0971cefa038dbbf4b03fb9ffe60c61909e3f74f

  1. … 15 more files in changeset.
Removed redundant white spaces from source header file

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

Former-commit-id: 5385e547d35c5b2b44dd4f890b5e92439e73ba0e

  1. … 376 more files in changeset.
Fix typo in license header files. Related to Issue [WTI-214]

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

Former-commit-id: faf0edbcd09426c7514c2271cf2f9f7f6b953170

  1. … 357 more files in changeset.
Added license header in all files that are released. Related to Issue [WTI-214]

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

Former-commit-id: 16c5098cc1d09af880efbe57a1aafd06f8039ef5

  1. … 406 more files in changeset.
Reintegrate branch to trunk. Related to Issue [WTI-184]

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

Former-commit-id: 823eca02392f29a5efa73ad3cbf3925824c622cc

  1. … 131 more files in changeset.
* Small clean ups * Removed IEventedList dependency from ITreeView related classes, introducing RegisterNodePresenter method to handle special 'after add' logic. * Removed IEventedList dependency from WizardDialog. * Removed INotifyCollectionChanging as it is not used. * Deleted unused classes and interfaces from Core.Common.Utils. Related to Issue [WTI-187]

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

Former-commit-id: 05ec6eaef57781d0e16ccb113e4114d211fcaa5c

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

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

Former-commit-id: 0bfe60fc03b2fe6934e88ff29c896f171891ed4f

  1. … 4 more files in changeset.
Review related change => Ensured FileImportActivity only handles one file import at the time Related to Issue [WTI-182]

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

Former-commit-id: 551afd2638bb06e0060dc66fa9c29bc2c83bd678

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

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

Former-commit-id: 19910487bb4b96f13370912ca535d2888bbe09f6

  1. … 6 more files in changeset.
Improved test coverage of Core.Common.Base Related to Issue [WTI-182]

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

Former-commit-id: 83a4896b3bb0bb85647cc9d4312b79eda5542fa2

  1. … 1 more file in changeset.