C# Класс SIL.FieldWorks.FdoUi.BulkPosEditor

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.
Наследование: BulkPosEditorBase
Показать файл Открыть проект

Открытые методы

Метод Описание
AddExcludedSenses ( ILexEntry entry, List excludedSenses, List includedSenses ) : void

Add to excludedSenses any sense of the entry (directly or indirectly owned) which is not a member of includedSenses.

AddExcludedSenses ( ILexSense owningSense, List excludedSenses, List includedSenses ) : void

Add to excludedSenses any sense of the entry (directly or indirectly owned) which is not a member of includedSenses.

BulkPosEditor ( ) : System
DoIt ( IEnumerable itemsToChange, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
FilterType ( ) : Type

Get a type we can use to create a compatible filter.

SetClearField ( ) : void

We can set POS to null.

Защищенные методы

Метод Описание
CanFakeIt ( int hvo ) : bool

Приватные методы

Метод Описание
DoUpdatePos ( SIL.FieldWorks.Common.Controls.ProgressState state, Dictionary sensesByEntry, IPartOfSpeech posWanted ) : void

Описание методов

AddExcludedSenses() публичный Метод

Add to excludedSenses any sense of the entry (directly or indirectly owned) which is not a member of includedSenses.
public AddExcludedSenses ( ILexEntry entry, List excludedSenses, List includedSenses ) : void
entry ILexEntry
excludedSenses List
includedSenses List
Результат void

AddExcludedSenses() публичный Метод

Add to excludedSenses any sense of the entry (directly or indirectly owned) which is not a member of includedSenses.
public AddExcludedSenses ( ILexSense owningSense, List excludedSenses, List includedSenses ) : void
owningSense ILexSense
excludedSenses List
includedSenses List
Результат void

BulkPosEditor() публичный Метод

public BulkPosEditor ( ) : System
Результат System

CanFakeIt() защищенный Метод

protected CanFakeIt ( int hvo ) : bool
hvo int
Результат bool

DoIt() публичный Метод

public DoIt ( IEnumerable itemsToChange, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
itemsToChange IEnumerable
state SIL.FieldWorks.Common.Controls.ProgressState
Результат void

FilterType() публичный статический Метод

Get a type we can use to create a compatible filter.
public static FilterType ( ) : Type
Результат System.Type

SetClearField() публичный Метод

We can set POS to null.
public SetClearField ( ) : void
Результат void