Hello,
I know this is covered in the developer notes but there was something I could not get working.
I have an App.config file for my plugin which has all the tools that I add to my custom toolbar. In the App.config file I have added a section for the action models as follows:
"ClearCanvas.Desktop.Actions.ActionModelSettings"
"setting name="ActionModelsXml" serializeAs="Xml""
"value"
"action-models"
"action-model id="ClearCanvas.Desktop.DesktopWindow:tmx-toolbar"""/action-model"
"action id="TMXViewer.TMXExplodeSubViewTool:explodeSubView" path="tmx-toolbar/ExplodeSubView" /"
"action id="TMXViewer.TMXExplodeViewTool:explodeImageBox" path="tmx-toolbar/ExplodeView" /"
"separator /"
"/action-models"
"/value"
"/setting"
"/ClearCanvas.Desktop.Actions.ActionModelSettings"
The problem is that this does not have any effect. I also do not see the separator. Is this something that has to be added in some other global file? Is there no way to define this from some plugin configuration itself. Everything going onto this toolbar is defined only in this plugin.
Many thanks,
xarg
P.S: The quotes are supposed to be angled brackets. Could not get the editor to show XML.