Scenario |
Type |
Detail |
Show dialog |
Basic Path |
User choose from Main menu: Version -> Add new version ... Program call EndEdit() to save version from applying simple transformation (if necessary). Program show Dialog to offer possibillities of data source. |
Dialog - enter values |
Basic Path |
Program initalize dialog NewVersionForm. After load, program fills up combo box with all table names using DBDataAdmin.Versions.FillUpComboWithTableName(...).
User fill name of new version. User may choose from two types of source data. a) from existing table b) from CSV file
In case a) User choose table In case b) User enter file name or list file using "Browse ..." button.
User create version using Create button. |
Dialog - check user inputs |
Basic Path |
Program check if New version name is not empty. Program check if table name is not empty (in case of Data from database) Program check if file name is not empty and exists. |
Dialog - create version |
Basic Path |
Program call DBDataAdmin.Versions.VersionFromTable (in case Data from database), check return value (>= 0) and close dialog. Program call DBDataAdmin.Versions.VersionFromFile (in case Data from file name), check return value (>= 0) and close dialog. |
Refresh tree view |
Basic Path |
Main application refresh tree view. And call BeginEdit() to enable/disable buttons and prepare for using simple transformation. |