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
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
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