C# Class SIL.FieldWorks.IText.ComplexConcControl

Inheritance: ConcordanceControlBase, IFocusablePanePortion, IPatternControl
Mostra file Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
ComplexConcControl ( ) : System
GetContext ( SelectionHelper sel ) : object
GetContext ( SelectionHelper sel, SelectionHelper limit ) : object
GetContextCount ( object ctxt ) : int
GetFlid ( object ctxt ) : int
GetItem ( SelectionHelper sel, SelectionHelper limit ) : object
GetItemContextIndex ( object ctxt, object obj ) : int
GetLevelInfo ( object ctxt, int cellIndex ) : SIL.FieldWorks.Common.COMInterfaces.SelLevInfo[]
GetNextContext ( object ctxt ) : object
GetPrevContext ( object ctxt ) : object
Init ( XCore.Mediator mediator, XmlNode configurationParameters ) : void
OnDisplayPatternNodeGroup ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
OnDisplayPatternNodeSetCriteria ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
OnDisplayPatternNodeSetOccurrence ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
OnPatternNodeGroup ( object args ) : bool
OnPatternNodeSetCriteria ( object args ) : bool
OnPatternNodeSetOccurrence ( object args ) : bool

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

SearchForMatches ( ) : List

Private Methods

Method Description
CanAddConstraint ( object option ) : bool
CanAddMorph ( object option ) : bool
CanAddOr ( object option ) : bool
CanAddWordBoundary ( object option ) : bool
ContextMenuRequested ( object sender, ContextMenuRequestedEventArgs e ) : void
GetAllNodes ( ComplexConcPatternNode node ) : IEnumerable
GetInsertionIndex ( SelectionHelper sel, ComplexConcPatternNode &parent, int &index ) : void
GetNode ( SelectionHelper sel, SelectionHelper limit ) : ComplexConcPatternNode
GetNodeIndex ( ComplexConcPatternNode node ) : int
GetOptionString ( ComplexConcordanceInsertType type ) : string
GroupNodes ( ComplexConcPatternNode nodes ) : ComplexConcPatternNode
InitializeComponent ( ) : void

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

ParseUnparsedParagraphs ( ) : void
ReconstructView ( ComplexConcPatternNode node, bool initial ) : void
ReconstructView ( ComplexConcPatternNode parent, int index, bool initial ) : void

Reconstructs the view and moves the cursor the specified position.

RemoveItemsRequested ( object sender, RemoveItemsRequestedEventArgs e ) : void
SelectionChanged ( object sender, EventArgs eventArgs ) : void
UpdateViewHeight ( ) : void
m_insertControl_Insert ( object sender, InsertEventArgs e ) : void
m_searchButton_Click ( object sender, EventArgs e ) : void
m_view_LayoutSizeChanged ( object sender, EventArgs e ) : void

Method Details

ComplexConcControl() public method

public ComplexConcControl ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

GetContext() public method

public GetContext ( SelectionHelper sel ) : object
sel SIL.FieldWorks.Common.RootSites.SelectionHelper
return object

GetContext() public method

public GetContext ( SelectionHelper sel, SelectionHelper limit ) : object
sel SIL.FieldWorks.Common.RootSites.SelectionHelper
limit SIL.FieldWorks.Common.RootSites.SelectionHelper
return object

GetContextCount() public method

public GetContextCount ( object ctxt ) : int
ctxt object
return int

GetFlid() public method

public GetFlid ( object ctxt ) : int
ctxt object
return int

GetItem() public method

public GetItem ( SelectionHelper sel, SelectionHelper limit ) : object
sel SIL.FieldWorks.Common.RootSites.SelectionHelper
limit SIL.FieldWorks.Common.RootSites.SelectionHelper
return object

GetItemContextIndex() public method

public GetItemContextIndex ( object ctxt, object obj ) : int
ctxt object
obj object
return int

GetLevelInfo() public method

public GetLevelInfo ( object ctxt, int cellIndex ) : SIL.FieldWorks.Common.COMInterfaces.SelLevInfo[]
ctxt object
cellIndex int
return SIL.FieldWorks.Common.COMInterfaces.SelLevInfo[]

GetNextContext() public method

public GetNextContext ( object ctxt ) : object
ctxt object
return object

GetPrevContext() public method

public GetPrevContext ( object ctxt ) : object
ctxt object
return object

Init() public method

public Init ( XCore.Mediator mediator, XmlNode configurationParameters ) : void
mediator XCore.Mediator
configurationParameters System.Xml.XmlNode
return void

OnDisplayPatternNodeGroup() public method

public OnDisplayPatternNodeGroup ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object
display XCore.UIItemDisplayProperties
return bool

OnDisplayPatternNodeSetCriteria() public method

public OnDisplayPatternNodeSetCriteria ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object
display XCore.UIItemDisplayProperties
return bool

OnDisplayPatternNodeSetOccurrence() public method

public OnDisplayPatternNodeSetOccurrence ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object
display XCore.UIItemDisplayProperties
return bool

OnPatternNodeGroup() public method

public OnPatternNodeGroup ( object args ) : bool
args object
return bool

OnPatternNodeSetCriteria() public method

public OnPatternNodeSetCriteria ( object args ) : bool
args object
return bool

OnPatternNodeSetOccurrence() public method

public OnPatternNodeSetOccurrence ( object args ) : bool
args object
return bool

SearchForMatches() protected method

protected SearchForMatches ( ) : List
return List