C# Class SIL.FieldWorks.Common.Controls.BulkEditSpecControl

Inheritance: IBulkEditSpecControl, IGhostable
Show file Open project: sillsdev/FieldWorks

Protected Properties

Property Type Description
m_cache SIL.FieldWorks.FDO.FdoCache
m_ghostParentHelper SIL.FieldWorks.Common.Controls.GhostParentHelper
m_mediator XCore.Mediator
m_sda XMLViewsDataCache

Public Methods

Method Description
DoIt ( IEnumerable itemsToChange, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
FakeDoit ( IEnumerable itemsToChange, int tagFakeFlid, int tagEnabled, SIL.FieldWorks.Common.Controls.ProgressState state ) : void
InitForGhostItems ( SIL.FieldWorks.FDO.FdoCache cache, XmlNode colSpec ) : 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

Protected Methods

Method Description
OnValueChanged ( object sender, FwObjectSelectionEventArgs args ) : void
TryGetOriginalListValue ( ISilDataAccess sda, int hvoItem, int &value ) : bool

It's possible that hvoItem will be an owner of a ghost (ie. an absent source object for m_flidAtomicProp). In that case, the cache should return 0.

UpdateListItemToNewValue ( ISilDataAccess sda, int hvoItem, int newVal, int oldVal ) : void

Method Details

DoIt() public method

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

FakeDoit() public method

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
return void

InitForGhostItems() public method

public InitForGhostItems ( SIL.FieldWorks.FDO.FdoCache cache, XmlNode colSpec ) : void
cache SIL.FieldWorks.FDO.FdoCache
colSpec System.Xml.XmlNode
return void

MakeSuggestions() public method

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
return void

OnValueChanged() protected method

protected OnValueChanged ( object sender, FwObjectSelectionEventArgs args ) : void
sender object
args FwObjectSelectionEventArgs
return void

SetClearField() public method

public SetClearField ( ) : void
return void

TryGetOriginalListValue() protected method

It's possible that hvoItem will be an owner of a ghost (ie. an absent source object for m_flidAtomicProp). In that case, the cache should return 0.
protected TryGetOriginalListValue ( ISilDataAccess sda, int hvoItem, int &value ) : bool
sda ISilDataAccess
hvoItem int
value int the original list value, if we could get at one.
return bool

UpdateListItemToNewValue() protected method

protected UpdateListItemToNewValue ( ISilDataAccess sda, int hvoItem, int newVal, int oldVal ) : void
sda ISilDataAccess
hvoItem int
newVal int
oldVal int
return void

Property Details

m_cache protected property

protected FdoCache,SIL.FieldWorks.FDO m_cache
return SIL.FieldWorks.FDO.FdoCache

m_ghostParentHelper protected property

protected GhostParentHelper,SIL.FieldWorks.Common.Controls m_ghostParentHelper
return SIL.FieldWorks.Common.Controls.GhostParentHelper

m_mediator protected property

protected Mediator,XCore m_mediator
return XCore.Mediator

m_sda protected property

protected XMLViewsDataCache,SIL.FieldWorks.Common.Controls m_sda
return XMLViewsDataCache