public AnnoList() : base() { Source = new AnnoSource(); Scheme = new AnnoScheme(); Meta = new AnnoMeta(); }
public AnnoList() : base() { Source = new AnnoSource(); Scheme = new AnnoScheme(); Meta = new AnnoMeta(); ID = GetRandomInt(1, Int32.MaxValue); }
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; } } }