C# 클래스 Sfm2Xml.LexImportFields

This container holds the import fields that were read in from the controled xml file that is used for mapping the markers in the import data to the fields used in FieldWorks. Properties show up in the Content Mappings page as well as the Modify mapping dlg.
상속: ILexImportFields
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
AddCustomField ( int classID, ILexImportCustomField field ) : bool

add a field to the given class

AddCustomImportFields ( Sfm2Xml customFields ) : bool

read the passed in list of additional fields (should be custom ones) and add them to the list of fields.

AddField ( string className, string partOf, ILexImportField field ) : bool

add a field to the given class

ContainsCustomField ( string key ) : bool
FieldsForClass ( string className ) : ICollection

get the field names for a given class of fields

GetAutoField ( string className ) : ILexImportField
GetAutoFields ( ) : ILexImportField>.Dictionary
GetCustomField ( ClsCustomFieldDescription cfIn ) : ILexImportCustomField
GetCustomField ( LexImportCustomField cfIn ) : ILexImportCustomField
GetCustomFieldClassFromClassID ( int classID ) : string
GetDestinationForName ( string name, string &className, string &fieldName ) : bool
GetField ( string fwDest, string &className ) : ILexImportField
GetUIDestForName ( string fieldName ) : string
HierarchForClass ( string className ) : string
LexImportFields ( ) : System

비공개 메소드들

메소드 설명
Initialize ( ) : bool

Any additional initialization processing could be done here. This is after the file has been read and before it's used.

ReadAClassNode ( System node ) : bool
ReadLexImportFields ( string xmlFileName ) : bool
ReadSignatureNode ( System node ) : bool

메소드 상세

AddCustomField() 공개 메소드

add a field to the given class
public AddCustomField ( int classID, ILexImportCustomField field ) : bool
classID int
field ILexImportCustomField
리턴 bool

AddCustomImportFields() 공개 메소드

read the passed in list of additional fields (should be custom ones) and add them to the list of fields.
public AddCustomImportFields ( Sfm2Xml customFields ) : bool
customFields Sfm2Xml
리턴 bool

AddField() 공개 메소드

add a field to the given class
public AddField ( string className, string partOf, ILexImportField field ) : bool
className string
partOf string
field ILexImportField
리턴 bool

ContainsCustomField() 공개 메소드

public ContainsCustomField ( string key ) : bool
key string
리턴 bool

FieldsForClass() 공개 메소드

get the field names for a given class of fields
public FieldsForClass ( string className ) : ICollection
className string
리턴 ICollection

GetAutoField() 공개 메소드

public GetAutoField ( string className ) : ILexImportField
className string
리턴 ILexImportField

GetAutoFields() 공개 메소드

public GetAutoFields ( ) : ILexImportField>.Dictionary
리턴 ILexImportField>.Dictionary

GetCustomField() 공개 메소드

public GetCustomField ( ClsCustomFieldDescription cfIn ) : ILexImportCustomField
cfIn ClsCustomFieldDescription
리턴 ILexImportCustomField

GetCustomField() 공개 메소드

public GetCustomField ( LexImportCustomField cfIn ) : ILexImportCustomField
cfIn LexImportCustomField
리턴 ILexImportCustomField

GetCustomFieldClassFromClassID() 공개 메소드

public GetCustomFieldClassFromClassID ( int classID ) : string
classID int
리턴 string

GetDestinationForName() 공개 메소드

public GetDestinationForName ( string name, string &className, string &fieldName ) : bool
name string
className string
fieldName string
리턴 bool

GetField() 공개 메소드

public GetField ( string fwDest, string &className ) : ILexImportField
fwDest string
className string
리턴 ILexImportField

GetUIDestForName() 공개 메소드

public GetUIDestForName ( string fieldName ) : string
fieldName string
리턴 string

HierarchForClass() 공개 메소드

public HierarchForClass ( string className ) : string
className string
리턴 string

LexImportFields() 공개 메소드

public LexImportFields ( ) : System
리턴 System