Method | Description | |
---|---|---|
AdjustSelectedDomainList ( ICmObject domain, IVwStylesheet stylesheet, bool check, |
Find the item in the selectedDomainsList if it is there and set the checkmark accordingly, or add it and check it.
|
|
AdjustTreeAndListView ( object tag, bool check, |
Adjust the checkbox for the nodes in the TreeView and ListView according to the 'tag' and 'check' parameter values.
|
|
CreateLabelListItem ( ICmObject semDom, IVwStylesheet stylesheet, bool createChecked, bool displayUsage ) : System.Windows.Forms.ListViewItem |
Creates a ListViewItem for the given ICmObject
|
|
SenseReferenceCount ( ICmSemanticDomain domain ) : int |
Don't count references to Semantic Domains from other Semantic Domains. The user only cares about how many times in the lexicon the Semantic Domain is used.
|
|
UpdateDomainListLabels ( IEnumerable |
Clear the ListView and add createObjectLabels to it. 'displayUsage' determines if the items are checked/unchecked.
|
|
UpdateDomainTreeLabels ( IEnumerable |
Populate the TreeView with the labels and check/uncheck according to the selectedItems and displayUsage parameters.
|
Method | Description | |
---|---|---|
CreateLabelNode ( ObjectLabel label, IVwStylesheet stylesheet, IEnumerable |
Creates the label node.
|
|
GetFontForFormFromObjectLabels ( IEnumerable |
||
RecursivelyAdjustTreeNode ( DomainNode node, object tag, bool check ) : bool |
Check/Uncheck the TreeView node and recursively do this to any children nodes if the node matches the 'tag' object.
|
public static AdjustSelectedDomainList ( ICmObject domain, IVwStylesheet stylesheet, bool check, |
||
domain | ICmObject | |
stylesheet | IVwStylesheet | |
check | bool | |
selectedDomainsList | ||
return | void |
public static AdjustTreeAndListView ( object tag, bool check, |
||
tag | object | |
check | bool | |
domainTree | ||
domainList | ||
return | void |
public static CreateLabelListItem ( ICmObject semDom, IVwStylesheet stylesheet, bool createChecked, bool displayUsage ) : System.Windows.Forms.ListViewItem | ||
semDom | ICmObject | A Semantic Domain |
stylesheet | IVwStylesheet | |
createChecked | bool | |
displayUsage | bool | |
return | System.Windows.Forms.ListViewItem |
public static SenseReferenceCount ( ICmSemanticDomain domain ) : int | ||
domain | ICmSemanticDomain | |
return | int |
public static UpdateDomainListLabels ( IEnumerable |
||
createObjectLabels | IEnumerable |
|
stylesheet | IVwStylesheet | |
domainList | ||
displayUsage | bool | |
return | void |
public static UpdateDomainTreeLabels ( IEnumerable |
||
labels | IEnumerable |
|
displayUsage | bool | |
domainTree | ||
stylesheet | IVwStylesheet | |
selectedItems | HashSet |
|
return | void |