Property | Type | Description | |
---|---|---|---|
m_mediator | XCore.Mediator |
Method | Description | |
---|---|---|
CheckDisposed ( ) : void |
Check to see if the object has been disposed. All public Properties and Methods should call this before doing anything else.
|
|
Dispose ( ) : void |
Must not be virtual. |
|
GetMessageTargets ( ) : IxCoreColleague[] |
return an array of all of the objects which should 1) be queried when looking for someone to deliver a message to 2) be potential recipients of a broadcast
|
|
Init ( XCore.Mediator mediator, |
||
OnDisplayGrammarToolsList ( object parameters, XCore.UIListDisplayProperties &display ) : bool | ||
OnDisplayLexicalToolsList ( object parameters, XCore.UIListDisplayProperties &display ) : bool | ||
OnDisplayListsToolsList ( object parameters, XCore.UIListDisplayProperties &display ) : bool | ||
OnDisplayNotebookToolsList ( object parameters, XCore.UIListDisplayProperties &display ) : bool | ||
OnDisplayTextToolsList ( object parameters, XCore.UIListDisplayProperties &display ) : bool | ||
OnDisplayWordToolsList ( object parameters, XCore.UIListDisplayProperties &display ) : bool | ||
OnGetContentControlParameters ( object parameterObj ) : bool |
This is designed to be called by reflection through the mediator, when something typically in xWorks needs to get the parameter node for a given tool. The last argument is a one-item array used to return the result, since I don't think we handle Out parameters in our SendMessage protocol.
|
|
OnGetToolForList ( object parameters ) : bool |
This method is called BY REFLECTION through the mediator from LinkListener.FollowActiveLink, because the assembly dependencies are in the wrong direction. It finds the name of the tool we need to invoke to edit a given list.
|
|
OnPropertyChanged ( string name ) : void | ||
OnReloadAreaTools ( object areaId ) : bool |
This is called by CustomListDlg to get a new/modified list to show up in the tools list.
|
|
OnSetInitialContentObject ( object windowConfigurationNode ) : bool |
this is called by xWindow just before it sets the initial control which will actually take over the content area.
|
|
OnSetToolFromName ( object toolName ) : bool |
used by the link listener
|
Method | Description | |
---|---|---|
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. |
|
GetCurrentAreaName ( ) : string |
Method | Description | |
---|---|---|
ActivateToolForArea ( string areaName ) : void | ||
AddACustomList ( ICmPossibilityList customList, |
||
AddClerkToConfigForList ( ICmPossibilityList curList, |
||
AddCommandToConfigForList ( ICmPossibilityList curList, |
||
AddContextMenuEntryToConfigForList ( ICmPossibilityList curList, |
||
AddListsToWindowConfig ( List |
For each list, create an XmlNode (or several) to plug into the windowConfiguration before it gets processed to display the lists in the Lists area. 'internal' for testing |
|
AddToolNodeToDisplay ( ICmPossibilityListRepository possRepo, SIL.FieldWorks.FDO.FdoCache cache, XCore.UIListDisplayProperties display, SIL.Utils.StringTable tbl, |
||
AddToolToConfigForList ( ICmPossibilityList curList, |
||
CreateContextMenuNode ( ICmPossibilityList curList ) : |
||
CreateCustomClerkNode ( ICmPossibilityList curList ) : |
||
CreateCustomCommandNode ( ICmPossibilityList curList ) : |
||
CreateCustomControlNode ( ICmPossibilityList curList ) : |
||
CreateCustomToolNode ( ICmPossibilityList curList, |
||
FillList ( XCore.UIListDisplayProperties display, string areaId ) : bool | ||
FillListAreaList ( XCore.UIListDisplayProperties display ) : bool | ||
FindClerkNode ( |
||
FindMatchingPossibilityListUIName ( |
||
FindToolNode ( |
||
FindToolParamNode ( |
||
GetAreaNeededForTool ( string toolName, |
||
GetClerkRecordListNodeFromToolNode ( |
||
GetCommandsXPath ( ) : string | ||
GetContextMenusXPath ( ) : string | ||
GetCustomListClerkName ( ICmPossibilityList curList ) : string | ||
GetCustomListLabel ( ICmPossibilityList curList, bool ftrim ) : string | ||
GetCustomListToolName ( ICmPossibilityList curList ) : string | ||
GetHvoFromXMLOwnerAttribut ( SIL.FieldWorks.FDO.FdoCache cache, string ownerAttr ) : int |
Finds a Major Object from the cache and returns its Hvo. If the search string is unknown, it returns zero.
|
|
GetListByGuid ( ICmPossibilityListRepository possRepo, string listGuid ) : ICmPossibilityList | ||
GetListBySda ( SIL.FieldWorks.FDO.FdoCache cache, string ownerAttr, string propertyAttr ) : ICmPossibilityList | ||
GetListClerksXPath ( ) : string | ||
GetListOfOwnerlessLists ( ) : List |
Use the Mediator to get the CmPossibilityList repo and find all the ownerless lists.
|
|
GetListToolsXPath ( ) : string | ||
GetToolNodeForArea ( string areaName, string &toolName ) : |
||
GetToolParamNodeXPath ( ICmPossibilityList curList ) : string | ||
GetToolXPath ( string areaId ) : string | ||
IsToolInArea ( string toolName, string area, |
||
IsValidAreaName ( string areaName ) : bool |
Tests whether the parameters node for the given areaName is still valid. Changing areas can cause a crash if we don't check that they're valid (cf. LT-7977).
|
|
LoadAllCustomLists ( List |
||
TryGetAreaParametersNode ( string areaName, |
Get the parameters node for the given areaName
|
|
TryGetToolNode ( string areaName, string toolName, |
||
UpdateMediatorConfig ( |
||
UpdateWinConfig ( bool fcustomChanged, List |
public GetMessageTargets ( ) : IxCoreColleague[] | ||
return | IxCoreColleague[] |
public Init ( XCore.Mediator mediator, |
||
mediator | XCore.Mediator | |
configurationParameters | ||
return | void |
public OnDisplayGrammarToolsList ( object parameters, XCore.UIListDisplayProperties &display ) : bool | ||
parameters | object | |
display | XCore.UIListDisplayProperties | |
return | bool |
public OnDisplayLexicalToolsList ( object parameters, XCore.UIListDisplayProperties &display ) : bool | ||
parameters | object | |
display | XCore.UIListDisplayProperties | |
return | bool |
public OnDisplayListsToolsList ( object parameters, XCore.UIListDisplayProperties &display ) : bool | ||
parameters | object | |
display | XCore.UIListDisplayProperties | |
return | bool |
public OnDisplayNotebookToolsList ( object parameters, XCore.UIListDisplayProperties &display ) : bool | ||
parameters | object | |
display | XCore.UIListDisplayProperties | |
return | bool |
public OnDisplayTextToolsList ( object parameters, XCore.UIListDisplayProperties &display ) : bool | ||
parameters | object | |
display | XCore.UIListDisplayProperties | |
return | bool |
public OnDisplayWordToolsList ( object parameters, XCore.UIListDisplayProperties &display ) : bool | ||
parameters | object | |
display | XCore.UIListDisplayProperties | |
return | bool |
public OnGetContentControlParameters ( object parameterObj ) : bool | ||
parameterObj | object | |
return | bool |
public OnGetToolForList ( object parameters ) : bool | ||
parameters | object | |
return | bool |
public OnPropertyChanged ( string name ) : void | ||
name | string | |
return | void |
public OnReloadAreaTools ( object areaId ) : bool | ||
areaId | object | |
return | bool |
public OnSetInitialContentObject ( object windowConfigurationNode ) : bool | ||
windowConfigurationNode | object | |
return | bool |
public OnSetToolFromName ( object toolName ) : bool | ||
toolName | object | |
return | bool |