C# Class SIL.FieldWorks.SharpViews.Builders.ViewBuilderFdo

ViewBuilderFdo extends ViewBuilder with capabilities appropriate to building views of FDO objects.
Inheritance: ViewBuilder
Afficher le fichier Open project: sillsdev/FieldWorks

Méthodes publiques

Méthode Description
ViewBuilderFdo ( GroupBox destination ) : System

Méthodes protégées

Méthode Description
GetHookupEventActions ( string name, object target, Action &hookEventAction, Action &unhookEventAction ) : void

Given that we are displaying property name of the target object, we would like to obtain actions that will connect and disconnect us from receiving notifications when that property changes. We have determined that there is no "'Name'Changed" event on the object. This hook method allows subclasses to provide an alternative strategy for setting up notifications.

MakeHookupForString ( Func fetcher, TssClientRun run, string name, object target, ParaBox para ) : void

Given a function that fetches strings, a run which represents the initial value of that string already inserted into a particular paragraph box, and that we have identified the fetcher as a property with the specified name of the specified target object, but we have not been able to find a ''Name'Changed' event on the target object, this stub provides a possible place for a subclass to use an alternative strategy for hooking something up to notify the view of changes to the property.

Private Methods

Méthode Description
GetPropChangedKey ( string name, ICmObject cmObj ) : int>.Tuple

Method Details

GetHookupEventActions() protected méthode

Given that we are displaying property name of the target object, we would like to obtain actions that will connect and disconnect us from receiving notifications when that property changes. We have determined that there is no "'Name'Changed" event on the object. This hook method allows subclasses to provide an alternative strategy for setting up notifications.
protected GetHookupEventActions ( string name, object target, Action &hookEventAction, Action &unhookEventAction ) : void
name string
target object
hookEventAction Action
unhookEventAction Action
Résultat void

MakeHookupForString() protected méthode

Given a function that fetches strings, a run which represents the initial value of that string already inserted into a particular paragraph box, and that we have identified the fetcher as a property with the specified name of the specified target object, but we have not been able to find a ''Name'Changed' event on the target object, this stub provides a possible place for a subclass to use an alternative strategy for hooking something up to notify the view of changes to the property.
protected MakeHookupForString ( Func fetcher, TssClientRun run, string name, object target, ParaBox para ) : void
fetcher Func
run SIL.FieldWorks.SharpViews.Paragraphs.TssClientRun
name string
target object
para SIL.FieldWorks.SharpViews.Paragraphs.ParaBox
Résultat void

ViewBuilderFdo() public méthode

public ViewBuilderFdo ( GroupBox destination ) : System
destination GroupBox
Résultat System