C# Class SIL.FieldWorks.XWorks.LexEd.RoledParticipantsSlice

This is a slice for displaying and updating roled participants in Data Notebook records. It is actually a parent slice for multiple slices, one for each roled participants object. This slice displays the default roled participants, and the child slices display the participants for specific roles.
Inheritance: SIL.FieldWorks.Common.Framework.DetailControls.CustomReferenceVectorSlice
Datei anzeigen Open project: sillsdev/FieldWorks

Private Properties

Property Type Description
AddParticipants void
CreateContextMenu System.Windows.Forms.ContextMenuStrip
ExpandNewNode void
GenerateChildNode void
OnDeleteParticipants bool
RoledParticipantsSlice System
ShowFieldAlwaysVisible void
ShowFieldIfData void
ShowFieldNormallyHidden void
ShowHelpTopic void

Public Methods

Method Description
AboutToDiscard ( ) : void
DisposeContextMenu ( object sender, EventArgs e ) : void
Expand ( int iSlice ) : void

Expand this node, which is at position iSlice in its parent.

FinishInit ( ) : void
GenerateChildren ( XmlNode node, XmlNode caller, ICmObject obj, int indent, int &insPos, ArrayList path, ObjSeqHashMap reuseMap, bool fUsePersistentExpansion ) : void
HandleMouseDown ( Point p ) : bool
OnDisplayDeleteParticipants ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
ShowSliceForVisibleIfData ( XmlNode node, ICmObject obj ) : bool

Determine if the object really has data to be shown in the slice

contextMenuStrip_Closed ( object sender, System.Windows.Forms.ToolStripDropDownClosedEventArgs e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
InitLauncher ( ) : void
UpdateDisplayIfNeeded ( int hvo, int tag ) : bool

Updates the display of a slice, if an hvo and tag it cares about has changed in some way.

Private Methods

Method Description
AddParticipants ( object sender, EventArgs e ) : void
CreateContextMenu ( ) : ContextMenuStrip
ExpandNewNode ( IRnRoledPartic roledPartic ) : void
GenerateChildNode ( IRnRoledPartic roledPartic, XmlNode node, XmlNode caller, int indent, int &insPos, ArrayList path, ObjSeqHashMap reuseMap ) : void
OnDeleteParticipants ( object args ) : bool
RoledParticipantsSlice ( ) : System
ShowFieldAlwaysVisible ( object sender, EventArgs e ) : void
ShowFieldIfData ( object sender, EventArgs e ) : void
ShowFieldNormallyHidden ( object sender, EventArgs e ) : void
ShowHelpTopic ( object sender, EventArgs e ) : void

Method Details

AboutToDiscard() public method

public AboutToDiscard ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

DisposeContextMenu() public method

public DisposeContextMenu ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

Expand() public method

Expand this node, which is at position iSlice in its parent.
public Expand ( int iSlice ) : void
iSlice int
return void

FinishInit() public method

public FinishInit ( ) : void
return void

GenerateChildren() public method

public GenerateChildren ( XmlNode node, XmlNode caller, ICmObject obj, int indent, int &insPos, ArrayList path, ObjSeqHashMap reuseMap, bool fUsePersistentExpansion ) : void
node System.Xml.XmlNode
caller System.Xml.XmlNode
obj ICmObject
indent int
insPos int
path System.Collections.ArrayList
reuseMap SIL.FieldWorks.Common.Framework.DetailControls.ObjSeqHashMap
fUsePersistentExpansion bool
return void

HandleMouseDown() public method

public HandleMouseDown ( Point p ) : bool
p Point
return bool

InitLauncher() protected method

protected InitLauncher ( ) : void
return void

OnDisplayDeleteParticipants() public method

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

ShowSliceForVisibleIfData() public static method

Determine if the object really has data to be shown in the slice
public static ShowSliceForVisibleIfData ( XmlNode node, ICmObject obj ) : bool
node System.Xml.XmlNode The node.
obj ICmObject object to check
return bool

UpdateDisplayIfNeeded() protected method

Updates the display of a slice, if an hvo and tag it cares about has changed in some way.
protected UpdateDisplayIfNeeded ( int hvo, int tag ) : bool
hvo int
tag int
return bool

contextMenuStrip_Closed() public method

public contextMenuStrip_Closed ( object sender, System.Windows.Forms.ToolStripDropDownClosedEventArgs e ) : void
sender object
e System.Windows.Forms.ToolStripDropDownClosedEventArgs
return void