Property | Type | Description | |
---|---|---|---|
BuildXPathFromAttributes | string | ||
CopyPartAttributes | void | ||
CopyValuesTo | void | ||
CreateCopy | LayoutTreeNode | ||
GetModifiedLayouts | bool | ||
IsDirty | bool | ||
IsNodeDirty | bool | ||
MakeSenseNumberFormatConsistent | void | ||
NewValueIsCompatibleWithMagic | bool | ||
OverallLayoutVisibilityChanged | bool | ||
SplitNumberFormat | void | ||
SplitNumberFormat | void | ||
StoreUpdatedValuesInConfiguration | void | ||
StringsDiffer | bool | ||
UpdateAttribute | void | ||
UpdateAttributeIfDirty | void | ||
UpdateLayoutVisibilityIfChanged | bool | ||
UpdateSenseConfig | void |
Method | Description | |
---|---|---|
Clone ( ) : object |
Copies the tree node and the entire subtree rooted at this tree node. This is a partial copy that copies references to objects rather than cloning the objects themselves (other than the tree nodes of the subtree). This is good for moving a tree node up and down, but not so good for duplicating the tree node. In the latter case, at least the configuration XML nodes must be cloned, and the layouts those point to, and new names generated for the duplicates. Otherwise, editing the subnodes of the duplicated node ends up editing the configuration of the subnodes of the original node.
|
|
IsDescendedFrom ( |
||
LayoutTreeNode ( ) : System | ||
LayoutTreeNode ( |
Method | Description | |
---|---|---|
BuildXPathFromAttributes ( |
||
CopyPartAttributes ( |
xn is a part ref element containing the currently saved version of the part that this LayoutTreeNode represents. Copy any changed information from yourself to xn.
|
|
CopyValuesTo ( LayoutTreeNode ltn ) : void | ||
CreateCopy ( ) : LayoutTreeNode | ||
GetModifiedLayouts ( List |
||
IsDirty ( ) : bool | ||
IsNodeDirty ( ) : bool | ||
MakeSenseNumberFormatConsistent ( ) : void |
If this node shows sense config information, make sure any changes are consistent with any child that also shows sense config. In particular if the numbering scheme (1.2.3 vs 1 b iii) has changed, change in all places. So far, we never have more than one child that has this property, so we don't try to handle inconsistent children. pH 2013.09 LT-14749: Before I addressed this report, this code was intentionally not synchronising punctuation before and after the numerals. Per a discussion with Steve McConnel, before the dialog to set these settings, users could set them by editing [project]/ConfigurationSettings/LexEntry.fwlayout or LexSense.fwlayout. So my fix may break formatting that users had set up, iff they change settings through the dialog (Tools > Configure > Dictionary... > Sense). However, the dialog does not provide the same granularity as editing the .fwlayout files, and therefore, if users are using the dialog, they probably expect to update formatting of sense numbers at all levels. |
|
NewValueIsCompatibleWithMagic ( string possibleMagicLabel, string newValue ) : bool | ||
OverallLayoutVisibilityChanged ( ) : bool | ||
SplitNumberFormat ( string &sBefore, string &sMark, string &sAfter ) : void | ||
SplitNumberFormat ( string sNumber, string &sBefore, string &sMark, string &sAfter ) : void | ||
StoreUpdatedValuesInConfiguration ( ) : void | ||
StringsDiffer ( string s1, string s2 ) : bool | ||
UpdateAttribute ( |
||
UpdateAttributeIfDirty ( |
||
UpdateLayoutVisibilityIfChanged ( ) : bool | ||
UpdateSenseConfig ( |
public IsDescendedFrom ( |
||
tnPossibleAncestor | ||
return | bool |
public LayoutTreeNode ( |
||
config | ||
stringTbl | SIL.Utils.StringTable | |
classParent | string | |
return | System |