C# 클래스 SIL.FieldWorks.FdoUi.BulkPosEditorBase

BulkPosEditor is the spec/display component of the Bulk Edit bar used to set the PartOfSpeech of group of LexSenses (actually by creating or modifying an MoStemMsa that is the MorphoSyntaxAnalysis of the sense). It was originally part of XmlViews, but it needs to use the POSPopupTreeManager class, and since FdoUi references XmlViews, XmlViews can't reference FdoUi. Also, it sort of makes sense to put it here as a class that is quite specific to a particular part of the model.
상속: IBulkEditSpecControl, IFWDisposable, ITextChangedNotification
파일 보기 프로젝트 열기: sillsdev/FieldWorks

보호된 프로퍼티들

프로퍼티 타입 설명
m_cache SIL.FieldWorks.FDO.FdoCache
m_mediator Mediator
m_pOSPopupTreeManager POSPopupTreeManager
m_sda XMLViewsDataCache
m_selectedHvo int
m_selectedLabel string
m_tree TreeCombo

공개 메소드들

메소드 설명
BulkPosEditorBase ( ) : System
CheckDisposed ( ) : void

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.

ControlTextChanged ( ) : void

Inform the editor that the text of the tree changed (without changing the selected index... that needs to be updated).

Dispose ( ) : void

Must not be virtual.

DoIt ( IEnumerable itemsToChange, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
FakeDoit ( IEnumerable itemsToChange, int tagFakeFlid, int tagEnable, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
MakeSuggestions ( IEnumerable itemsToChange, int tagFakeFlid, int tagEnabled, SIL.FieldWorks.Common.Controls.ProgressState state ) : void

Used by SemanticDomainChooserBEditControl to make suggestions and then call FakeDoIt

SetClearField ( ) : void

Subclasses should override if they override CanClearField to return true.

보호된 메소드들

메소드 설명
CanFakeIt ( int hvo ) : bool
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.

비공개 메소드들

메소드 설명
SelectNode ( TreeNode node ) : void
m_pOSPopupTreeManager_AfterSelect ( object sender, TreeViewEventArgs e ) : void
m_tree_TreeLoad ( object sender, EventArgs e ) : void

메소드 상세

BulkPosEditorBase() 공개 메소드

public BulkPosEditorBase ( ) : System
리턴 System

CanFakeIt() 보호된 추상적인 메소드

protected abstract CanFakeIt ( int hvo ) : bool
hvo int
리턴 bool

CheckDisposed() 공개 메소드

Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
public CheckDisposed ( ) : void
리턴 void

ControlTextChanged() 공개 메소드

Inform the editor that the text of the tree changed (without changing the selected index... that needs to be updated).
public ControlTextChanged ( ) : void
리턴 void

Dispose() 공개 메소드

Must not be virtual.
public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

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.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

DoIt() 공개 추상적인 메소드

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

FakeDoit() 공개 메소드

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

MakeSuggestions() 공개 메소드

Used by 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

SetClearField() 공개 메소드

Subclasses should override if they override CanClearField to return true.
public SetClearField ( ) : void
리턴 void

프로퍼티 상세

m_cache 보호되어 있는 프로퍼티

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

m_mediator 보호되어 있는 프로퍼티

protected Mediator m_mediator
리턴 Mediator

m_pOSPopupTreeManager 보호되어 있는 프로퍼티

protected POSPopupTreeManager m_pOSPopupTreeManager
리턴 POSPopupTreeManager

m_sda 보호되어 있는 프로퍼티

protected XMLViewsDataCache m_sda
리턴 XMLViewsDataCache

m_selectedHvo 보호되어 있는 프로퍼티

protected int m_selectedHvo
리턴 int

m_selectedLabel 보호되어 있는 프로퍼티

protected string m_selectedLabel
리턴 string

m_tree 보호되어 있는 프로퍼티

protected TreeCombo m_tree
리턴 TreeCombo