Example #1
0
 public AnnoList()
     : base()
 {
     Source = new AnnoSource();
     Scheme = new AnnoScheme();
     Meta   = new AnnoMeta();
 }
Example #2
0
 public AnnoList()
     : base()
 {
     Source = new AnnoSource();
     Scheme = new AnnoScheme();
     Meta   = new AnnoMeta();
     ID     = GetRandomInt(1, Int32.MaxValue);
 }
Example #3
0
 private void exportSelectedAnnoAs()
 {
     if (AnnoTierStatic.Selected.AnnoList != null)
     {
         string directory = AnnoTierStatic.Selected.AnnoList.Source.File.Directory;
         string path      = FileTools.SaveFileDialog(AnnoTierStatic.Selected.AnnoList.Source.File.Name, ".annotation", "Annotation(*.annotation)|*.annotation", AnnoTierStatic.Selected.AnnoList.Source.File.Directory);
         if (path != null)
         {
             AnnoSource source = AnnoTierStatic.Selected.AnnoList.Source;
             AnnoTierStatic.Selected.AnnoList.Source.File.Path = path;
             AnnoTierStatic.Selected.AnnoList.Save(null, true);
             AnnoTierStatic.Selected.AnnoList.Source = source;
         }
     }
 }