C# Класс SIL.FieldWorks.SharpViews.Builders.ViewBuilderFdo

ViewBuilderFdo extends ViewBuilder with capabilities appropriate to building views of FDO objects.
Наследование: ViewBuilder
Показать файл Открыть проект

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

Метод Описание
ViewBuilderFdo ( GroupBox destination ) : System

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

Метод Описание
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.

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

Метод Описание
GetPropChangedKey ( string name, ICmObject cmObj ) : int>.Tuple

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

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

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
Результат void

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

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
Результат void

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

public ViewBuilderFdo ( GroupBox destination ) : System
destination GroupBox
Результат System