C# Класс SIL.FieldWorks.XWorks.RecordEditView

RecordEditView implements a RecordView (view showing one object at a time from a sequence) in which the single object is displayed using a DataTree configured using XDEs. It requires that the XML configuration node have the attribute 'templatePath' (in addition to 'field' as required by RecordView to specify the list of objects). This tells it where to start looking for XDEs. This path is relative to the FW root directory (DistFiles in a development system), e.g., "IText\XDEs". This version uses the DetailControls version of DataTree, and will eventually replace the original.
Наследование: RecordView
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
m_dataEntryForm SIL.FieldWorks.Common.Framework.DetailControls.DataTree
m_panel System.Windows.Forms.Panel
m_rootMode string

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

Метод Описание
Init ( XCore.Mediator mediator, XmlNode configurationParameters ) : void

Initialize this as an IxCoreColleague

OnConsideringClosing ( object argument, CancelEventArgs args ) : bool
OnPrint ( object args ) : bool
OnRecordNavigation ( object argument ) : bool
PopulateCtrlTabTargetCandidateList ( List targetCandidates ) : Control
PrepareToGoAway ( ) : bool

From IxCoreContentControl

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

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

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

GetMessageAdditionalTargets ( List collector ) : void

subclasses should override if they have more targets

PrepCacheForNewRecord ( ) : void

Base method saves any time you switch between records.

ReadParameters ( ) : void

Read in the parameters to determine which collection we are editing.

RecordEditView ( DataTree dataEntryForm ) : System
SetInfoBarText ( ) : void
SetupDataContext ( ) : void
ShowRecord ( ) : void

Shows the record.

ShowRecord ( RecordNavigationInfo rni ) : void

Schedules the record to be shown when the application is idle.

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

Метод Описание
CreateDocView ( XmlNode parentConfigNode ) : XmlDocView
FindToolInXMLConfig ( string docToolValue ) : XmlNode
GetToolInnerControlNodeWithRightLayout ( XmlNode docViewConfig ) : XmlNode
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

RecordEditView ( ) : System
SetupSliceFilter ( ) : void

a slice filter is used to hide some slices.

this will set up a filter even if you do not specify a filter path, since some filtering is done by the FDO classes (CmObject.IsFieldRelevant)

ShouldSuppressFocusChange ( RecordNavigationInfo rni ) : bool

If this is not the focused pane in a multipane suppress, or if the navigation info requested a suppression of the focus change then return true (suppress)

ShowRecordOnIdle ( object parameter ) : bool

Shows the record on idle. This is where the record is actually shown.

m_dataEntryForm_CurrentSliceChanged ( object sender, EventArgs e ) : void

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

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

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged /// resources; false to release only unmanaged resources. ///
Результат void

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

subclasses should override if they have more targets
protected GetMessageAdditionalTargets ( List collector ) : void
collector List
Результат void

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

Initialize this as an IxCoreColleague
public Init ( XCore.Mediator mediator, XmlNode configurationParameters ) : void
mediator XCore.Mediator
configurationParameters System.Xml.XmlNode
Результат void

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

public OnConsideringClosing ( object argument, CancelEventArgs args ) : bool
argument object
args CancelEventArgs
Результат bool

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

public OnPrint ( object args ) : bool
args object
Результат bool

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

public OnRecordNavigation ( object argument ) : bool
argument object
Результат bool

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

public PopulateCtrlTabTargetCandidateList ( List targetCandidates ) : Control
targetCandidates List
Результат System.Windows.Forms.Control

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

Base method saves any time you switch between records.
protected PrepCacheForNewRecord ( ) : void
Результат void

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

From IxCoreContentControl
public PrepareToGoAway ( ) : bool
Результат bool

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

public PropChanged ( int hvo, int tag, int ivMin, int cvIns, int cvDel ) : void
hvo int
tag int
ivMin int
cvIns int
cvDel int
Результат void

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

Read in the parameters to determine which collection we are editing.
protected ReadParameters ( ) : void
Результат void

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

protected RecordEditView ( DataTree dataEntryForm ) : System
dataEntryForm SIL.FieldWorks.Common.Framework.DetailControls.DataTree
Результат System

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

protected SetInfoBarText ( ) : void
Результат void

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

protected SetupDataContext ( ) : void
Результат void

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

Shows the record.
protected ShowRecord ( ) : void
Результат void

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

Schedules the record to be shown when the application is idle.
protected ShowRecord ( RecordNavigationInfo rni ) : void
rni RecordNavigationInfo The record navigation info.
Результат void

Описание свойств

m_dataEntryForm защищенное свойство

protected DataTree,SIL.FieldWorks.Common.Framework.DetailControls m_dataEntryForm
Результат SIL.FieldWorks.Common.Framework.DetailControls.DataTree

m_panel защищенное свойство

protected Panel,System.Windows.Forms m_panel
Результат System.Windows.Forms.Panel

m_rootMode защищенное свойство

Mode string for DataTree to use at top level.
protected string m_rootMode
Результат string