C# Class 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.
Inheritance: BulkPosEditorBase
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
CanFakeIt ( int hvo ) : bool

Private Methods

Méthode Description
DoUpdatePos ( SIL.FieldWorks.Common.Controls.ProgressState state, Dictionary sensesByEntry, IPartOfSpeech posWanted ) : void

Method Details

AddExcludedSenses() public méthode

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
Résultat void

AddExcludedSenses() public méthode

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
Résultat void

BulkPosEditor() public méthode

public BulkPosEditor ( ) : System
Résultat System

CanFakeIt() protected méthode

protected CanFakeIt ( int hvo ) : bool
hvo int
Résultat bool

DoIt() public méthode

public DoIt ( IEnumerable itemsToChange, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
itemsToChange IEnumerable
state SIL.FieldWorks.Common.Controls.ProgressState
Résultat void

FilterType() public static méthode

Get a type we can use to create a compatible filter.
public static FilterType ( ) : Type
Résultat System.Type

SetClearField() public méthode

We can set POS to null.
public SetClearField ( ) : void
Résultat void