-
-
Notifications
You must be signed in to change notification settings - Fork 43
Expand file tree
/
Copy pathMain.xml
More file actions
997 lines (974 loc) · 61.1 KB
/
Main.xml
File metadata and controls
997 lines (974 loc) · 61.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XML Spy v4.4 U (http://www.xmlspy.com) by Randy Regnier (SIL International) -->
<window label="FieldWorks Language Explorer" settingsId="Language Explorer">
<!--See the following comments as a guide to understanding the structure of these XML files and how they
relate to the C# code.-->
<!--See the comments at the beginning of the Menus section for an understanding of how the commands
are related to menus and areas. This should also help in understanding how they are related
to toolbars-->
<!--See the Properties section at the end of this file. This included Properties sections of other files
where the default tool is defined for each 'Area' of FLEX-->
<!--The main sections of this file are the following
commands
lists
controls (dialog or embedded browse view
menus
contextMenus
sidebar
toolbars
statusbar
resources
listeners
defaultProperties
-->
<!-- ********************************************************** -->
<!-- ************************ commands *********************** -->
<!-- ********************************************************** -->
<commands>
<command id="CmdChooseLangProject" label="_Open..." message="ChooseLangProject" icon="OpenProject" shortcut="Ctrl+O"/>
<!-- Send/Receive commands. See "ContextHelp.xml" file for corresponding tooltips. -->
<command id="CmdFLExBridge" label="Send/Receive _Project (with other FLEx users)..." icon="syncSendReceive" message="FLExBridge" />
<command id="CmdViewMessages" label="_View Project Messages..." message="ViewMessages" />
<command id="CmdLiftBridge" label="Send/Receive _Lexicon (WeSay)..." icon="syncSendReceive" message="LiftBridge" />
<command id="CmdViewLiftMessages" label="Vie_w Lexicon Messages..." message="ViewLiftMessages" />
<command id="CmdObtainAnyFlexBridgeProject" label="_Get Project from Colleague..." icon="syncObtain" message="ObtainAnyFlexBridgeProject" />
<command id="CmdObtainLiftProject" label="Get Lexicon (WeSay) and _Merge with this Project..." icon="syncObtain" message="ObtainLiftProject" />
<command id="CmdObtainFirstFlexBridgeProject" label="Send this _Project for the first time..." icon="syncSendReceiveFirst" message="FirstFLExBridge" />
<command id="CmdObtainFirstLiftProject" label="Send this _Lexicon for the first time (to WeSay)..." icon="syncSendReceiveFirst" message="FirstLiftBridge" />
<command id="CmdHelpChorus" label="_Help..." message="ShowChorusHelp" />
<command id="CmdCheckForFlexBridgeUpdates" label="Check for FLEx Bridge _Updates..." message="CheckForFlexBridgeUpdates" />
<command id="CmdHelpAboutFLEXBridge" label="_About FLEx Bridge..." icon="chorus" message="AboutFlexBridge"/>
<command id="CmdFLExLiftBridge" label="Send/Receive..." icon="syncSendReceive" message="FLExLiftBridge" shortcut="Ctrl+R" />
<command id="CmdClose" label="_Close" message="CloseWindow"/>
<command id="CmdFirstRecord" label="_First" icon="firstRecord" message="FirstRecord"/>
<command id="CmdDeleteRecord" label="_Delete {0}..." message="DeleteRecord" icon="Delete"/>
<command id="CmdLastRecord" label="_Last" icon="lastRecord" message="LastRecord"/>
<command id="CmdPreviousRecord" label="_Previous" icon="previousRecord" message="PreviousRecord" shortcut="Alt+P"/>
<command id="CmdNextRecord" label="_Next" icon="nextRecord" message="NextRecord" shortcut="Alt+N"/>
<command id="CmdListPropertiesTable" label="_List Properties Table" message="ListPropertiesTable"/>
<command id="CmdListColleagues" label="List _Colleagues" message="ListColleagues"/>
<command id="CmdNewWindow" label="_New Window" message="NewWindow"/>
<command id="CmdRefresh" label="_Refresh" message="MasterRefresh" icon="Refresh" shortcut="F5" oneatatime="true"/>
<!-- F5 doesn't seem to work with the open source adapter -->
<command id="CmdProjectProperties" label="Field_Works Project Properties..." message="FileProjectProperties"/>
<command id="CmdProjectLocation" label="Project Locations..." message="FileProjectLocation"/>
<command id="CmdDeleteProject" label="_Delete Project..." message="DeleteProject" icon="Delete"/>
<command id="CmdCreateProjectShortcut" label="_Create Shortcut on Desktop" message="CreateShortcut"/>
<command id="CmdNewLangProject" label="_New FieldWorks Project..." message="NewLangProject" icon="NewProject"/>
<command id="CmdPrint" label="_Print..." message="Print" shortcut="Ctrl+P"/>
<command id="CmdProjectUtilities" label="_Utilities..." message="Utilities">
<parameters title="FieldWorks Project Utilities" filename="Language Explorer/Configuration/UtilityCatalogInclude.xml"/>
</command>
<command id="CmdArchiveWithRamp" label="_Archive with RAMP (SIL)..." message="ArchiveWithRamp" icon="ArchiveWithRamp"/>
<command id="CmdUploadToWebonary" label="Upload to _Webonary..." message="UploadToWebonary"/>
<command id="CmdPageSetup" label="Page Setup..." message="PageSetup"/>
<command id="CmdImportSFMLexicon" label="_Standard Format Lexicon..." message="SFMImport"/>
<command id="CmdImportPhonology" label="_Phonology..." message="ImportPhonology"/>
<command id="CmdImportSFMNotebook" label="Standard Format _Notebook data..." message="LaunchConnectedDialog">
<parameters>
<dynamicloaderinfo assemblyPath="LexTextControls.dll" class="SIL.FieldWorks.LexText.Controls.DataNotebook.NotebookImportWiz"/>
</parameters>
</command>
<command id="CmdImportLinguaLinksData" label="_LinguaLinks Data..." message="LaunchConnectedDialog">
<parameters>
<dynamicloaderinfo assemblyPath="ITextDll.dll" class="SIL.FieldWorks.IText.LinguaLinksImportDlg"/>
</parameters>
</command>
<command id="CmdImportInterlinearSfm" label="Standard Format I_nterlinear..." message="LaunchConnectedDialog">
<parameters>
<dynamicloaderinfo assemblyPath="ITextDll.dll" class="SIL.FieldWorks.IText.InterlinearSfmImportWizard"/>
</parameters>
</command>
<command id="CmdImportWordsAndGlossesSfm" label="Standard Format W_ords and Glosses..." message="LaunchConnectedDialog">
<parameters>
<dynamicloaderinfo assemblyPath="ITextDll.dll" class="SIL.FieldWorks.IText.WordsSfmImportWizard"/>
</parameters>
</command>
<command id="CmdImportInterlinearData" label="FLExText Interl_inear..." message="LaunchConnectedDialog">
<parameters>
<dynamicloaderinfo assemblyPath="ITextDll.dll" class="SIL.FieldWorks.IText.InterlinearImportDlg"/>
</parameters>
</command>
<command id="CmdImportLiftData" label="L_IFT Lexicon..." message="LaunchConnectedDialog">
<parameters>
<dynamicloaderinfo assemblyPath="LexTextControls.dll" class="SIL.FieldWorks.LexText.Controls.LiftImportDlg"/>
</parameters>
</command>
<command id="CmdImportCombineData" label="Lexicon from The _Combine..." message="LaunchConnectedDialog">
<parameters>
<dynamicloaderinfo assemblyPath="LexTextControls.dll" class="SIL.FieldWorks.LexText.Controls.CombineImportDlg"/>
</parameters>
</command>
<command id="CmdImportTranslatedLists" label="_Translated List Content" message="ImportTranslatedLists"/>
<command id="CmdImportTranslatedGramCats" label="Translated _Grammatical Category Content" message="ImportTranslatedGramCats"/>
<command id="CmdExport" label="_Export..." message="Export"/>
<command id="CmdSynch" label="S_ynchronize with LiftShare..." message="Synchronize" translate="This command tries to update from an external source of lexical data."/>
<command id="CmdAddCustomField" label="Custom _Fields..." message="AddCustomField"/>
<command id="CmdConfigureColumns" label="_Columns..." icon="columnChooser" message="ConfigureColumns"/>
<command id="CmdEditSpellingStatus" label="Edit Spelling Status" message="EditSpellingStatus"/>
<command id="CmdViewIncorrectWords" label="View Incorrect Words in Use" message="ViewIncorrectWords"/>
<command id="CmdChangeSpelling" label="Change Spelling..." message="LaunchRespellerDlg"/>
<command id="CmdUseVernSpellingDictionary" label="Show Vernacular Spelling _Errors" message="UseVernSpellingDictionary"/>
<command id="CmdConfigHeadwordNumbers" label="Headword Numbers..." message="ConfigureHeadwordNumbers"/>
<command id="CmdRestoreDefaults" label="Restore Defaults..." message="RestoreDefaultLayouts"/>
<command id="CmdToolsOptions" label="_Options..." message="LaunchConnectedDialog">
<parameters>
<dynamicloaderinfo assemblyPath="LexTextControls.dll" class="SIL.FieldWorks.LexText.Controls.LexOptionsDlg"/>
</parameters>
</command>
<command id="CmdShowCharMap" label="Special _character..." message="ShowCharMap" icon="SpecialCharacter"/>
<command id="CmdFormatStyle" label="_Styles..." message="FormatStyle"/>
<command id="CmdFormatApplyStyle" label="_Apply Style..." message="FormatApplyStyle"/>
<command id="CmdVernacularWritingSystemProperties" label="Set up _Vernacular Writing Systems..." message="VernWritingSystemProperties"/>
<command id="CmdAnalysisWritingSystemProperties" label="Set up _Analysis Writing Systems..." message="AnalyWritingSystemProperties"/>
<command id="CmdBackup" label="_Back up this Project..." message="BackupThisProject"/>
<command id="CmdRestoreFromBackup" label="_Restore a Project..." message="RestoreAProject"/>
<!-- this will require something dynamic unless we somehow make a way to define it specifically in the
configuration files of various applications. we could perhaps make it possible to define the label here
using the property value: label="{MainObjectLabel}" and then add to XCore the ability to define this:
<property id="MainObjectLabel">Lexical Database</property>-->
<command id="CmdMainObjectProperties" label="?? Properties (TODO)" message="MainObjectProperties"/>
<command id="CmdUndo" label="_Undo" message="Undo" icon="Undo" shortcut="Ctrl+Z"/>
<command id="CmdRedo" label="_Redo" message="Redo" icon="Redo" shortcut="Ctrl+Y"/>
<command id="CmdCopy" label="_Copy" message="EditCopy" icon="Copy" shortcut="Ctrl+C"/>
<command id="CmdCut" label="Cu_t" message="EditCut" icon="Cut" shortcut="Ctrl+X"/>
<command id="CmdPaste" label="_Paste" message="EditPaste" icon="Paste" shortcut="Ctrl+V"/>
<command id="CmdPasteHyperlink" label="Paste _Hyperlink" message="PasteUrl"/>
<command id="CmdInsertLinkToFile" label="L_ink to File..." message="InsertLinkToFile" icon="ExternalLink"/>
<command id="CmdSelectAll" label="Select _All" message="EditSelectAll" shortcut="Ctrl+A"/>
<command id="CmdFindAndReplaceText" label="Find..." message="FindAndReplaceText" shortcut="Ctrl+Shift+F" icon="findReplaceText"/>
<command id="CmdReplaceText" label="Replace..." message="ReplaceText" shortcut="Ctrl+H"/>
<command id="CmdHelpAbout" label="_About Language Explorer..." message="HelpAbout"/>
<command id="CmdHelpLanguageExplorer" label="_Language Explorer..." message="HelpLanguageExplorer" shortcut="F1"/>
<command id="CmdHelpTraining" label="_Training" message="HelpTraining" />
<command id="CmdHelpDemoMovies" label="_Demo Movies (Online)..." message="HelpDemoMovies"/>
<!-- LT-15886 <command id="CmdHelpCheckForUpdates" label="Check for _Updates..." message="HelpCheckForUpdates"/> -->
<command id="CmdHelpReportBug" label="_Report a Problem..." message="HelpReportProblem"/>
<command id="CmdHelpMakeSuggestion" label="_Make a Suggestion..." message="HelpMakeSuggestion"/>
<command id="CmdHelpMorphologyInto" label="Introduction to _Parsing..." message="HelpMorphologyIntro"/>
<command id="CmdHelpXLingPap" label="Editing Linguistics Papers Using _XLingPaper ..." message="HelpHelpsFile">
<parameters file="XLingPap/UserDoc.htm"/>
</command>
<command id="CmdHelpLexicographyIntro" label="Introduction to _Lexicography..." message="HelpLexicographyIntro">
<parameters file="Lexicography Introduction/Introduction to Lexicography.htm"/>
</command>
<command id="CmdHelpNotesSFMDatabaseImport" label="Technical Notes on _SFM Database Import..." message="HelpNotesSFMDatabaseImport"/>
<command id="CmdHelpPublishToWord" label="Publishing FLEx Dictionaries to Word..." message="HelpTrainingFile">
<parameters file="Publishing FLEx Dictionaries Using Microsoft Word.pdf"/>
</command>
<command id="CmdHelpNotesSendReceive" label="Technical Notes on FieldWorks Send-_Receive..." message="HelpNotesSendReceive"/>
<command id="CmdHelpNotesLinguaLinksDatabaseImport" label="Technical Notes on Lin_guaLinks Import..." message="HelpNotesLinguaLinksDatabaseImport"/>
<!-- Help/Resources/Technical Notes on LinguaLinks Import... -->
<command id="CmdHelpNotesInterlinearImport" label="Technical Notes on _Interlinear Import..." message="HelpNotesInterlinearImport"/>
<!-- Help/Resources/Technical Notes on Interlinear Import... -->
<command id="CmdHelpNotesWritingSystems" label="Technical Notes on _Writing Systems..." message="HelpTrainingFile">
<parameters file="Technical Notes on Writing Systems.pdf"/>
</command>
<command id="CmdTestFollowLink" label="Test Follow Link" message="TestFollowLink" shortcut="F12"/>
<command id="CmdHistoryBack" label="Go Back" message="HistoryBack" icon="historyBack" shortcut="Alt+Left"/>
<command id="CmdHistoryForward" label="Go Forward" message="HistoryForward" icon="historyForward" shortcut="Alt+Right"/>
<command id="CmdCopyLocationAsHyperlink" label="Copy _Location as Hyperlink" message="CopyLocationAsHyperlink"/>
<command id="CmdStartLogging" label="Start Logging" message="StartLogging"/>
<command id="CmdRequestDebugInfo" label="Request Debug Info" message="RequestDebugInfo" shortcut="Ctrl+Shift+I"/>
<command id="CmdExportText" label="Export Text of browse view" message="ExportText" shortcut="Ctrl+Shift+E"/>
<command id="CmdChangeFilterClearAll" label="Turn off all filters" message="ChangeFilterClearAll" icon="NoFilter"/>
<command id="CmdMoveTargetToPreviousInSequence" label="Move Left" message="MoveTargetDownInSequence"/>
<command id="CmdMoveTargetToNextInSequence" label="Move Right" message="MoveTargetUpInSequence"/>
<command id="CmdAlphabeticalOrder" label="Alphabetical Order" message="AlphabeticalOrder"/>
<!-- These are all here for now, rather than down in some area, because we have at the moment in a single
"jump to" menu, which just gets items hidden or displayed based on the context. -->
<command id="CmdVisibleComplexForm" label="Referenced Complex Form" message="VisibleComplexForm">
<parameters tool="lexiconEdit" className="LexEntryOrLexSense"/>
</command>
<command id="CmdShowSubentryUnderComponent" label="Show Subentry under this Component" message="AddComponentToPrimary">
<parameters tool="lexiconEdit" className="LexEntryRef"/>
</command>
<command id="CmdEntryJumpToDefault" label="Show Entry in Lexicon" message="JumpToTool">
<parameters tool="lexiconEdit" className="LexEntry"/>
</command>
<command id="CmdPOSJumpToDefault" label="Show in Category Edit" message="JumpToTool">
<parameters tool="posEdit" className="PartOfSpeech" ownerClass="LangProject" ownerField="PartsOfSpeech" />
</command>
<command id="CmdPublicationsJumpToDefault" label="Edit Publications" message="JumpToTool">
<parameters tool="publicationsEdit" className="ICmPossibility" ownerClass="LangProject" ownerField="PublicationTypes" />
</command>
<command id="CmdWordPOSJumpToDefault" label="Show Word Category in Category Edit" message="JumpToTool">
<parameters tool="posEdit" className="WordPartOfSpeech" ownerClass="LangProject" ownerField="PartsOfSpeech" />
</command>
<command id="CmdEndoCompoundRuleJumpToDefault" label="Show in Compound Rules Editor" message="JumpToTool">
<parameters tool="compoundRuleAdvancedEdit" className="MoEndoCompound"/>
</command>
<command id="CmdExoCompoundRuleJumpToDefault" label="Show in Compound Rules Editor" message="JumpToTool">
<parameters tool="compoundRuleAdvancedEdit" className="MoExoCompound"/>
</command>
<command id="CmdPhonemeJumpToDefault" label="Show in Phonemes Editor" message="JumpToTool">
<parameters tool="phonemeEdit" className="PhPhoneme"/>
</command>
<command id="CmdNaturalClassJumpToDefault" label="Show in Natural Classes Editor" message="JumpToTool">
<parameters tool="naturalClassedit" className="PhNCSegments"/>
</command>
<command id="CmdEnvironmentsJumpToDefault" label="Show in Environments Editor" message="JumpToTool">
<parameters tool="EnvironmentEdit" className="PhEnvironment"/>
</command>
<command id="CmdWordformJumpToConcordance" label="Show Wordform in Concordance" message="JumpToTool">
<parameters tool="concordance" className="WfiWordform"/>
</command>
<command id="CmdEntryJumpToConcordance" label="Show Entry in Concordance" message="JumpToTool">
<parameters tool="concordance" className="LexEntry"/>
</command>
<command id="CmdRootEntryJumpToConcordance" label="Show Entry in Concordance" message="JumpToTool">
<parameters tool="concordance" className="LexEntry"/>
</command>
<command id="CmdSenseJumpToConcordance" label="Show Sense in Concordance" message="JumpToTool">
<parameters tool="concordance" className="LexSense"/>
</command>
<command id="CmdAnalysisJumpToConcordance" label="Show Analysis in Concordance" message="JumpToTool">
<parameters tool="concordance" className="WfiAnalysis"/>
</command>
<command id="CmdPOSJumpToConcordance" label="Show Category in Concordance" message="JumpToTool">
<parameters tool="concordance" className="PartOfSpeech" ownerClass="LangProject" ownerField="PartsOfSpeech"/>
</command>
<command id="CmdLexGramInfoJumpToConcordance" label="Lex. Gram. Info." message="JumpToTool">
<parameters tool="concordance" concordOn="PartOfSpeechGramInfo" className="PartOfSpeechGramInfo" ownerClass="LangProject" ownerField="PartsOfSpeech"/>
</command>
<command id="CmdWordPOSJumpToConcordance" label="Show Word Category in Concordance" message="JumpToTool">
<parameters tool="concordance" concordOn="WordPartOfSpeech" className="WordPartOfSpeech" ownerClass="LangProject" ownerField="PartsOfSpeech"/>
</command>
<command id="CmdMorphJumpToConcordance" label="Show Morph in Concordance" message="JumpToTool">
<parameters tool="concordance" className="MoForm"/>
</command>
<command id="CmdLexemeFormJumpToConcordance" label="Show Lexeme Form in Concordance" message="JumpToTool">
<parameters tool="concordance" className="MoForm"/>
</command>
<command id="CmdWordGlossJumpToConcordance" label="Show Word Gloss in Concordance" message="JumpToTool">
<parameters tool="concordance" className="WfiGloss"/>
</command>
<command id="CmdWordformJumpToAnalyses" label="Show in Word Analyses" message="JumpToTool">
<parameters tool="Analyses" className="WfiWordform"/>
</command>
<!-- This is on the popup menu, and is for non-record level objects. -->
<command id="CmdDeleteSelectedObject" label="Delete selected {0}" message="DeleteSelectedItem"/>
<command id="CmdDuplicateSelectedObject" label="Duplicate selected {0}" message="DuplicateSelectedItem"/>
<command id="CmdAlwaysVisible" label="Always visible" message="ShowFieldAlwaysVisible"/>
<command id="CmdIfData" label="Normally hidden, unless non-empty" message="ShowFieldIfData"/>
<command id="CmdNormallyHidden" label="Normally hidden" message="ShowFieldNormallyHidden"/>
<!-- Add commands from included files and possible extensions to the main application.. -->
<include path="CommonDataTreeInclude.xml" query="root/commands/*"/>
<include path="Lexicon/areaConfiguration.xml" query="root/commands/*"/>
<include path="Words/areaConfiguration.xml" query="root/commands/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/commands/*"/>
<include path="Notebook/areaConfiguration.xml" query="root/commands/*"/>
<include path="Lists/areaConfiguration.xml" query="root/commands/*"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/commands/*"/>
<command id="CmdAddToLexicon" label="Add to Dictionary..." message="AddToLexicon" icon="majorEntry"/>
<command id="CmdConfigureXmlDocView" label="{0}" message="ConfigureXmlDocView"/>
<!-- F1 is omitted because used for Help-->
<command id="CmdMacroF2" label="F2" message="Macro" shortcut="F2">
<parameters key="2"/>
</command>
<command id="CmdMacroF3" label="F3" message="Macro" shortcut="F3">
<parameters key="3"/>
</command>
<command id="CmdMacroF4" label="F4" message="Macro" shortcut="F4">
<parameters key="4"/>
</command>
<!-- F5 is omitted because used for Refresh-->
<command id="CmdMacroF6" label="F6" message="Macro" shortcut="F6">
<parameters key="6"/>
</command>
<command id="CmdMacroF7" label="F7" message="Macro" shortcut="F7">
<parameters key="7"/>
</command>
<command id="CmdMacroF8" label="F8" message="Macro" shortcut="F8">
<parameters key="8"/>
</command>
<command id="CmdMacroF9" label="F9" message="Macro" shortcut="F9">
<parameters key="9"/>
</command>
<command id="CmdMacroF10" label="F10" message="Macro" shortcut="F10">
<parameters key="10"/>
</command>
<command id="CmdMacroF11" label="F11" message="Macro" shortcut="F11">
<parameters key="11"/>
</command>
<command id="CmdMacroF12" label="F12" message="Macro" shortcut="F12">
<parameters key="12"/>
</command>
</commands>
<!-- ********************************************************** -->
<!-- ************************ lists *********************** -->
<!-- ********************************************************** -->
<!--What is the lists section for?-->
<lists>
<include path="Words/areaConfiguration.xml" query="root/lists/*"/>
<include path="Lexicon/areaConfiguration.xml" query="root/lists/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/lists/*"/>
<include path="Notebook/areaConfiguration.xml" query="root/lists/*"/>
<include path="Lists/areaConfiguration.xml" query="root/lists/*"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/lists/*"/>
<list id="AreasList">
<!--This determines which areas show up in the Areas side bar.
It also determines what appears under the View menu. eg View:Lexicon:...-->
<include path="Lexicon/areaConfiguration.xml" query="root/item"/>
<include path="Words/areaConfiguration.xml" query="root/item"/>
<include path="Grammar/areaConfiguration.xml" query="root/item"/>
<include path="Notebook/areaConfiguration.xml" query="root/item"/>
<include path="Lists/areaConfiguration.xml" query="root/item"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/item"/>
</list>
<!-- WANTPORT (JohnT: what is actually disabled by omitting these? FiltersList might be needed by the
disabled Views/FilterChoices item, but that seems useless. See FWR-657. I cannot find that ListTools is ever used anywhere.
WritingSystemList is used in a couple of places in the code, but I cannot find evidence that it is used in a way
that requires declaration here.)
<list id="ListTools"/>
<list id="WritingSystemList"/>
<list id="FiltersList"/>
WANTPORT -->
<list id="ReversalIndexList"/>
</lists>
<!-- ********************************************************** -->
<!-- ******** controls (dialog or embedded browse view) ******* -->
<!-- ********************************************************** -->
<!--What is this section for/do?-->
<controls>
<include path="Lexicon/areaConfiguration.xml" query="root/controls/*"/>
<include path="Words/areaConfiguration.xml" query="root/controls/*"/>
<include path="Notebook/areaConfiguration.xml" query="root/controls/*"/>
<include path="Lists/areaConfiguration.xml" query="root/controls/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/controls/*"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/controls/*"/>
</controls>
<!-- ********************************************************** -->
<!-- ************************ menus *********************** -->
<!-- ********************************************************** -->
<!-- Here is a brief explanation of how these menus and commands are set up to work.
==============================================================================================
Lets see how the following Command works ("New _Text")
Doing a search in XML files for "New _Text" we find the
command definition in Texts/areaConfiguration.xml:
<command id="CmdInsertText" label="New _Text" message="InsertInterlinText" shortcut="Ctrl+T" icon="addNewText">
<parameters className="StText"/>
</command>
Under the Insert Menu (in Mail.xml) we have the following:
<include path="Texts/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Insert']/*"/>
In this file we can find the menuAddOn/menu/Insert element
<menuAddOn>
<menu id="Insert">
<item command="CmdInsertText" defaultVisible="false"/>
Notice that by default this command will not appear in the Insert Menu. We need to
look for an "OnDisplay" method for this command in the *.cs code which controls when this command
is visible and enabled
As noted above the command definition for CmdInsertText is:
<command id="CmdInsertText" label="New _Text" message="InsertInterlinText" shortcut="Ctrl+T" icon="addNewText">
<parameters className="StText"/>
</command>
Now we need to search in the .cs code for the message string InsertInterlinText
We find the following two methods:
public virtual bool OnDisplayInsertInterlinText(object commandObject,
ref UIItemDisplayProperties display)
The "OnDisplay" method determines which Area FLEX needs
to be in for this Command to be visible.
public bool OnInsertInterlinText(object argument) this method is the code which gets executed
when the command is invoked.
=============================================================================================
Here is a second example:
<item command="CmdNewLangProject"/> this command will appear in all Areas
and has no dfaultVisitble attribute so the default is visible.
Examine it's XML definition
<command id="CmdNewLangProject" label="_New FieldWorks Project..."
message="NewLangProject" icon="NewProject"/>
Do a search on NewLangProject in the .cs files
finding OnNewLangProject and we do not find OnDisplayNewLangProject.
=============================================================================================
Looking at the Edit menu below we see the following
<include path="Lexicon/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Edit']/*"/>
<include path="Words/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Edit']/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Edit']/*"/>
<include path="Lists/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Edit']/*"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/menuAddOn/menu[@id='Edit']/*"/>
These include elements include all the menu items in each of these files in the Edit menu. They could
have all been included in this file Main.xml and still worked perfectly well in each area. They are
kept in separate files just to make it easier for programming purposes to see which commands are associate
with a particular area.
-->
<menubar>
<menu id="File" label="_File" b4InsertMenu="true">
<item command="CmdNewLangProject"/>
<item command="CmdChooseLangProject"/>
<item label="-" translate="do not translate"/>
<menu id="ProjectManagement" label="Project _Management">
<item command="CmdProjectProperties"/>
<item command="CmdBackup"/>
<item command="CmdRestoreFromBackup"/>
<item label="-" translate="do not translate"/>
<item command ="CmdProjectLocation"/>
<item command="CmdDeleteProject"/>
<item command="CmdCreateProjectShortcut"/>
</menu>
<item label="-" translate="do not translate"/>
<item command="CmdArchiveWithRamp" />
<item command="CmdUploadToWebonary" />
<item label="-" translate="do not translate"/>
<item command="CmdPageSetup"/>
<item command="CmdPrint"/>
<item label="-" translate="do not translate"/>
<menu id="Import" label="_Import">
<item command="CmdImportSFMLexicon"/>
<item command="CmdImportLinguaLinksData"/>
<item command="CmdImportLiftData"/>
<item command="CmdImportCombineData"/>
<item command="CmdImportInterlinearSfm"/>
<item command="CmdImportWordsAndGlossesSfm"/>
<item command="CmdImportInterlinearData"/>
<item command="CmdImportSFMNotebook"/>
<item command="CmdImportTranslatedLists"/>
<item command="CmdImportTranslatedGramCats"/>
<item command="CmdImportPhonology"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/menuAddOn/menu[@id='Import']/*"/>
</menu>
<item command="CmdExport"/>
<include path="Words/areaConfiguration.xml" query="root/menuAddOn/menu[@id='FileExport']/*"/>
<!--item command="CmdSynch"/-->
<!-- needs more work to implement. -->
<item label="-" translate="do not translate"/>
<!-- (this was ToDo even in 6.0) <menu id="Properties" label="P_roperties">
<item command="CmdMainObjectProperties" />
</menu>-->
<item command="CmdClose"/>
</menu>
<menu id="SendReceive" label="_Send/Receive" b4InsertMenu="true">
<item command="CmdFLExBridge" />
<item command="CmdViewMessages"/>
<item command="CmdLiftBridge" />
<item command="CmdViewLiftMessages"/>
<item label="-" translate="do not translate"/>
<item command="CmdObtainAnyFlexBridgeProject"/>
<item command="CmdObtainLiftProject"/>
<item label="-" translate="do not translate"/>
<item command="CmdObtainFirstFlexBridgeProject"/>
<item command="CmdObtainFirstLiftProject"/>
<item label="-" translate="do not translate"/>
<item command="CmdHelpChorus"/>
<item command="CmdCheckForFlexBridgeUpdates"/>
<item command="CmdHelpAboutFLEXBridge"/>
</menu>
<menu id="Edit" label="_Edit" b4InsertMenu="true">
<item command="CmdUndo"/>
<item command="CmdRedo"/>
<item label="-" translate="do not translate"/>
<item command="CmdCut"/>
<item command="CmdCopy"/>
<item command="CmdPaste"/>
<item label="-" translate="do not translate"/>
<item command="CmdPasteHyperlink"/>
<item command="CmdCopyLocationAsHyperlink"/>
<item label="-" translate="do not translate"/>
<item command="CmdGoToEntry"/>
<item command="CmdGoToRecord"/>
<!-- for Notebook currently-->
<item command="CmdFindAndReplaceText" defaultVisible="true"/>
<item command="CmdReplaceText" defaultVisible="true"/>
<item label="-" translate="do not translate"/>
<item command="CmdSelectAll"/>
<item command="CmdDeleteRecord"/>
<item label="-" translate="do not translate"/>
<include path="Lexicon/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Edit']/*"/>
<include path="Words/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Edit']/*"/>
<include path="Lists/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Edit']/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Edit']/*"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/menuAddOn/menu[@id='Edit']/*"/>
</menu>
<menu id="View" label="_View" b4InsertMenu="true">
<item command="CmdRefresh"/>
<item label="-" translate="do not translate"/>
<menu label="_Lexicon" list="LexicalToolsList" behavior="singlePropertyAtomicValue" property="currentContentControl"/>
<menu label="_Texts && Words" list="WordToolsList" behavior="singlePropertyAtomicValue" property="currentContentControl"/>
<menu label="_Grammar" list="GrammarToolsList" behavior="singlePropertyAtomicValue" property="currentContentControl"/>
<menu label="_Notebook" list="NotebookToolsList" behavior="singlePropertyAtomicValue" property="currentContentControl"/>
<menu label="Li_sts" list="ListsToolsList" behavior="singlePropertyAtomicValue" property="currentContentControl"/>
<item label="Invisible Spaces" boolProperty="ShowInvisibleSpaces" defaultVisible="false" settingsGroup="local"/>
<include path="Lexicon/areaConfiguration.xml" query="root/menuAddOn/menu[@id='View']/*"/>
<item label="-" translate="do not translate"/>
<menu id="FilterChoices" label="_Filters" list="FiltersList" behavior="singlePropertyAtomicValue" property="currentFilterForRecordClerk_THISCHANGES" settingsGroup="local"/>
<include path="Words/areaConfiguration.xml" query="root/menuAddOn/menu[@id='View']/*"/>
<include path="Notebook/areaConfiguration.xml" query="root/menuAddOn/menu[@id='View']/*"/>
<include path="Lists/areaConfiguration.xml" query="root/menuAddOn/menu[@id='View']/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/menuAddOn/menu[@id='View']/*"/>
</menu>
<!--<menu id="Areas" label="_Areas" list="AreasList" behavior="singlePropertyAtomicValue"
property="areaChoice" />
<menu id="Tools" label="_Tools" list="ToolsList" behavior="singlePropertyAtomicValue"
property="currentContentControl" />
-->
<menu id="Data" label="_Data">
<item command="CmdFirstRecord"/>
<item command="CmdPreviousRecord"/>
<item command="CmdNextRecord"/>
<item command="CmdLastRecord"/>
<item label="-" translate="do not translate"/>
<include path="Lexicon/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Data']/*"/>
<include path="Words/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Data']/*"/>
<include path="Notebook/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Data']/*"/>
<include path="Lists/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Data']/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Data']/*"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/menuAddOn/menu[@id='Data']/*"/>
</menu>
<menu id="Insert" label="_Insert">
<include path="Lexicon/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Insert']/*"/>
<include path="Words/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Insert']/*"/>
<include path="Notebook/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Insert']/*"/>
<include path="Lists/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Insert']/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Insert']/*"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/menuAddOn/menu[@id='Insert']/*"/>
<item label="-" translate="do not translate"/>
<item command="CmdShowCharMap"/>
<item command="CmdInsertLinkToFile"/>
</menu>
<menu id="Format" label="F_ormat">
<item command="CmdFormatStyle"/>
<item command="CmdFormatApplyStyle"/>
<menu id="WritingSystemMenu" label="_Writing System" list="WritingSystemList" behavior="singlePropertyAtomicValue" property="WritingSystemHvo"/>
<item command="CmdVernacularWritingSystemProperties"/>
<item command="CmdAnalysisWritingSystemProperties"/>
</menu>
<!-- Reworked Tools menu [LT-9852] June '09 -->
<menu id="Tools" label="_Tools">
<menu label="Configure">
<!-- This is the insertion point for Area-specific Configure menu items. -->
<include path="Lexicon/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Configure']/*"/>
<include path="Words/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Configure']/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Configure']/*"/>
<include path="Notebook/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Configure']/*"/>
<include path="Lists/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Configure']/*"/>
<item command="CmdConfigureColumns" defaultVisible="false"/>
<item command="CmdConfigHeadwordNumbers"/>
<item command="CmdRestoreDefaults"/>
<item label="-" translate="do not translate"/>
<!-- This Setup Writing Systems... is a copy of the one on the Format menu -->
<item command="CmdVernacularWritingSystemProperties"/>
<item command="CmdAnalysisWritingSystemProperties"/>
<item command="CmdAddCustomField" defaultVisible="false"/>
</menu>
<!-- Area-specific Tools (other than Configure menu) go here. -->
<item label="-" translate="do not translate"/>
<item command="CmdMergeEntry" defaultVisible="false"/>
<include path="Lexicon/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Tools']/*"/>
<include path="Words/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Tools']/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Tools']/*"/>
<include path="Notebook/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Tools']/*"/>
<include path="Lists/areaConfiguration.xml" query="root/menuAddOn/menu[@id='Tools']/*"/>
<!-- Non-area-specific Tools go here. -->
<item label="-" translate="do not translate"/>
<menu label="Spelling">
<item command="CmdEditSpellingStatus" defaultVisible="false"/>
<item command="CmdViewIncorrectWords" defaultVisible="false"/>
<item command="CmdUseVernSpellingDictionary" defaultVisible="false"/>
<item label="-" translate="do not translate"/>
<item command="CmdChangeSpelling" defaultVisible="false"/>
</menu>
<item command="CmdProjectUtilities"/>
<!-- General "Extension" Tools (like Concorder) go here. -->
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/menuAddOn/menu[@id='Tools']/*"/>
<item label="-" translate="do not translate"/>
<item command="CmdToolsOptions"/>
<item command="CmdMacroF2" defaultVisible="false"/>
<item command="CmdMacroF3" defaultVisible="false"/>
<item command="CmdMacroF4" defaultVisible="false"/>
<item command="CmdMacroF6" defaultVisible="false"/>
<item command="CmdMacroF7" defaultVisible="false"/>
<item command="CmdMacroF8" defaultVisible="false"/>
<item command="CmdMacroF9" defaultVisible="false"/>
<item command="CmdMacroF10" defaultVisible="false"/>
<item command="CmdMacroF11" defaultVisible="false"/>
<item command="CmdMacroF12" defaultVisible="false"/>
</menu>
<include path="Lexicon/areaConfiguration.xml" query="root/menubar/*"/>
<include path="Words/areaConfiguration.xml" query="root/menubar/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/menubar/*"/>
<include path="Notebook/areaConfiguration.xml" query="root/menubar/*"/>
<include path="Lists/areaConfiguration.xml" query="root/menubar/*"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/menubar/*"/>
<menu id="Window" label="_Window">
<item command="CmdNewWindow"/>
</menu>
<menu id="Help" label="_Help">
<!-- <item label="Show Help Balloons" boolProperty="ShowBalloonHelp" />
<separator />-->
<item command="CmdHelpLanguageExplorer"/>
<item command="CmdHelpTraining"/>
<item command="CmdHelpDemoMovies"/>
<menu id="Resources" label="_Resources">
<item command="CmdHelpLexicographyIntro"/>
<item command="CmdHelpMorphologyInto"/>
<item command="CmdHelpPublishToWord"/>
<item command="CmdHelpNotesSendReceive"/>
<item command="CmdHelpNotesSFMDatabaseImport"/>
<item command="CmdHelpNotesLinguaLinksDatabaseImport"/>
<item command="CmdHelpNotesInterlinearImport"/>
<item command="CmdHelpNotesWritingSystems"/>
<item command="CmdHelpXLingPap"/>
</menu>
<item label="-" translate="do not translate"/>
<!-- LT-15886 <item command="CmdHelpCheckForUpdates"/>
This feature was never completed because FLEx would crash after updating on some machines for unexplained reasons.-->
<item command="CmdHelpReportBug"/>
<item command="CmdHelpMakeSuggestion"/>
<item label="-" translate="do not translate"/>
<item command="CmdHelpAbout"/>
</menu>
</menubar>
<!-- ********************************************************** -->
<!-- ************************ contextMenus *********************** -->
<!-- ********************************************************** -->
<!--Various (context) right-click menus. Search for menu id value to see where used in code.-->
<contextMenus>
<menu id="mnuObjectChoices">
<item command="CmdEntryJumpToDefault"/>
<item command="CmdWordformJumpToAnalyses"/>
<menu label="Show Concordance of">
<item command="CmdWordformJumpToConcordance" label="Wordform"/>
<item command="CmdAnalysisJumpToConcordance" label="Analysis"/>
<item command="CmdMorphJumpToConcordance" label="Morph"/>
<item command="CmdEntryJumpToConcordance" label="Entry"/>
<item command="CmdSenseJumpToConcordance" label="Sense"/>
<item command="CmdLexGramInfoJumpToConcordance"/>
<item command="CmdWordGlossJumpToConcordance" label="Word Gloss"/>
<item command="CmdWordPOSJumpToConcordance" label="Word Category"/>
</menu>
<item command="CmdPOSJumpToDefault"/>
<item command="CmdWordPOSJumpToDefault"/>
<item command="CmdEndoCompoundRuleJumpToDefault"/>
<item command="CmdExoCompoundRuleJumpToDefault"/>
<item command="CmdPhonemeJumpToDefault"/>
<item command="CmdNaturalClassJumpToDefault"/>
<item command="CmdEnvironmentsJumpToDefault"/>
<item label="-" translate="do not translate"/>
<item command="CmdDeleteSelectedObject"/>
<item command="CmdDuplicateSelectedObject"/>
</menu>
<menu id="mnuBrowseView">
<item command="CmdEntryJumpToDefault"/>
<item command="CmdWordformJumpToAnalyses"/>
<item command="CmdPOSJumpToDefault"/>
<item command="CmdWordformJumpToConcordance"/>
<item command="CmdEntryJumpToConcordance"/>
<item command="CmdSenseJumpToConcordance"/>
<item command="CmdPOSJumpToConcordance"/>
<item command="CmdWordGlossJumpToConcordance"/>
<item command="CmdWordPOSJumpToConcordance"/>
<item command="CmdWordPOSJumpToDefault"/>
<item command="CmdEndoCompoundRuleJumpToDefault"/>
<item command="CmdExoCompoundRuleJumpToDefault"/>
<item command="CmdPhonemeJumpToDefault"/>
<item command="CmdNaturalClassJumpToDefault"/>
<item command="CmdEnvironmentsJumpToDefault"/>
<item label="-" translate="do not translate"/>
<item command="CmdDeleteSelectedObject"/>
<item command="CmdDuplicateSelectedObject"/>
</menu>
<!-- The following commands are involked/displayed on a right click on a slice on at Possibility list item.
In the C# code see the following class ReferenceViewBase and class ReferenceBaseUi
where ContextMenuId returns "mnuReferenceChoices".
Search in the xml files for the particular command (for example CmdJumpToAnthroList and CmdJumpToAnthroList2)
See how the command has the following parameters
className="CmAnthroItem" ownerClass="LangProject" ownerField="AnthroList"
These parameters must be used to determine that this command is only shown on slices which contain
Anthropology Categories. The messsage is the command that is executed.-->
<menu id="mnuReferenceChoices">
<item command="CmdEntryJumpToDefault"/>
<item command="CmdRecordJumpToDefault"/>
<item command="CmdAnalysisJumpToConcordance"/>
<item label="-" translate="do not translate"/>
<item command="CmdLexemeFormJumpToConcordance"/>
<item command="CmdEntryJumpToConcordance"/>
<item command="CmdSenseJumpToConcordance"/>
<item command="CmdJumpToAcademicDomainList"/>
<item command="CmdJumpToAnthroList"/>
<item command="CmdJumpToLexiconEditWithFilter"/>
<item command="CmdJumpToNotebookEditWithFilter"/>
<item command="CmdJumpToConfidenceList"/>
<item command="CmdJumpToDialectLabelsList"/>
<item command="CmdJumpToDiscChartMarkerList"/>
<item command="CmdJumpToDiscChartTemplateList"/>
<item command="CmdJumpToEducationList"/>
<item command="CmdJumpToRoleList"/>
<item command="CmdJumpToExtNoteTypeList"/>
<item command="CmdJumpToComplexEntryTypeList"/>
<item command="CmdJumpToVariantEntryTypeList"/>
<item command="CmdJumpToTextMarkupTagsList"/>
<item command="CmdJumpToLexRefTypeList"/>
<item command="CmdJumpToLanguagesList"/>
<item command="CmdJumpToLocationList"/>
<item command="CmdJumpToPublicationList"/>
<item command="CmdJumpToMorphTypeList"/>
<item command="CmdJumpToPeopleList"/>
<item command="CmdJumpToPositionList"/>
<item command="CmdJumpToRestrictionsList"/>
<item command="CmdJumpToSemanticDomainList"/>
<item command="CmdJumpToGenreList"/>
<!--<item command="CmdJumpToSenseStatusList"/><-->
<item command="CmdJumpToSenseTypeList"/>
<item command="CmdJumpToStatusList"/>
<item command="CmdJumpToTranslationTypeList"/>
<item command="CmdJumpToUsageTypeList"/>
<item command="CmdJumpToRecordTypeList"/>
<item command="CmdJumpToTimeOfDayList"/>
<item label="-" translate="do not translate"/>
<item command="CmdShowSubentryUnderComponent"/>
<item command="CmdVisibleComplexForm"/>
<item command="CmdMoveTargetToPreviousInSequence"/>
<item command="CmdMoveTargetToNextInSequence"/>
</menu>
<menu id="mnuReorderVector">
<item command= "CmdMoveTargetToPreviousInSequence"/>
<item command ="CmdMoveTargetToNextInSequence"/>
<item command="CmdAlphabeticalOrder"/>
</menu>
<menu id="mnuBrowseHeader">
<item label="Sorted From End" boolProperty="SortedFromEnd"/>
<item label="Sorted By Length" boolProperty="SortedByLength"/>
</menu>
<menu id="PaneBar-ReversalIndicesMenu">
<menu id="ReversalIndexPaneMenu" icon="MenuWidget" alignment="right">
<item command="CmdShowAllPublications"/>
<menu list="Publications" inline="true" emptyAllowed="true"
behavior="singlePropertyAtomicValue" property="SelectedPublication"/>
<item label="-" translate="do not translate"/> <!-- separator -->
<item command="CmdPublicationsJumpToDefault"/>
</menu>
<menu id="ReversalIndexPaneMenu" icon="MenuWidget" alignment="left">
<menu inline="true" emptyAllowed="true" behavior="singlePropertyAtomicValue" list="ReversalIndexList" property="ReversalIndexPublicationLayout" />
<item label="-" translate="do not translate"/>
<item command="CmdConfigureDictionary"/>
</menu>
</menu>
<menu id="mnuEnvReferenceChoices">
<item command="CmdJumpToEnvironmentList"/>
<item command="CmdShowEnvironmentErrorMessage"/>
<item label="-" translate="do not translate"/>
<item command="CmdInsertEnvSlash"/>
<item command="CmdInsertEnvUnderscore"/>
<item command="CmdInsertEnvNaturalClass"/>
<item command="CmdInsertEnvOptionalItem"/>
<item command="CmdInsertEnvHashMark"/>
</menu>
<menu id="mnuEnvChoices">
<item command="CmdShowEnvironmentErrorMessage"/>
<item label="-" translate="do not translate"/>
<item command="CmdInsertEnvSlash"/>
<item command="CmdInsertEnvUnderscore"/>
<item command="CmdInsertEnvNaturalClass"/>
<item command="CmdInsertEnvOptionalItem"/>
<item command="CmdInsertEnvHashMark"/>
</menu>
<menu id="mnuStTextChoices">
<item command="CmdCut"/>
<item command="CmdCopy"/>
<item command="CmdPaste"/>
<item label="-" translate="do not translate"/>
<item command="CmdLexiconLookup"/>
<item command="CmdAddToLexicon"/>
</menu>
<include path="CommonDataTreeInclude.xml" query="root/contextMenus/*"/>
<include path="Lexicon/areaConfiguration.xml" query="root/contextMenus/*"/>
<include path="Words/areaConfiguration.xml" query="root/contextMenus/*"/>
<include path="Notebook/areaConfiguration.xml" query="root/contextMenus/*"/>
<include path="Lists/areaConfiguration.xml" query="root/contextMenus/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/contextMenus/*"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/contextMenus/*"/>
</contextMenus>
<!-- ********************************************************** -->
<!-- ************************ sidebar *********************** -->
<!-- ********************************************************** -->
<!--What is this section for/do?-->
<sidebar>
<include path="Lexicon/areaConfiguration.xml" query="root/sidebar/*"/>
<include path="Words/areaConfiguration.xml" query="root/sidebar/*"/>
<include path="Notebook/areaConfiguration.xml" query="root/sidebar/*"/>
<include path="Lists/areaConfiguration.xml" query="root/sidebar/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/sidebar/*"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/sidebar/*"/>
<tab label="Areas" list="AreasList" behavior="singlePropertyAtomicValue" property="areaChoice"/>
<tab label="Tools" list="ToolsList" behavior="singlePropertyAtomicValue" property="currentContentControl"/>
<!-- The original WWBaseConfigurationInclude file had these, as well, but they don't yet have a place in LexText.
I (RandyR) brought them into this file, just to keep track of them for the time they get dealt with.
<tab label="Views" list="ListViews" behavior="singlePropertyAtomicValue" property="currentContentControl" />
<tab label="Filters">
<item id="noFilter" label="No Filter" boolProperty="foo" icon="NoFilter" />
</tab>
<tab label="Sort Methods">
<item id="defaultSort" label="Default" boolProperty="foo" icon="DefaultSort" />
</tab>
-->
</sidebar>
<!-- ********************************************************** -->
<!-- ************************ toolbars *********************** -->
<!-- ********************************************************** -->
<!--This sections defines the various toolbars and the commands in them.-->
<toolbars>
<include path="Lexicon/areaConfiguration.xml" query="root/toolbars/*"/>
<include path="Words/areaConfiguration.xml" query="root/toolbars/*"/>
<include path="Notebook/areaConfiguration.xml" query="root/toolbars/*"/>
<include path="Lists/areaConfiguration.xml" query="root/toolbars/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/toolbars/*"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/toolbars/*"/>
<toolbar id="Format">
<menu id="WritingSystemCombo" label="Writing System" list="WritingSystemList" behavior="singlePropertyAtomicValue" property="WritingSystemHvo" width="150" />
<menu id="CombinedStylesCombo" label="Styles" list="CombinedStylesList" behavior="singlePropertyAtomicValue" property="BestStyleName" width="250" />
</toolbar>
<toolbar id="Insert">
<include path="Lexicon/areaConfiguration.xml" query="root/toolbarsAddOn/toolbar[@id='Insert']/item"/>
<include path="Words/areaConfiguration.xml" query="root/toolbarsAddOn/toolbar[@id='Insert']/item"/>
<include path="Notebook/areaConfiguration.xml" query="root/toolbarsAddOn/toolbar[@id='Insert']/item"/>
<include path="Lists/areaConfiguration.xml" query="root/toolbarsAddOn/toolbar[@id='Insert']/item"/>
<include path="Grammar/areaConfiguration.xml" query="root/toolbarsAddOn/toolbar[@id='Insert']/item"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/toolbarsAddOn/toolbar[@id='Insert']/item"/>
</toolbar>
<!--<toolbar id="Edit">
<include path="Words/areaConfiguration.xml" query="root/toolbarsAddOn/toolbar[@id='Edit']/item"/>
</toolbar>-->
<toolbar id="View">
<include path="Words/areaConfiguration.xml" query="root/toolbarsAddOn/toolbar[@id='View']/item"/>
<item command="CmdChangeFilterClearAll"/>
</toolbar>
<toolbar id="Standard">
<item command="CmdHistoryBack"/>
<item command="CmdHistoryForward"/>
<item label="-" translate="do not translate"/>
<item command="CmdDeleteRecord"/>
<item label="-" translate="do not translate"/>
<item command="CmdUndo"/>
<item command="CmdRedo"/>
<item command="CmdRefresh"/>
<item label="-" translate="do not translate"/>
<item command="CmdFirstRecord"/>
<item command="CmdPreviousRecord"/>
<item command="CmdNextRecord"/>
<item command="CmdLastRecord"/>
<item command="CmdFLExLiftBridge"/>
</toolbar>
</toolbars>
<!-- ********************************************************** -->
<!-- ************************ statusbar *********************** -->
<!-- ********************************************************** -->
<statusbar>
<!-- At runtime, put text in these by setting the property 'StatusPanelMessage',
'StatusPanelProgress', etc. to something -->
<panel id="Message" width="Contents" minwidth="40"/>
<panel id="Progress" width="Contents" minwidth="40"/>
<panel id="Area"/>
<panel id="ProgressBar" width="Contents" minwidth="150" assemblyPath="FwControls.dll" class="SIL.FieldWorks.Common.Controls.StatusBarProgressPanel"/>
<panel id="Sort" width="Contents" minwidth="40" assemblyPath="FwControls.dll" class="SIL.FieldWorks.Common.Controls.StatusBarTextBox"/>
<panel id="Filter" width="Contents" minwidth="40" assemblyPath="FwControls.dll" class="SIL.FieldWorks.Common.Controls.StatusBarTextBox"/>
<panel id="ParsingDev" width="Contents" minwidth="40" assemblyPath="FwControls.dll" class="SIL.FieldWorks.Common.Controls.StatusBarTextBox"/>
<panel id="RecordNumber" width="Contents" minwidth="40"/>
</statusbar>
<!-- ********************************************************** -->
<!-- ************************ resources *********************** -->
<!-- ********************************************************** -->
<!--One thing this section does is tell the system where to find the images mentioned in various commands using the icon attribute.
Each group of icons is added as an image list control to some resx project. Open it in designer mode and look
at the bottom at the controls not actually on the 'window'. Edit the properties of the image list and you can add
or remove or reorder images. The names given here in the labels list correspond to the images in the list, in order.
This is the only place a particular image is associated with a particular name.-->
<resources>
<imageList assemblyPath="xCore.dll" class="XCore.IconHolder" field="largeImages" size="large" labels="Ticker"/>
<imageList assemblyPath="xWorks.dll" class=" SIL.FieldWorks.XWorks.ImageHolder" field="largeImages" size="large" labels="BrowseView, EditView, DocumentView, NoFilter, DefaultSort, GenericTool, GenericTool2, folder-lexicon, folder-lists, folder-texts, folder-words, folder-grammar"/>
<imageList assemblyPath="xWorks.dll" class=" SIL.FieldWorks.XWorks.ImageHolder" field="smallImages" size="small" labels="BrowseView, EditView, DocumentView, NoFilter, SimpleFilter, DefaultSort, GenericTool, Delete, SpecialCharacter, ExternalLink, SideBySideView"/>
<imageList assemblyPath="xWorks.dll" class=" SIL.FieldWorks.XWorks.ImageHolder" field="smallCommandImages" size="small" labels="NewProject, OpenProject, SaveProject, historyBack, historyForward, Refresh, MenuWidget, Undo, Redo, Cut, Copy, Paste, MoveUp, MoveRight, MoveDown, MoveLeft, columnChooser, ArchiveWithRamp"/>
<imageList assemblyPath="LexEdDll.dll" class="SIL.FieldWorks.XWorks.LexEd.LexEntryImages" field="buttonImages" size="small" labels="majorEntry, minorEntry, subentry, goToEntry, reversalEntry, gotoReversalEntry"/>
<imageList assemblyPath="xWorks.dll" class="SIL.FieldWorks.XWorks.RecordClerkImages" field="buttonImages" size="small" labels="firstRecord, lastRecord, previousRecord, nextRecord, syncSendReceive, syncObtain, chorus, syncSendReceiveFirst"/>
<imageList assemblyPath="DetailControls.dll" class="SIL.FieldWorks.Common.Framework.DetailControls.DataTreeImages" field="nodeImages" size="small" labels="sequence, collection, atomic"/>
<imageList assemblyPath="LexTextDll.dll" class=" SIL.FieldWorks.XWorks.LexText.ImageHolder" field="smallImages" size="small" labels="Pie, Circle, TwoHalfs, Help, Delete, Remove, Left, Right"/>
<imageList assemblyPath="LexTextDll.dll" class=" SIL.FieldWorks.XWorks.LexText.ImageHolder" field="smallCommandImages" size="small" labels="findWordform, addNewAnalysis"/>
<include path="Lexicon/areaConfiguration.xml" query="root/resources/*"/>
<include path="Words/areaConfiguration.xml" query="root/resources/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/resources/*"/>
<include path="Notebook/areaConfiguration.xml" query="root/resources/*"/>
<include path="Lists/areaConfiguration.xml" query="root/resources/*"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/resources/*"/>
</resources>
<!-- ********************************************************** -->
<!-- ************************ listeners *********************** -->
<!-- ********************************************************** -->
<!--Listeners are classes that are instantiated and added to the mediator's list of colleagues (message handlers)
to handle messages that are not specific to one particular tool.-->
<listeners>
<listener assemblyPath="xCore.dll" class="XCore.MockupDialogLauncher"/>
<include path="Lexicon/areaConfiguration.xml" query="root/listeners/*"/>
<include path="Notebook/areaConfiguration.xml" query="root/listeners/*"/>
<include path="Words/areaConfiguration.xml" query="root/listeners/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/listeners/*"/>
<include path="Lists/areaConfiguration.xml" query="root/listeners/*"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/listeners/*"/>
<!-- this guy watches what the 'areas' list puts in the 'areaChoice' property and
populates the "tools" list appropriately. -->
<listener assemblyPath="LexTextDll.dll" class="SIL.FieldWorks.XWorks.LexText.AreaListener"/>
<listener assemblyPath="LexEdDll.dll" class="SIL.FieldWorks.XWorks.LexEd.FLExBridgeListener"/>
<!-- take care of the writing system combo box -->
<listener assemblyPath="xWorks.dll" class="SIL.FieldWorks.XWorks.WritingSystemListHandler"/>
<listener assemblyPath="xWorks.dll" class="SIL.FieldWorks.XWorks.CombinedStylesListHandler"/>
<listener assemblyPath="xWorks.dll" class="SIL.FieldWorks.XWorks.LinkListener"/>
<listener assemblyPath="FlexUIAdapter.dll" class="XCore.ContextHelper">
<parameters contextHelpPath="ContextHelp.xml"/>
</listener>
<listener assemblyPath="xWorks.dll" class="SIL.FieldWorks.XWorks.MacroListener"/>
<listener assemblyPath="xWorks.dll" class="SIL.FieldWorks.XWorks.DictionaryConfigurationListener"/>
<!--<listener assemblyPath="xCore.dll" class="XCore.ProgressListener" />-->
</listeners>
<!-- ********************************************************** -->
<!-- ************************ defaultProperties *********************** -->
<!-- ********************************************************** -->
<!--set the value of some simple properties to the defaults we want in the case that
this is the first time the user has run the program, or the settings file is missing,
or the program was launched with the shift key down
Also for each area, the default tool is defined.-->
<defaultProperties>
<include path="Lexicon/areaConfiguration.xml" query="root/defaultProperties/*"/>
<include path="Words/areaConfiguration.xml" query="root/defaultProperties/*"/>
<include path="Notebook/areaConfiguration.xml" query="root/defaultProperties/*"/>
<include path="Lists/areaConfiguration.xml" query="root/defaultProperties/*"/>
<include path="Grammar/areaConfiguration.xml" query="root/defaultProperties/*"/>
<include path="CommonDataTreeInclude.xml" query="root/defaultProperties/*"/>
<include path="Extensions/*/MainConfigurationExtension.xml" query="root/defaultProperties/*"/>
<property name="PreferredUILibrary" value="FlexUIAdapter.dll" persist="false"/>
<!-- This is the splitter distance for the sidebar/secondary splitter pair of controls. -->
<property name="SidebarWidthGlobal" intValue="140" persist="true"/>
<!-- Label when collapsed to icon. -->
<property name="SidebarLabel" value="Sidebar" persist="true"/>
<!-- This property is driven by the needs of the current main control, not the user. -->
<property name="ShowRecordList" bool="false" persist="true"/>
<!-- This is the splitter distance for the record list/main content pair of controls. -->
<property name="RecordListWidthGlobal" intValue="200" persist="true"/>
<!-- Label when collapsed to icon. -->
<property name="RecordListLabel" value="Record List" persist="true"/>
<property name="MainContentLabel" value="Main Content" persist="true"/>
<property name="AllButSidebarLabel" value="Record List & MainContent" persist="true"/>
<property name="InitialArea" value="lexicon" settingsGroup="local"/>
<property name="DoLog" bool="true" persist="false"/>
<!-- ShowBalloonHelp and ShowMorphBundles are no longer supported in GUI, but still in the code.
So, add a default value here in order to prevent it from persisting -->
<property name="ShowBalloonHelp" bool="false" persist="false"/>
<property name="ShowMorphBundles" bool="true" persist="false" settingsGroup="local"/>
<!-- Default splitter values -->
<!-- <property name="PartsOfSpeech.editBasic.DataTree-Splitter" intValue="200"/>
<property name="PartsOfSpeech.editPlus.DataTree-Splitter" intValue="200"/>
-->
<!-- set this property to the item with the id "pos" of the list "AreasList". will also set the "areaChoiceParameters" property to the contents of the corresponding <parameters> node.
note that this currently should match the tool chosen below, under <contentClass> -->
<!-- simple string properties can be set like this: <property name ="UserName" value="Leroy"/> -->
<!-- increment this to make toolbar layouts revert to default -->
<property name="CurrentToolbarVersion" value="1"/>
<!-- set these properties so they don't get set the first time they're accessed in a menu. (cf. LT-2789) -->
<property name="SortedFromEnd" bool="false" persist="true" settingsGroup="local"/>
<property name="SortedByLength" bool="false" persist="true" settingsGroup="local"/>
<!-- Properties that should never persist -->
<property name="SuspendLoadListUntilOnChangeFilter" value="" persist="false" settingsGroup="local"/>
<property name="SuspendLoadingRecordUntilOnJumpToRecord" value="" persist="false" settingsGroup="local"/>
</defaultProperties>
<!-- The class which will fill up the window (minus the sidebar, toolbars, and menubar).
this path is relative to be executing application.-->
<!-- contentClass assemblyPath="xWorks.dll" class="SIL.FieldWorks.XWorks.RecordEditView">
<parameters field="PartsOfSpeech" templatePath="MorphologyEditor/XDEs"/>
</contentClass-->
</window>