C# 클래스 SIL.FieldWorks.Common.Controls.PartOwnershipTree

Helper for handling switching between related (ListItemClass) lists.
상속: SIL.Utils.FwDisposableBase
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

Private Properties

프로퍼티 타입 설명
FindTreeRelationship RelationshipOfRelatives
GetDescendents Set
GetGhostParentHelper GhostParentHelper
GetHvoCommonAncestor int
GetTreeNode System.Xml.XmlNode
PartOwnershipTree System

공개 메소드들

메소드 설명
Create ( SIL.FieldWorks.FDO.FdoCache cache, IMultiListSortItemProvider sortItemProvider, bool fReturnFirstDecendentOnly ) : PartOwnershipTree

Factory for returning a PartOwnershipTree

FindCorrespondingItemsInCurrentList ( int flidForItemsBeforeListChange, Set itemsBeforeListChange, int flidForCurrentList, Set &commonAncestors ) : Set

Map itemsBeforeListChange (associated with flidForItemsBeforeListChange) to those in the current list (associated with flidForCurrentList) and provide a set of common ancestors.

GetSourceFieldName ( int targetClsId, int targetFieldId ) : string

Get the field name that should be used for the main record list when we want to edit the specified field of the specified object class. TargetFieldId may be 0 to get the default (or only) main record list field for the specified class.

보호된 메소드들

메소드 설명
DisposeUnmanagedResources ( ) : void

비공개 메소드들

메소드 설명
FindTreeRelationship ( int prevListItemsClass, int newListItemsClass ) : RelationshipOfRelatives
GetDescendents ( int hvoCommonAncestor, int relativesFlid ) : Set
GetGhostParentHelper ( int flidToTry ) : GhostParentHelper
GetHvoCommonAncestor ( int hvoBeforeListChange, int prevListItemsClass, int newListItemsClass ) : int
GetTreeNode ( int classId ) : XmlNode
PartOwnershipTree ( SIL.FieldWorks.FDO.FdoCache cache, IMultiListSortItemProvider sortItemProvider, bool fReturnFirstDecendentOnly ) : System

메소드 상세

Create() 정적인 공개 메소드

Factory for returning a PartOwnershipTree
static public Create ( SIL.FieldWorks.FDO.FdoCache cache, IMultiListSortItemProvider sortItemProvider, bool fReturnFirstDecendentOnly ) : PartOwnershipTree
cache SIL.FieldWorks.FDO.FdoCache
sortItemProvider IMultiListSortItemProvider
fReturnFirstDecendentOnly bool
리턴 PartOwnershipTree

DisposeUnmanagedResources() 보호된 메소드

protected DisposeUnmanagedResources ( ) : void
리턴 void

FindCorrespondingItemsInCurrentList() 공개 메소드

Map itemsBeforeListChange (associated with flidForItemsBeforeListChange) to those in the current list (associated with flidForCurrentList) and provide a set of common ancestors.
public FindCorrespondingItemsInCurrentList ( int flidForItemsBeforeListChange, Set itemsBeforeListChange, int flidForCurrentList, Set &commonAncestors ) : Set
flidForItemsBeforeListChange int
itemsBeforeListChange Set
flidForCurrentList int
commonAncestors Set
리턴 Set

GetSourceFieldName() 공개 메소드

Get the field name that should be used for the main record list when we want to edit the specified field of the specified object class. TargetFieldId may be 0 to get the default (or only) main record list field for the specified class.
public GetSourceFieldName ( int targetClsId, int targetFieldId ) : string
targetClsId int
targetFieldId int
리턴 string