C# Класс SIL.FieldWorks.FdoUi.Dialogs.RelatedWords

Summary description for RelatedWords.
Наследование: System.Windows.Forms.Form, IFWDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
CheckDisposed ( ) : void

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.

MakeSummaryView ( int hvoEntry, SIL.FieldWorks.FDO.FdoCache cache, IVwStylesheet styleSheet, XCore.Mediator mediator ) : SIL.FieldWorks.Common.Controls.XmlView

Create a view with a single LexEntry object.

RelatedWords ( SIL.FieldWorks.FDO.FdoCache cache, IVwSelection sel, int hvoEntry, int domains, int lexrels, IVwCacheDa cdaTemp, IVwStylesheet styleSheet, XCore.Mediator mediator, bool hideInsertButton ) : System

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
GetSelWord ( ) : LexEntryUi
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LoadDomainAndRelationInfo ( SIL.FieldWorks.FDO.FdoCache cache, int hvoEntry, int &domainsOut, int &lexrelsOut, IVwCacheDa &cdaTemp, IWin32Window owner ) : bool

Load both the semantic domains and the lexical relation information for hvoEntry. Returns false (after displaying a dialog) if the entry has no associated domains or lexical relations, or none of them are linked to any other entries.

LoadDomainInfo ( SIL.FieldWorks.FDO.FdoCache cache, int hvoEntry, int &hvoSemanticDomainsOut, IVwCacheDa &cdaTemp ) : bool

Load the information about the domains of hvoEntry. Returns false if the entry has no associated domains or none of them are linked to any other entries.

LoadLexicalRelationInfo ( SIL.FieldWorks.FDO.FdoCache cache, int hvoEntry, int &relsOut, IVwCacheDa cdaTemp ) : bool

Load the information about the lexical relations that link to hvoEntry. Specifically, we want LexReferences that refer to the target Entry (hvoEntry) and also some other lexical entry. For each such thing, we store in cdaTemp the name (or, if appropriate, the reverse name) of the relationship that hvoEntry has to the other entry(s) in the lex reference, as property RelatedWordsVc.ktagName of the LexReference Hvo. Return through relsOut the list of LexReferences that are thus related to hvoEntry. Return true if there are any.

SetupDomainsForEntry ( int semanticDomainHvos ) : void

Set up the referring semantic domains for the domains found of an entry

SetupForEntry ( int domains, int lexrels ) : void

Store data in m_cdaTemp suitable for displaying words related to m_hvoEntry

SetupLexRelsForEntry ( int lexicalRelationHvos ) : void

Set up the referring lexical entries of an entry

ShowNotInDictMessage ( IWin32Window owner ) : void

Shows the "not in dictionary" message.

m_btnCopy_Click ( object sender, System e ) : void
m_btnInsert_Click ( object sender, System e ) : void
m_btnLookup_Click ( object sender, System e ) : void
m_view_SelChanged ( object sender, EventArgs e ) : void

Описание методов

CheckDisposed() публичный Метод

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
public CheckDisposed ( ) : void
Результат void

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
Результат void

MakeSummaryView() публичный статический Метод

Create a view with a single LexEntry object.
public static MakeSummaryView ( int hvoEntry, SIL.FieldWorks.FDO.FdoCache cache, IVwStylesheet styleSheet, XCore.Mediator mediator ) : SIL.FieldWorks.Common.Controls.XmlView
hvoEntry int
cache SIL.FieldWorks.FDO.FdoCache
styleSheet IVwStylesheet
mediator XCore.Mediator
Результат SIL.FieldWorks.Common.Controls.XmlView

RelatedWords() публичный Метод

public RelatedWords ( SIL.FieldWorks.FDO.FdoCache cache, IVwSelection sel, int hvoEntry, int domains, int lexrels, IVwCacheDa cdaTemp, IVwStylesheet styleSheet, XCore.Mediator mediator, bool hideInsertButton ) : System
cache SIL.FieldWorks.FDO.FdoCache
sel IVwSelection
hvoEntry int
domains int
lexrels int
cdaTemp IVwCacheDa
styleSheet IVwStylesheet
mediator XCore.Mediator
hideInsertButton bool
Результат System