C# 클래스 SIL.FieldWorks.XWorks.LexEd.LexReferenceMultiSlice

Summary description for LexReferenceMultiSlice.
상속: Slice
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

공개 메소드들

메소드 설명
DeleteFromReference ( ILexReference lr ) : void

This method is called when a user selects Delete Relation on a Lexical Relation slice. For: sequence relations (eg. Calendar) collection relations (eg. Synonym) tree relation (parts/whole when deleting a Whole slice)

DeleteReference ( ILexReference lr ) : void

This method is called when a user selects Delete Relation on a Lexical Relation slice. For: Pair relation (eg. Antonym) tree relation (parts/whole when deleting a Parts slice)

EditReferenceDetails ( ILexReference lr ) : void

This method is called when a user selects "Edit Reference Set Details" for a Lexical Relation slice.

Expand ( int iSlice ) : void

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

I (JH) don't know why this was written to take the index of the slice. It's just as easy for this class to find its own index.

FinishInit ( ) : void

Override method to add suitable control.

GenerateChildren ( XmlNode node, XmlNode caller, ICmObject obj, int indent, int &insPos, ArrayList path, ObjSeqHashMap reuseMap, bool fUsePersistentExpansion ) : void
HandleCreateMenuItem ( object sender, EventArgs ea ) : void
HandleMoreMenuItem ( object sender, EventArgs ea ) : void
HandleMouseDown ( Point p ) : bool
MakeSenseChooser ( SIL.FieldWorks.FDO.FdoCache cache, IHelpTopicProvider helpTopicProvider ) : SIL.FieldWorks.Common.Framework.DetailControls.SimpleListChooser
OnHelp ( object sender, EventArgs args ) : void
OnShowFieldAlwaysVisible1 ( object sender, EventArgs args ) : void
OnShowFieldIfData1 ( object sender, EventArgs args ) : void
OnShowFieldNormallyHidden1 ( object sender, EventArgs args ) : void

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Executes in two distinct scenarios. 1. If disposing is true, the method has been called directly or indirectly by a user's code via the Dispose method. Both managed and unmanaged resources can be disposed. 2. If disposing is false, the method has been called by the runtime from inside the finalizer and you should not reference (access) other managed objects, as they already have been garbage collected. Only unmanaged resources can be disposed.

If any exceptions are thrown, that is fine. If the method is being done in a finalizer, it will be ignored. If it is thrown by client code calling Dispose, it needs to be handled by fixing the bug. If subclasses override this method, they should call the base implementation.

ExpandNewNode ( ) : 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.

비공개 메소드들

메소드 설명
AddFinalContextMenuStripOptions ( ContextMenuStrip contextMenuStrip ) : void
DisposeContextMenu ( object sender, EventArgs e ) : void
GenerateChildNode ( int iChild, XmlNode node, XmlNode caller, int indent, int &insPos, ArrayList path, ObjSeqHashMap reuseMap ) : void
GetChildObject ( ILexRefType lrt ) : ICmObject

This method is called when we are creating a new lexical relation slice. If the user selects an item it's hvo is returned. Otherwise 0 is returned and the lexical relation should not be created.

GetRootObject ( ILexRefType lrt ) : ICmObject

This method is called when we are creating a new lexical relation slice. If the user selects an item it's hvo is returned. Otherwise 0 is returned and the lexical relation should not be created.

SetRefs ( ) : void
SetupContextMenuStrip ( ) : ContextMenuStrip
UpdateForDelete ( ILexReference lr ) : void
contextMenuStrip_Closed ( object sender, System.Windows.Forms.ToolStripDropDownClosedEventArgs e ) : void

메소드 상세

DeleteFromReference() 공개 메소드

This method is called when a user selects Delete Relation on a Lexical Relation slice. For: sequence relations (eg. Calendar) collection relations (eg. Synonym) tree relation (parts/whole when deleting a Whole slice)
public DeleteFromReference ( ILexReference lr ) : void
lr ILexReference
리턴 void

DeleteReference() 공개 메소드

This method is called when a user selects Delete Relation on a Lexical Relation slice. For: Pair relation (eg. Antonym) tree relation (parts/whole when deleting a Parts slice)
public DeleteReference ( ILexReference lr ) : void
lr ILexReference
리턴 void

Dispose() 보호된 메소드

Executes in two distinct scenarios. 1. If disposing is true, the method has been called directly or indirectly by a user's code via the Dispose method. Both managed and unmanaged resources can be disposed. 2. If disposing is false, the method has been called by the runtime from inside the finalizer and you should not reference (access) other managed objects, as they already have been garbage collected. Only unmanaged resources can be disposed.
If any exceptions are thrown, that is fine. If the method is being done in a finalizer, it will be ignored. If it is thrown by client code calling Dispose, it needs to be handled by fixing the bug. If subclasses override this method, they should call the base implementation.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

EditReferenceDetails() 공개 메소드

This method is called when a user selects "Edit Reference Set Details" for a Lexical Relation slice.
public EditReferenceDetails ( ILexReference lr ) : void
lr ILexReference
리턴 void

Expand() 공개 메소드

Expand this node, which is at position iSlice in its parent.
I (JH) don't know why this was written to take the index of the slice. It's just as easy for this class to find its own index.
public Expand ( int iSlice ) : void
iSlice int
리턴 void

ExpandNewNode() 보호된 메소드

protected ExpandNewNode ( ) : void
리턴 void

FinishInit() 공개 메소드

Override method to add suitable control.
public FinishInit ( ) : void
리턴 void

GenerateChildren() 공개 메소드

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
리턴 void

HandleCreateMenuItem() 공개 메소드

public HandleCreateMenuItem ( object sender, EventArgs ea ) : void
sender object
ea System.EventArgs
리턴 void

HandleMoreMenuItem() 공개 메소드

public HandleMoreMenuItem ( object sender, EventArgs ea ) : void
sender object
ea System.EventArgs
리턴 void

HandleMouseDown() 공개 메소드

public HandleMouseDown ( Point p ) : bool
p Point
리턴 bool

MakeSenseChooser() 공개 정적인 메소드

public static MakeSenseChooser ( SIL.FieldWorks.FDO.FdoCache cache, IHelpTopicProvider helpTopicProvider ) : SIL.FieldWorks.Common.Framework.DetailControls.SimpleListChooser
cache SIL.FieldWorks.FDO.FdoCache
helpTopicProvider IHelpTopicProvider
리턴 SIL.FieldWorks.Common.Framework.DetailControls.SimpleListChooser

OnHelp() 공개 메소드

public OnHelp ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
리턴 void

OnShowFieldAlwaysVisible1() 공개 메소드

public OnShowFieldAlwaysVisible1 ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
리턴 void

OnShowFieldIfData1() 공개 메소드

public OnShowFieldIfData1 ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
리턴 void

OnShowFieldNormallyHidden1() 공개 메소드

public OnShowFieldNormallyHidden1 ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
리턴 void

UpdateDisplayIfNeeded() 보호된 메소드

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
리턴 bool