C# Class SIL.FieldWorks.Common.Framework.DetailControls.AtomicReferencePOSSlice

Summary description for AtomicReferencePOSSlice.
Inheritance: SIL.FieldWorks.Common.Framework.DetailControls.FieldSlice, IVwNotifyChange
Mostrar archivo Open project: sillsdev/FieldWorks Class Usage Examples

Protected Properties

Property Type Description
m_tree SIL.FieldWorks.Common.Widgets.TreeCombo

Private Properties

Property Type Description
m_pOSPopupTreeManager_AfterSelect void

Public Methods

Method Description
AtomicReferencePOSSlice ( SIL.FieldWorks.FDO.FdoCache cache, ICmObject obj, int flid, IPersistenceProvider persistenceProvider, XCore.Mediator mediator ) : System.Drawing

Constructor.

PropChanged ( int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void

The dafault behavior is for change watchers to call DoEffectsOfPropChange if the data for the tag being watched has changed.

Protected Methods

Method Description
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.

UpdateDisplayFromDatabase ( ) : void

Private Methods

Method Description
m_pOSPopupTreeManager_AfterSelect ( object sender, TreeViewEventArgs e ) : void

Method Details

AtomicReferencePOSSlice() public method

Constructor.
public AtomicReferencePOSSlice ( SIL.FieldWorks.FDO.FdoCache cache, ICmObject obj, int flid, IPersistenceProvider persistenceProvider, XCore.Mediator mediator ) : System.Drawing
cache SIL.FieldWorks.FDO.FdoCache
obj ICmObject CmObject that is being displayed.
flid int The field identifier for the attribute we are displaying.
persistenceProvider IPersistenceProvider
mediator XCore.Mediator
return System.Drawing

Dispose() protected method

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

PropChanged() public method

The dafault behavior is for change watchers to call DoEffectsOfPropChange if the data for the tag being watched has changed.
public PropChanged ( int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void
hvo int The object that was changed
tag int The property of the object that was changed
ivMin int the starting character index where the change occurred
cvIns int the number of characters inserted
cvDel int the number of characters deleted
return void

UpdateDisplayFromDatabase() protected method

protected UpdateDisplayFromDatabase ( ) : void
return void

Property Details

m_tree protected_oe property

protected TreeCombo,SIL.FieldWorks.Common.Widgets m_tree
return SIL.FieldWorks.Common.Widgets.TreeCombo