C# (CSharp) SIL.FieldWorks.Discourse Пространство имен

Классы

Имя Описание
AdvancedMTDialog A dialog class for marking SOME of the text in a CChart cell as pre/postposed from the same or different rows of the chart. The logic is in a separate class.
AdvancedMTDialogLogic
CChartSentenceElements Mostly a parameter object for passing CChart cell/sentence info to the AdvancedMTDialog and its attendant Logic. Also used to return responses to CChartLogic for it to process.
ChartHeaderView This subclass of ListView is used to make the column headers for a Constituent Chart. It's main function is to handle double-clicks on column boundaries so the chart (which is neither a ListView nor a BrowseViewer) can resize its columns.
ConstChartBody The main body of the chart, containing the actual view of the charted words.
ConstChartVc
ConstituentChart A constituent chart is used to organize words (and perhaps eventally somehow morphemes) into a table where rows roughtly correspond to clauses and columns to key parts of a clause. A typical chart has two pre-nuclear columns, three or four nuclear ones (SVO and perhaps indirect object) and one or two post-nuclear ones. Currently the constituent chart is displayed as a tab in the interlinear window. It is created by reflection because it needs to refer to the interlinear assembly (in order to display words in interlinear mode), so the interlinear assembly can't know about this one.
ConstituentChartDatabaseTests
DialogInterlinRibbon Used to display interlinear text from a ConstChartWordGroup in a dialog.
DiscourseExportDialog Discourse export dialog implements a dialog for exporting the discourse chart. Considerable refactoring is in order to share more code with InterlinearExportDialog, or move common code down to ExportDialog. This has been postponed in the interests of being able to release FW 5.2.1 without requiring changes to DLLs other than Discourse.
DiscourseExportTests
DiscourseExporter DiscourseExporter is an IVwEnv implementation which exports discourse data to an XmlWriter. Make one of these by creating an XmlTextWriter. Refactoring is probably in order to share more code with InterlinearExporter, or move common code down to CollectorEnv. This has been postponed in the interests of being able to release FW 5.2.1 without requiring changes to DLLs other than Discourse.
InMemoryDiscourseTestBase Base class for several sets of tests for the Constituent chart, which share the need to create an in-memory FDO cache, a text, at least one paragraph, and make annotations in that paragraph.
InMemoryLogicTest
InMemoryMoveEditTests
InMemoryMovedTextTests
InterlinRibbon This class displays a one-line ribbon of interlinear text which keeps adding more at the end as stuff at the start gets moved into the main chart.
InterlinRibbonTests
LogicTest
MakeCellsMethod Implementation of method for making cells in chart row.
MockRibbon
NotifyChangeInfo
NotifyChangeSpy This class is a 'Test Spy' which implements IVwNotifyChange to record calls for later verification.
RibbonVc
SelectClausesDialog
TestInterlinRibbon Makes some protected methods available for testing.