Property | Type | Description | |
---|---|---|---|
m_configuration | |||
m_dataEntryForm | |||
m_mediator | XCore.Mediator |
Method | Description | |
---|---|---|
Create ( |
factory method which creates the correct subclass based on the XML parameters
|
|
Init ( XCore.Mediator mediator, |
||
OnConvertEntryIntoComplexForm ( object argument ) : bool |
|
|
OnConvertEntryIntoVariant ( object argument ) : bool |
|
|
OnDataTreeCopy ( object cmd ) : bool |
This method is called when a user selects a Copy operation in on a slice.
|
|
OnDataTreeDelete ( object cmd ) : bool |
This method is called when a user selects a Delete operation for a slice. The menu item is defined in DataTreeInclude.xml with message="DataTreeDelete"
|
|
OnDataTreeHelp ( object cmd ) : bool | ||
OnDataTreeInsert ( object cmd ) : bool |
This method is called when a user selects an Insert operation in on a slice.
|
|
OnDeleteMediaFile ( object cmd ) : bool | ||
OnDisplayConvertEntryIntoComplexForm ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
Allow only one complex form type LexEntryRef object per LexEntry.
|
|
OnDisplayConvertEntryIntoVariant ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
Allow any number of variant type LexEntryRef objects per LexEntry.
|
|
OnDisplayDataTreeCopy ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
decide whether to display this tree copy Menu Item
|
|
OnDisplayDataTreeHelp ( object cmd, XCore.UIItemDisplayProperties display ) : bool | ||
OnDisplayDataTreeInsert ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
decide whether to display this tree insert Menu Item
|
|
OnDisplayDeleteMediaFile ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
Check whether or not to display the "Delete This Media Link" command.
|
|
OnDisplayInsertMediaFile ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
Check whether or not to display the "Insert Sound or Movie" command.
|
|
OnDisplayInsertPicture ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool |
Determine whether we can insert a picture here.
|
|
OnInsertMediaFile ( object cmd ) : bool |
Called by reflection based on menu item InsertSoundFile.
|
|
OnInsertPicture ( object cmd ) : bool |
Called by reflection based on menu item InsertPicture.
|
|
OnLaunchGuiControl ( object commandObject ) : bool |
Launch a control dynamically from the control pointed to by the 'guicontrol' id in the command object.
|
Method | Description | |
---|---|---|
CanInsert ( Command command, Slice currentSlice, int &index ) : bool |
Check to see if the insertion command makes sense for the current slice and its ContainingDataTree.
|
|
CanInsertFieldIntoObj ( SIL.FieldWorks.FDO.FdoCache fdoCache, string fieldName, ICmObject parentObj, int &index ) : bool |
Check if the field can be inserted into the given object.
|
|
DTMenuHandler ( ) : System | ||
ExtractInsertCommandInfo ( Command command, string &fieldName, string &className ) : void |
Get the class name and field for the given insertion command.
|
|
MakeSliceContextMenu ( Slice slice, bool fHotLinkOnly ) : |
Method | Description | |
---|---|---|
AddNewLexEntryRef ( object argument, int flidTypes ) : bool | ||
CanInsertPictureOrMediaFile ( object cmd, int &flid ) : bool | ||
ComponentShowsComplexForm ( ICmObject component, ILexEntry cplxForm, ILexEntryRef &cfRef ) : bool |
Does this component show this complex form in the dictionary? The component can be a ILexEntry or a ILexSense. The reference to the complex form from the component is outted.
|
|
DeleteObject ( Command command ) : bool | ||
DisplayConvertLexEntry ( object commandObject ) : bool | ||
ExtractInsertCommandParameters ( Command command ) : |
||
GetFlidIfPossible ( int clid, string fieldName, IFwMetaDataCacheManaged mdc ) : int |
This seems a bit clumsy, but the metadata cache now throws an exception if the class id/field name pair isn't valid for GetFieldId2(). So we check first in cases where we want a zero if not found.
|
|
GetMessageTargets ( ) : IxCoreColleague[] | ||
GetSelectedComplexFormHvo ( Slice complexFormsSlice ) : int |
Intended to get a selected complex form, but it can probably get other selections from entries or senses.
|
|
GetSelectedComponentHvo ( ) : int | ||
GetSelectionHvoFromControls ( Slice slice ) : int |
Gets the selection HVO from a slice control.
|
|
InsertMediaFile ( object cmd, string filter, string keyCaption, string defaultCaption ) : bool | ||
OnAddComponentToPrimary ( object argument ) : bool | ||
OnDataTreeAddReference ( object cmd ) : bool | ||
OnDataTreeDeleteReference ( object cmd ) : bool | ||
OnDataTreeEdit ( object cmd ) : bool | ||
OnDataTreeMerge ( object cmd ) : bool | ||
OnDataTreeSplit ( object cmd ) : bool | ||
OnDisplayAddComponentToPrimary ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
OnDisplayDataTreeDelete ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
OnDisplayDataTreeDeleteReference ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
OnDisplayDataTreeEdit ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
OnDisplayDataTreeMerge ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
OnDisplayDataTreeSplit ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
OnDisplayMoveDownObjectInSequence ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
OnDisplayMoveUpObjectInSequence ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
OnDisplayVisibleComplexForm ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
OnMoveDownObjectInSequence ( object cmd ) : bool | ||
OnMoveUpObjectInSequence ( object cmd ) : bool | ||
OnVisibleComplexForm ( object argument ) : bool | ||
ShowContextMenu2Id ( |
||
ShowSliceContextMenu ( object sender, |
||
SliceConfiguredForField ( |
protected CanInsert ( Command command, Slice currentSlice, int &index ) : bool | ||
command | Command | insertion command |
currentSlice | Slice | current selected slice on the ContainingDataTree |
index | int | 0-based position for insert, if known, or -1 |
return | bool |
protected CanInsertFieldIntoObj ( SIL.FieldWorks.FDO.FdoCache fdoCache, string fieldName, ICmObject parentObj, int &index ) : bool | ||
fdoCache | SIL.FieldWorks.FDO.FdoCache | |
fieldName | string | name of the field to be inserted |
parentObj | ICmObject | The object where the item would be inserted, if possible. |
index | int | index (0-based) where it will be inserted. -1 if atomic or returns false |
return | bool |
public static Create ( |
||
dataEntryForm | ||
configuration | ||
return |
static protected ExtractInsertCommandInfo ( Command command, string &fieldName, string &className ) : void | ||
command | Command | insertion command |
fieldName | string | |
className | string | |
return | void |
public Init ( XCore.Mediator mediator, |
||
mediator | XCore.Mediator | |
configurationParameters | ||
return | void |
protected MakeSliceContextMenu ( Slice slice, bool fHotLinkOnly ) : |
||
slice | Slice | |
fHotLinkOnly | bool | |
return |
public OnConvertEntryIntoComplexForm ( object argument ) : bool | ||
argument | object | |
return | bool |
public OnConvertEntryIntoVariant ( object argument ) : bool | ||
argument | object | |
return | bool |
public OnDataTreeDelete ( object cmd ) : bool | ||
cmd | object | |
return | bool |
public OnDataTreeInsert ( object cmd ) : bool | ||
cmd | object | |
return | bool |
public OnDeleteMediaFile ( object cmd ) : bool | ||
cmd | object | |
return | bool |
public OnDisplayConvertEntryIntoComplexForm ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnDisplayConvertEntryIntoVariant ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnDisplayDataTreeCopy ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnDisplayDataTreeHelp ( object cmd, XCore.UIItemDisplayProperties display ) : bool | ||
cmd | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnDisplayDataTreeInsert ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnDisplayDeleteMediaFile ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnDisplayInsertMediaFile ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnDisplayInsertPicture ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool | ||
commandObject | object | |
display | XCore.UIItemDisplayProperties | |
return | bool |
public OnInsertMediaFile ( object cmd ) : bool | ||
cmd | object | |
return | bool |
public OnLaunchGuiControl ( object commandObject ) : bool | ||
commandObject | object | |
return | bool |
protected XmlNode,System.Xml m_configuration | ||
return |
protected DataTree,SIL.FieldWorks.Common.Framework.DetailControls m_dataEntryForm | ||
return |