C# 클래스 SIL.FieldWorks.XWorks.LexEd.MessageSlice

This slice supports showing the Chorus notes messages for a particular entry.
상속: Slice
파일 보기 프로젝트 열기: sillsdev/FieldWorks

공개 메소드들

메소드 설명
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