Property | Type | Description | |
---|---|---|---|
m_mdc | IFwMetaDataCache | ||
m_rootClassId | int | ||
m_source |
Method | Description | |
---|---|---|
Generate ( ) : System.Xml.XmlNode[] |
Generate the nodes that the constructor arguments indicate.
|
|
GetGeneratedChildren ( |
Return an array list of the non-comment children of root, except that any "generate" elements are replaced with what they generate. This is for generating parts that are completely defined in the xml root. For generating parts through "layouts" use the interface that passes a Vc.
|
|
GetGeneratedChildren ( |
Return an array list of the non-comment children of root, except that any "generate" elements are replaced with what they generate.
|
|
PartGenerator ( SIL.FieldWorks.FDO.FdoCache cache, |
Make a part generator for the specified "generate" element, interpreting names using the specified metadatacache. Doesn't handle generate nodes refering to layouts. Use the constructor with Vc for that.
|
|
PartGenerator ( SIL.FieldWorks.FDO.FdoCache cache, |
Make a part generator for the specified "generate" element, interpreting names using the specified metadatacache, using vc and rootClassId for handling generate nodes that refer to layouts.
|
Method | Description | |
---|---|---|
GeneratePartsFromLayouts ( int layoutClass, string fieldNameForReplace, int fieldIdForWs, |
make sure we can get a PartNode for this child, if not, try to (recursively) generate parts refering to the parent(s) until we can find the owner of the layout. clone this (generic) part:
|
|
InitMemberVariablesFromInput ( IFwMetaDataCache mdc, |
initialize fields based on input node.
|
|
ReplaceParamsInAttributes ( |
|
Method | Description | |
---|---|---|
Accept ( int flid ) : bool |
This is the definition of what it means for a field to pass all current restrictions.
|
|
AppendClassAttribute ( |
||
GetGeneratedChildren ( |
Return an array list of the non-comment children of root, except that any "generate" elements are replaced with what they generate.
|
|
GetGeneratedChildren ( |
|
|
MatchNodes ( |
Answer true if the name and every attr specified in keyAttrNames matches.
|
|
SetupWsParams ( |
protected GeneratePartsFromLayouts ( int layoutClass, string fieldNameForReplace, int fieldIdForWs, |
||
layoutClass | int | |
fieldNameForReplace | string | |
fieldIdForWs | int | |
layoutNode | ||
return | List |
static public GetGeneratedChildren ( |
||
root | The root. | |
cache | SIL.FieldWorks.FDO.FdoCache | The FDO cache. |
return | List |
static public GetGeneratedChildren ( |
||
root | The root. | |
cache | SIL.FieldWorks.FDO.FdoCache | The FDO cache. |
keyAttrNames | string | if non-null, gives a list of key attribute names. /// generated children which match another node in root in all key attributes are omitted. |
return | List |
protected InitMemberVariablesFromInput ( IFwMetaDataCache mdc, |
||
mdc | IFwMetaDataCache | |
input | ||
return | void |
public PartGenerator ( SIL.FieldWorks.FDO.FdoCache cache, |
||
cache | SIL.FieldWorks.FDO.FdoCache | |
input | ||
return | System |
public PartGenerator ( SIL.FieldWorks.FDO.FdoCache cache, |
||
cache | SIL.FieldWorks.FDO.FdoCache | |
input | ||
vc | XmlVc | for parts/layouts |
rootClassId | int | class of root object from which column layouts can be computed |
return | System |
protected ReplaceParamsInAttributes ( |
||
output | ||
labelName | string | |
fieldName | string | |
customFieldId | int | |
className | string | |
return | void |