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

This class implements setting a sequence reference property to a set of values chosen from a list.
상속: IBulkEditSpecControl
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
m_cache SIL.FieldWorks.FDO.FdoCache
m_flid int
m_hvoList int
m_launcher System.Windows.Forms.Button
m_mediator XCore.Mediator

Private Properties

프로퍼티 타입 설명
BuildValueString ITsString

공개 메소드들

메소드 설명
ComplexListChooserBEditControl ( SIL.FieldWorks.FDO.FdoCache cache, XCore.Mediator mediator, XmlNode colSpec ) : System
ComplexListChooserBEditControl ( int flid, int hvoList, string displayNameProperty, string fieldName, string displayWs, SIL.FieldWorks.Common.Controls.GhostParentHelper gph ) : System
DoIt ( IEnumerable itemsToChange, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
FakeDoit ( IEnumerable itemsToChange, int tagFakeFlid, int tagEnabled, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
MakeSuggestions ( IEnumerable itemsToChange, int tagFakeFlid, int tagEnabled, SIL.FieldWorks.Common.Controls.ProgressState state ) : void

Tells SemanticDomainChooserBEditControl to make suggestions and then call FakeDoIt

Right ( string original, int numberCharacters ) : string

C# equivalent of the VB RIGHT function

SetClearField ( ) : void

And does it by setting the list to empty and using overwrite mode.

보호된 메소드들

메소드 설명
CanActuallyComputeValuesFor ( int hvoItem, int &hvoReal ) : bool
ComputeValue ( List chosenObjs, int hvoItem, List &oldVals, List &newVal ) : void
DisableItem ( int hvoItem ) : bool

subclasses may override to determine if this hvoItem should be excluded. Basically a kludge to avoid the hassle of trying to figure a way to generate separate lists for variants/complex entry types since they target the same ListItemsClass (LexEntryRef). Currently EntriesOrChildClassesRecordList can only determine which virtual property to load based upon the target ListItemsClass (not a flid). And since we typically don't want the user to change variant types for complex entry refs (or vice-versa), we need some way to filter out items in the list based upon the selected column.

EnableButtonsIfChangesWaiting ( ) : void
GetOldVals ( int hvoReal ) : List
GetRealHvo ( int hvoItem ) : int
m_launcher_Click ( object sender, EventArgs e ) : void

비공개 메소드들

메소드 설명
BuildValueString ( IEnumerable chosenObjs ) : ITsString

메소드 상세

CanActuallyComputeValuesFor() 보호된 메소드

protected CanActuallyComputeValuesFor ( int hvoItem, int &hvoReal ) : bool
hvoItem int
hvoReal int
리턴 bool

ComplexListChooserBEditControl() 공개 메소드

public ComplexListChooserBEditControl ( SIL.FieldWorks.FDO.FdoCache cache, XCore.Mediator mediator, XmlNode colSpec ) : System
cache SIL.FieldWorks.FDO.FdoCache
mediator XCore.Mediator
colSpec System.Xml.XmlNode
리턴 System

ComplexListChooserBEditControl() 공개 메소드

public ComplexListChooserBEditControl ( int flid, int hvoList, string displayNameProperty, string fieldName, string displayWs, SIL.FieldWorks.Common.Controls.GhostParentHelper gph ) : System
flid int
hvoList int
displayNameProperty string
fieldName string
displayWs string
gph SIL.FieldWorks.Common.Controls.GhostParentHelper
리턴 System

ComputeValue() 보호된 메소드

protected ComputeValue ( List chosenObjs, int hvoItem, List &oldVals, List &newVal ) : void
chosenObjs List
hvoItem int
oldVals List
newVal List
리턴 void

DisableItem() 보호된 메소드

subclasses may override to determine if this hvoItem should be excluded. Basically a kludge to avoid the hassle of trying to figure a way to generate separate lists for variants/complex entry types since they target the same ListItemsClass (LexEntryRef). Currently EntriesOrChildClassesRecordList can only determine which virtual property to load based upon the target ListItemsClass (not a flid). And since we typically don't want the user to change variant types for complex entry refs (or vice-versa), we need some way to filter out items in the list based upon the selected column.
protected DisableItem ( int hvoItem ) : bool
hvoItem int
리턴 bool

DoIt() 공개 메소드

public DoIt ( IEnumerable itemsToChange, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
itemsToChange IEnumerable
state SIL.FieldWorks.Common.Controls.ProgressState
리턴 void

EnableButtonsIfChangesWaiting() 보호된 메소드

protected EnableButtonsIfChangesWaiting ( ) : void
리턴 void

FakeDoit() 공개 메소드

public FakeDoit ( IEnumerable itemsToChange, int tagFakeFlid, int tagEnabled, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
itemsToChange IEnumerable
tagFakeFlid int
tagEnabled int
state SIL.FieldWorks.Common.Controls.ProgressState
리턴 void

GetOldVals() 보호된 메소드

protected GetOldVals ( int hvoReal ) : List
hvoReal int
리턴 List

GetRealHvo() 보호된 메소드

protected GetRealHvo ( int hvoItem ) : int
hvoItem int
리턴 int

MakeSuggestions() 공개 메소드

Tells SemanticDomainChooserBEditControl to make suggestions and then call FakeDoIt
public MakeSuggestions ( IEnumerable itemsToChange, int tagFakeFlid, int tagEnabled, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
itemsToChange IEnumerable
tagFakeFlid int
tagEnabled int
state SIL.FieldWorks.Common.Controls.ProgressState
리턴 void

Right() 공개 메소드

C# equivalent of the VB RIGHT function
public Right ( string original, int numberCharacters ) : string
original string
numberCharacters int
리턴 string

SetClearField() 공개 메소드

And does it by setting the list to empty and using overwrite mode.
public SetClearField ( ) : void
리턴 void

m_launcher_Click() 보호된 메소드

protected m_launcher_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
리턴 void

프로퍼티 상세

m_cache 보호되어 있는 프로퍼티

protected FdoCache,SIL.FieldWorks.FDO m_cache
리턴 SIL.FieldWorks.FDO.FdoCache

m_flid 보호되어 있는 프로퍼티

protected int m_flid
리턴 int

m_hvoList 보호되어 있는 프로퍼티

protected int m_hvoList
리턴 int

m_launcher 보호되어 있는 프로퍼티

protected Button,System.Windows.Forms m_launcher
리턴 System.Windows.Forms.Button

m_mediator 보호되어 있는 프로퍼티

protected Mediator,XCore m_mediator
리턴 XCore.Mediator