To determine basic properties of the ribbon command:
§ Set the following values:
· Tool Name – To set the name of the tool as it should be displayed on the ribbon command and on the tool window, set the <Tool> element’s Caption attribute.
· Ribbon Tab – To set the ribbon tab in which the new ribbon command should be placed, set the <Category> child element under the <Ribbon> element.
· Ribbon Group – To set the ribbon group in which the new ribbon command should be placed, set the <Panel> child element under the <Ribbon> element.
· Command Tooltip – To set the tooltip that is displayed when placing the mouse cursor over the ribbon command, set the <ToolTip> child element under the <Ribbon> element.
· Command Icon – To set an icon for the new ribbon command, set the <Icon> child element under the <Tool> element.
<Tool caption="Data Analysis" id="ACO009" Path="MyToolFolder\MyTool.html" NeedProject="0" >
<Icon path="MyAddon.ico"/>
<Ribbon Show="1" Toggle="0">
<Category id="MyTabId" caption="My Tab"/>
<Panel id="MyGroupId" caption="My Group" />
<ToolTip title="My Tooltip" description="Tool for demonstrating add-on use"/>
</Ribbon>
</Tool>