diff --git a/DistFiles/Language Explorer/Export Templates/Grammar/GrammarSketch.xml b/DistFiles/Language Explorer/Export Templates/GrammarSketch.xml similarity index 100% rename from DistFiles/Language Explorer/Export Templates/Grammar/GrammarSketch.xml rename to DistFiles/Language Explorer/Export Templates/GrammarSketch.xml diff --git a/DistFiles/Language Explorer/Export Templates/Grammar/GrammarSketchXLingPaper.xml b/DistFiles/Language Explorer/Export Templates/GrammarSketchXLingPaper.xml similarity index 100% rename from DistFiles/Language Explorer/Export Templates/Grammar/GrammarSketchXLingPaper.xml rename to DistFiles/Language Explorer/Export Templates/GrammarSketchXLingPaper.xml diff --git a/DistFiles/Language Explorer/Export Templates/Grammar/Phonology.xml b/DistFiles/Language Explorer/Export Templates/Phonology.xml similarity index 100% rename from DistFiles/Language Explorer/Export Templates/Grammar/Phonology.xml rename to DistFiles/Language Explorer/Export Templates/Phonology.xml diff --git a/Src/xWorks/GrammarExportDialog.cs b/Src/xWorks/GrammarExportDialog.cs deleted file mode 100644 index eed56f97c1..0000000000 --- a/Src/xWorks/GrammarExportDialog.cs +++ /dev/null @@ -1,53 +0,0 @@ -// Copyright (c) 2024 SIL International -// This software is licensed under the LGPL, version 2.1 or later -// (http://www.gnu.org/licenses/lgpl-2.1.html) -using System; -using System.Collections.Generic; -using System.Diagnostics; -using System.IO; -using System.Text; -using System.Windows.Forms; -using System.Xml; -using SIL.Extensions; -using SIL.LCModel.Core.Cellar; -using SIL.LCModel.Core.Text; -using SIL.LCModel.Core.WritingSystems; -using SIL.FieldWorks.Common.Controls; -using SIL.LCModel.Core.KernelInterfaces; -using SIL.FieldWorks.Common.FwUtils; -using SIL.FieldWorks.Common.RootSites; -using SIL.LCModel; -using SIL.LCModel.Application; -using SIL.LCModel.Infrastructure; -using SIL.LCModel.Utils; -using SIL.Utils; -using SIL.WritingSystems; -using XCore; - -namespace SIL.FieldWorks.XWorks -{ - public class GrammarExportDialog : ExportDialog - { - /// ------------------------------------------------------------------------------------ - /// - /// Constructor. - /// - /// ------------------------------------------------------------------------------------ - public GrammarExportDialog(Mediator mediator, PropertyTable propertyTable) - : base(mediator, propertyTable) - { - m_helpTopic = "khtpExportLexicon"; - } - - /// ------------------------------------------------------------------------------------ - /// - /// Get the relative path to the export configuration files. - /// - /// ------------------------------------------------------------------------------------ - protected override string ConfigurationFilePath - { - get { return String.Format("Language Explorer{0}Export Templates{0}Grammar", Path.DirectorySeparatorChar); } - } - - } -} diff --git a/Src/xWorks/RecordClerk.cs b/Src/xWorks/RecordClerk.cs index 220d6e57d0..8500c747b4 100644 --- a/Src/xWorks/RecordClerk.cs +++ b/Src/xWorks/RecordClerk.cs @@ -1193,13 +1193,6 @@ public bool OnExport(object argument) dlg.ShowDialog(); } } - else if (areaChoice == "grammar") - { - using (var dlg = new GrammarExportDialog(m_mediator, m_propertyTable)) - { - dlg.ShowDialog(); - } - } else { // It's somewhat unfortunate that this bit of code knows what classes can have custom fields. diff --git a/Src/xWorks/xWorks.csproj b/Src/xWorks/xWorks.csproj index 8ac222d0bf..b8d5448b84 100644 --- a/Src/xWorks/xWorks.csproj +++ b/Src/xWorks/xWorks.csproj @@ -343,9 +343,6 @@ - - Form - Form