메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | void |
public static AdjustTreeAndListView ( object tag, bool check, |
||
tag | object | |
check | bool | |
domainTree | ||
domainList | ||
리턴 | 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 | |
리턴 | System.Windows.Forms.ListViewItem |
public static SenseReferenceCount ( ICmSemanticDomain domain ) : int | ||
domain | ICmSemanticDomain | |
리턴 | int |
public static UpdateDomainListLabels ( IEnumerable |
||
createObjectLabels | IEnumerable |
|
stylesheet | IVwStylesheet | |
domainList | ||
displayUsage | bool | |
리턴 | void |
public static UpdateDomainTreeLabels ( IEnumerable |
||
labels | IEnumerable |
|
displayUsage | bool | |
domainTree | ||
stylesheet | IVwStylesheet | |
selectedItems | HashSet |
|
리턴 | void |