Added property settings WhatROsToConvert, SelectedROFst, AnnotateWhenConvertingToText, AnnotateWhenShowingMissingRO, and AnnotateWhenShowingDifferentRO

Added property settings WhatROsToConvert, SelectedROFst, AnnotateWhenConvertingToText, AnnotateWhenShowingMissingRO, and AnnotateWhenShowingDifferentRO.
Added ROUpdateMode enum
Changed how text is added to tbErrors textbox
Added property settings WhatROsToConvert, SelectedROFst, AnnotateWhenConvertingToText, AnnotateWhenShowingMissingRO, and AnnotateWhenShowingDifferentRO
Added createEmptyPROMS boolean value to allow creating an empty PROMS database
Added loadTree menu item click event handler
Added Load Tree menu item, Selection main menu with Fix ROs menu item under Selection menu item and Create Empty database menu item
Used createEmptyPROMS value.  Changed how Migration Error annotation type created.
This commit is contained in:
Rich
2014-05-14 02:05:11 +00:00
parent 37afbace90
commit 249ddafe54
6 changed files with 297 additions and 76 deletions

View File

@@ -121,6 +121,7 @@ namespace DataLoader
List<Folder> lfldr = vlnDataPathFolders();
List<vlnObject> dp2 = new List<vlnObject>();
if (frmMain.createEmptyPROMS) return true;
foreach (Folder fldr in lfldr)
{
TreeNode tn = frmMain.TV.Nodes.Add(fldr.Name);
@@ -156,6 +157,8 @@ namespace DataLoader
frmMain.Status = "Getting AnnotationTypes";
CommentType = AnnotationType.GetByName("Comment"); // .MakeAnnotationType("Comment", null);
MigrationErrorType = AnnotationType.GetByName("Migration Error");
if(MigrationErrorType == null)
MigrationErrorType = AnnotationType.MakeAnnotationType("Migration Error", null);
VerificationRequiredType = AnnotationType.GetByName("Verification Required");
List<Folder> lfldr = vlnDataPathFolders(); // get plant level list.