C# Класс SIL.FieldWorks.XWorks.LexEd.MessageSlice

This slice supports showing the Chorus notes messages for a particular entry.
Наследование: Slice
Показать файл Открыть проект

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

Метод Описание
FinishInit ( ) : void
ShowSliceForVisibleIfData ( XmlNode node, ICmObject obj ) : bool

Determine if the object really has data to be shown in the slice. This method is called by reflection from DataTree.AddSimpleNode, to determine whether to create the slice when visibility is "ifdata".

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

Метод Описание
DummyGetCurrentUrlForNewNotes ( object dataItemInFocus, string escapedId ) : string
GetAdditionalIdsForObject ( object targetOfNote ) : IEnumerable
GetAdditionalLexiconFilePaths ( SIL.FieldWorks.FDO.FdoCache cache ) : IEnumerable

Gets additional files that have annotation files containing notes about lexicon conflicts. Note that we return the files (e.g., Lexicon_04.lexdb) that contain the lexical data, not the files (e.g., Lexicon_04.lexdb.ChorusNotes) that contain the notes. We do check for the existence of the ChorusNotes files (though I think the NotesBar would handle their absence itself) just as a performance optimization.

GetCurrentUrlForNewNotes ( object dataItemInFocus, string escapedId ) : string
GetDataFilePath ( SIL.FieldWorks.FDO.FdoCache cache ) : string
GetIdForObject ( object targetOfNote ) : string

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

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

public FinishInit ( ) : void
Результат void

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

Determine if the object really has data to be shown in the slice. This method is called by reflection from DataTree.AddSimpleNode, to determine whether to create the slice when visibility is "ifdata".
public static ShowSliceForVisibleIfData ( XmlNode node, ICmObject obj ) : bool
node System.Xml.XmlNode
obj ICmObject object to check; should be an ILexEntry
Результат bool