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); }
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); }