Beispiel #1
0
        static void ExportStringTable(MenuCommand command)
        {
            var table = command.context as StringTable;

            Debug.Assert(table != null, "Expected StringTable");

            var wnd = ExporterWindow.ShowWindow();

            wnd.SelectedTables.SetSelection(table);
        }
Beispiel #2
0
        public static void ExportCollection(MenuCommand command)
        {
            var collection = command.context as StringTableCollection;

            Debug.Assert(collection != null, "Expected StringTableCollection");

            var wnd = ExporterWindow.ShowWindow();

            wnd.SelectedTables.SetSelection(collection);
        }