Property | Type | Description | |
---|---|---|---|
m_configObjectName | string | ||
m_currentIndex | int | ||
m_currentObject | ICmObject | ||
m_hvoOwner | int | ||
m_mainView | SIL.FieldWorks.Common.Controls.XmlSeqView |
Property | Type | Description | |
---|---|---|---|
AdjustedClerkIndex | int | ||
BaseLayoutName | string | ||
DisposeTooltip | void | ||
ExtractLayoutsFromLayoutTypeList | string>>.IEnumerable | ||
FindViewNameInList | string | ||
GatherBuiltInAndUserLayouts | string>>.IEnumerable | ||
GetBuiltInLayouts | string>>.IEnumerable | ||
GetPublicationName | string | ||
GetSafeWsName | string | ||
GetSelectedConfigView | string | ||
GetSelectedPublication | string | ||
GetTarget | ICmObject | ||
GetUserDefinedDictLayouts | string>>.IEnumerable | ||
GetWidthOfStringInPixels | int | ||
GiveSimpleWarning | void | ||
InitializeComponent | void | ||
IsCurrentConfigViewChanged | bool | ||
IsCurrentPublicationChanged | bool | ||
IsCurrentReversalWsChanged | bool | ||
IsDesiredPublication | bool | ||
IsObjectVisible | bool | ||
MakePublicationTitlePart | string | ||
NoReasonToChangeTitle | bool | ||
OnMouseClick | void | ||
ResetSpacer | void | ||
RunConfigureDialog | void | ||
SelectAndScrollToCurrentRecord | void | ||
SetConfigViewTitle | void | ||
SubitemClicked | ICmObject | ||
SubitemClicked | ICmObject | ||
TrimToMaxPixelWidth | string | ||
TryToJumpToSelection | void |
Method | Description | |
---|---|---|
GetPubDecorator ( ) : |
||
Init ( XCore.Mediator mediator, |
||
OnCheckJump ( object argument ) : bool |
Check to see if the user needs to be alerted that JumpToRecord is not possible.
|
|
OnClerkOwningObjChanged ( object sender ) : bool | ||
OnConfigureXmlDocView ( object commandObject ) : bool |
Launch the configure dialog.
|
|
OnDeleteRecord ( object commandObject ) : bool |
If this gets called (which it never should), just say we did it, unless we are in the context of reversal entries. In the case of reversal entries, we say we did not do it, so the record clerk deals with it.
|
|
OnDisplayConfigureXmlDocView ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
The configure dialog may be launched any time this tool is active. Its name is derived from the name of the tool.
|
|
OnDisplayDeleteRecord ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
see if it makes sense to provide the "delete record" command now. Currently we don't support this in document view, except for reversal entries. If we decide to support it, we will need to do additional work (cf LT-1222) to ensure that (a) The clerk's idea of the current entry corresponds to where the selection is (b) After deleting it, the clerk's list gets updated. The former is not happening because we haven't written a SelectionChange method to notice the selection in the view and change the clerk to match. Not sure why the clerk's list isn't being updated...it may be only a problem for homographs.
|
|
OnDisplayFindAndReplaceText ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
Enables the command that just does Find, without Replace.
|
|
OnDisplayLayouts ( object parameter, XCore.UIListDisplayProperties &display ) : bool |
Populate the list of layout views for the second dictionary titlebar menu.
|
|
OnDisplayPublications ( object parameter, XCore.UIListDisplayProperties &display ) : bool |
Populate the list of publications for the first dictionary titlebar menu.
|
|
OnDisplayReplaceText ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
Enables the command that just does Find, without Replace.
|
|
OnDisplayShowAllEntries ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
OnFindAndReplaceText ( object argument ) : bool |
Implements the command that just does Find, without Replace.
|
|
OnPropertyChanged ( string name ) : void |
Receives the broadcast message "PropertyChanged"
|
|
OnRecordNavigation ( object argument ) : bool | ||
OnReplaceText ( object argument ) : bool |
Implements the command that just does Find, without Replace.
|
|
OnSelectionChanged ( object sender, SIL.FieldWorks.Common.Utils.FwObjectSelectionEventArgs e ) : void |
invoked when our XmlDocView selection changes.
|
|
OnShowAllEntries ( object args ) : bool | ||
PostLayoutInit ( ) : void |
We wait until containing controls are laid out to try to scroll our selection into view, because it depends somewhat on the window being the true size.
|
|
PrintFromDetail ( PrintDocument pd, int recordHvo ) : void |
Pass command (from RecordEditView) on to printing view.
|
|
XmlDocView ( ) : System |
Initializes a new instance of the ViewManager class.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
DisposeContextMenu ( object sender, |
||
GetMessageAdditionalTargets ( List |
subclasses should override if they have more targets
|
|
InitBase ( XCore.Mediator mediator, |
Initialize this as an IxCoreColleague subclasses must call this from their Init. This was done, rather than providing an Init() here in the normal way, to drive home the point that the subclass must set m_fullyInitialized to true when it is fully initialized. |
|
OnMouseLeave ( |
||
OnMouseMove ( MouseEventArgs e ) : void | ||
OnPaint ( PaintEventArgs e ) : void |
Ensure that we have the current record selected and visible in the window. See LT-9109.
|
|
OnParentChanged ( |
||
OnSizeChanged ( |
||
ReadParameters ( ) : void |
Read in the parameters to determine which sequence/collection we are editing.
|
|
RunConfigureDialogAt ( object sender, |
||
SetInfoBarText ( ) : void | ||
SetupDataContext ( ) : void | ||
SetupStylesheet ( ) : void | ||
ShowRecord ( ) : void | ||
m_contextMenu_Closed ( object sender, System.Windows.Forms.ToolStripDropDownClosedEventArgs e ) : void | ||
m_mainView_MouseClick ( object sender, MouseEventArgs e ) : void | ||
m_mainView_MouseLeave ( object sender, |
||
m_mainView_MouseMove ( object sender, MouseEventArgs e ) : void |
Method | Description | |
---|---|---|
AdjustedClerkIndex ( ) : int |
By default this returns Clerk.CurrentIndex. However, when we are using a decorator for the view, we may need to adjust the index.
|
|
BaseLayoutName ( string name ) : string | ||
DisposeTooltip ( ) : void | ||
ExtractLayoutsFromLayoutTypeList ( IEnumerable |
||
FindViewNameInList ( string>.IEnumerable |
||
GatherBuiltInAndUserLayouts ( ) : string>>.IEnumerable |
||
GetBuiltInLayouts ( |
||
GetPublicationName ( ) : string | ||
GetSafeWsName ( ) : string | ||
GetSelectedConfigView ( ) : string | ||
GetSelectedPublication ( ) : string | ||
GetTarget ( ICmObject obj, int clsid ) : ICmObject | ||
GetUserDefinedDictLayouts ( IEnumerable |
||
GetWidthOfStringInPixels ( string sInput ) : int | ||
GiveSimpleWarning ( ExclusionReasonCode xrc ) : void | ||
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
IsCurrentConfigViewChanged ( ) : bool | ||
IsCurrentPublicationChanged ( ) : bool | ||
IsCurrentReversalWsChanged ( ) : bool | ||
IsDesiredPublication ( ICmPossibility item, string name ) : bool | ||
IsObjectVisible ( int hvoTarget, ExclusionReasonCode &xrc ) : bool | ||
MakePublicationTitlePart ( string titleStr ) : string | ||
NoReasonToChangeTitle ( string context ) : bool | ||
OnMouseClick ( MouseEventArgs e ) : void | ||
ResetSpacer ( int spacerWidth, string activeLayoutName ) : void | ||
RunConfigureDialog ( string nodePath ) : void | ||
SelectAndScrollToCurrentRecord ( ) : void | ||
SetConfigViewTitle ( ) : void | ||
SubitemClicked ( Point where, int clsid ) : ICmObject |
Return the most specific object identified by a click at the specified position. An object is considered indicated if it is or has an owner of the specified class. The object must be different from the outermost indicated object in the selection.
|
|
SubitemClicked ( Point where, int clsid, |
Return an item of the specified class that is indicated by a click at the specified position, but only if it is part of a different object also of that class.
|
|
TrimToMaxPixelWidth ( int pixelWidthAllowed, string sToTrim ) : string | ||
TryToJumpToSelection ( Point where ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
return | void |
protected DisposeContextMenu ( object sender, |
||
sender | object | |
e | ||
return | void |
protected GetMessageAdditionalTargets ( List |
||
collector | List |
|
return | void |
public GetPubDecorator ( ) : |
||
return |
public Init ( XCore.Mediator mediator, |
||
mediator | XCore.Mediator | |
configurationParameters | ||
return | void |
protected InitBase ( XCore.Mediator mediator, |
||
mediator | XCore.Mediator | |
configurationParameters | ||
return | void |
public OnCheckJump ( object argument ) : bool | ||
argument | object | the hvo of the record |
return | bool |
public OnClerkOwningObjChanged ( object sender ) : bool | ||
sender | object | |
return | bool |
public OnConfigureXmlDocView ( object commandObject ) : bool | ||
commandObject | object | |
return | bool |
public OnDeleteRecord ( object commandObject ) : bool | ||
commandObject | object | |
return | bool |
public OnDisplayConfigureXmlDocView ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnDisplayDeleteRecord ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnDisplayFindAndReplaceText ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnDisplayLayouts ( object parameter, XCore.UIListDisplayProperties &display ) : bool | ||
parameter | object | The parameter. |
display | XCore.UIListDisplayProperties | The display. |
return | bool |
public OnDisplayPublications ( object parameter, XCore.UIListDisplayProperties &display ) : bool | ||
parameter | object | The parameter. |
display | XCore.UIListDisplayProperties | The display. |
return | bool |
public OnDisplayReplaceText ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnDisplayShowAllEntries ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnFindAndReplaceText ( object argument ) : bool | ||
argument | object | |
return | bool |
protected OnMouseLeave ( |
||
e | ||
return | void |
protected OnMouseMove ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
return | void |
protected OnParentChanged ( |
||
e | ||
return | void |
public OnPropertyChanged ( string name ) : void | ||
name | string | |
return | void |
public OnRecordNavigation ( object argument ) : bool | ||
argument | object | |
return | bool |
public OnReplaceText ( object argument ) : bool | ||
argument | object | |
return | bool |
public OnSelectionChanged ( object sender, SIL.FieldWorks.Common.Utils.FwObjectSelectionEventArgs e ) : void | ||
sender | object | unused |
e | SIL.FieldWorks.Common.Utils.FwObjectSelectionEventArgs | the event arguments |
return | void |
public OnShowAllEntries ( object args ) : bool | ||
args | object | |
return | bool |
protected OnSizeChanged ( |
||
e | ||
return | void |
public PrintFromDetail ( PrintDocument pd, int recordHvo ) : void | ||
pd | PrintDocument | PrintDocument |
recordHvo | int | |
return | void |
protected RunConfigureDialogAt ( object sender, |
||
sender | object | |
e | ||
return | void |
protected m_contextMenu_Closed ( object sender, System.Windows.Forms.ToolStripDropDownClosedEventArgs e ) : void | ||
sender | object | |
e | System.Windows.Forms.ToolStripDropDownClosedEventArgs | |
return | void |
protected m_mainView_MouseClick ( object sender, MouseEventArgs e ) : void | ||
sender | object | |
e | MouseEventArgs | |
return | void |
protected m_mainView_MouseLeave ( object sender, |
||
sender | object | |
e | ||
return | void |
protected m_mainView_MouseMove ( object sender, MouseEventArgs e ) : void | ||
sender | object | |
e | MouseEventArgs | |
return | void |