Свойство | Тип | Описание | |
---|---|---|---|
m_hvoToTreeNodeTable | TreeNode>.Dictionary | ||
m_objRepo | ICmObjectRepository | ||
m_possRepo | ICmPossibilityRepository |
Метод | Описание | |
---|---|---|
EnsureSelectedNodeVisible ( |
Ensure that the selected node is visible VERTICALLY. TreeNode.EnsureVisible attempts to make as much as possible of the label of the node visible. If the label is wider than the window, it will scroll horizontally and hide the plus/minus icons, which is very confusing to the user. The only way I (JohnT) have found to suppress this is to temporarily give the node a narrow label while calling EnsureVisible.
|
|
PopulateRecordBar ( SIL.FieldWorks.XWorks.RecordList list ) : void | ||
ReleaseRecordBar ( ) : void | ||
ReloadItem ( ICmObject currentObject ) : void | ||
UpdateSelection ( ICmObject currentObject ) : void |
Метод | Описание | |
---|---|---|
AddSubNodes ( ICmObject obj, |
the default implementation does not add any sub nodes
|
|
AddToTreeNodeTable ( int keyHvo, |
||
AddTreeNode ( ICmObject obj, |
||
AddTreeNodes ( |
||
CreateTreebarContextMenuStrip ( ) : |
||
Dispose ( bool disposing ) : void |
Executes in two distinct scenarios. 1. If disposing is true, the method has been called directly or indirectly by a user's code via the Dispose method. Both managed and unmanaged resources can be disposed. 2. If disposing is false, the method has been called by the runtime from inside the finalizer and you should not reference (access) other managed objects, as they already have been garbage collected. Only unmanaged resources can be disposed. If any exceptions are thrown, that is fine. If the method is being done in a finalizer, it will be ignored. If it is thrown by client code calling Dispose, it needs to be handled by fixing the bug. If subclasses override this method, they should call the base implementation. |
|
GetTreeNodeLabel ( ICmObject obj, |
||
PopulateRecordBar ( SIL.FieldWorks.XWorks.RecordList list, bool editable ) : void | ||
TreeBarHandler ( ) : System | ||
tree_DragDrop ( object sender, |
Currently we only know how to move our own items.
|
|
tree_DragOver ( object sender, |
||
tree_GiveFeedback ( object sender, System.Windows.Forms.GiveFeedbackEventArgs e ) : void | ||
tree_MouseClicked ( object sender, MouseEventArgs e ) : void | ||
tree_MouseDown ( object sender, MouseEventArgs e ) : void | ||
tree_MouseMove ( object sender, MouseEventArgs e ) : void | ||
tree_NodeMouseClick ( object sender, |
||
tree_Promote ( ) : void | ||
tree_moveDown ( ) : void |
let subclass handle this
|
|
tree_moveUp ( ) : void |
let subclass handle this
|
Метод | Описание | |
---|---|---|
CheckAndReportBadDiscourseTemplateMove ( ICmPossibility movingColumn, int hvoTemplate, int hvoTemplateList, int hvoDest ) : bool |
Checks for and reports any disallowed discourse template moves.
|
|
CheckAndReportBadTagListMove ( ICmPossibility movingTagItem, int hvoSubListRoot, int hvoMainTagList, int hvoDest ) : bool |
Checks for and reports any disallowed tag list moves.
|
|
CheckAndReportForbiddenMove ( int hvoMove, int hvoDest ) : bool |
Check for and deal with moves that should not be allowed. Previously the only disallowed move was one that reorganized a chart template that is in use. This is not the optimum place to 'know' about this, but I (JohnT) am not sure where is. Now we are disallowing certain moves within the TextMarkup Tags list too, so I (GordonM) have refactored a bit. Review: Should these be pulled out to the PossibilityTreeBarHandler subclass?
|
|
ClearDragHilite ( ) : void | ||
ExpandItems ( |
If any of the nodes in treeNodeCollection has a tag that is an int that is in the set, expand it, and recursively check its children.
|
|
GetExpandedItems ( |
For all the nodes that are expanded, if their tag is an int, add it to the set.
|
|
Init ( XCore.Mediator mediator, |
||
IsHvoATreeNode ( int hvo ) : bool |
Check whether the given hvo is represented by a TreeNode.
|
|
MoveItem ( object sender, |
||
OkToDrop ( object sender, |
protected AddSubNodes ( ICmObject obj, |
||
obj | ICmObject | |
parentsCollection | ||
Результат | void |
protected AddToTreeNodeTable ( int keyHvo, |
||
keyHvo | int | |
node | ||
Результат | void |
protected AddTreeNode ( ICmObject obj, |
||
obj | ICmObject | |
parentsCollection | ||
Результат |
protected AddTreeNodes ( |
||
sortedObjects | ||
tree | ||
Результат | void |
protected CreateTreebarContextMenuStrip ( ) : |
||
Результат |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public EnsureSelectedNodeVisible ( |
||
tree | ||
Результат | void |
protected GetTreeNodeLabel ( ICmObject obj, |
||
obj | ICmObject | |
font | ||
Результат | string |
public PopulateRecordBar ( SIL.FieldWorks.XWorks.RecordList list ) : void | ||
list | SIL.FieldWorks.XWorks.RecordList | |
Результат | void |
protected PopulateRecordBar ( SIL.FieldWorks.XWorks.RecordList list, bool editable ) : void | ||
list | SIL.FieldWorks.XWorks.RecordList | |
editable | bool | |
Результат | void |
public ReloadItem ( ICmObject currentObject ) : void | ||
currentObject | ICmObject | |
Результат | void |
public UpdateSelection ( ICmObject currentObject ) : void | ||
currentObject | ICmObject | |
Результат | void |
protected tree_DragDrop ( object sender, |
||
sender | object | |
e | ||
Результат | void |
protected tree_DragOver ( object sender, |
||
sender | object | |
e | ||
Результат | void |
protected tree_GiveFeedback ( object sender, System.Windows.Forms.GiveFeedbackEventArgs e ) : void | ||
sender | object | |
e | System.Windows.Forms.GiveFeedbackEventArgs | |
Результат | void |
protected tree_MouseClicked ( object sender, MouseEventArgs e ) : void | ||
sender | object | |
e | MouseEventArgs | |
Результат | void |
protected tree_MouseDown ( object sender, MouseEventArgs e ) : void | ||
sender | object | |
e | MouseEventArgs | |
Результат | void |
protected tree_MouseMove ( object sender, MouseEventArgs e ) : void | ||
sender | object | |
e | MouseEventArgs | |
Результат | void |
protected tree_NodeMouseClick ( object sender, |
||
sender | object | |
e | ||
Результат | void |
protected Dictionary |
||
Результат | TreeNode>.Dictionary |