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
Afficher le fichier Open project: sillsdev/FieldWorks

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

public AboutToDiscard ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

DisposeContextMenu() public méthode

public DisposeContextMenu ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Expand() public méthode

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

FinishInit() public méthode

public FinishInit ( ) : void
Résultat void

GenerateChildren() public méthode

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
Résultat void

HandleMouseDown() public méthode

public HandleMouseDown ( Point p ) : bool
p Point
Résultat bool

InitLauncher() protected méthode

protected InitLauncher ( ) : void
Résultat void

OnDisplayDeleteParticipants() public méthode

public OnDisplayDeleteParticipants ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object
display XCore.UIItemDisplayProperties
Résultat bool

ShowSliceForVisibleIfData() public static méthode

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
Résultat bool

UpdateDisplayIfNeeded() protected méthode

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
Résultat bool

contextMenuStrip_Closed() public méthode

public contextMenuStrip_Closed ( object sender, System.Windows.Forms.ToolStripDropDownClosedEventArgs e ) : void
sender object
e System.Windows.Forms.ToolStripDropDownClosedEventArgs
Résultat void