<Item>

This element defines a sub-command that is added to the drop-down menu. If no <Item> tags are used, the drop-down menu only contains the “main” tool option that is displayed and can be activated by clicking on the button itself.

Attributes

Attribute

Description

Caption

Name of the command as it should be displayed on the ribbon’s drop-down menu.

id

Uniquely identifies the command that is being added to the drop-down menu.

Path

Path to the HTML page (tool) that opens when the command on the drop-down menu is clicked.

NeedProject

Determines whether the ribbon button is disabled if no project is currently open in TerraExplorer:

§   NeedProject = 0 (Default) – Ribbon button is enabled even when no project is open.

§   NeedProject = 1 – Ribbon button is disabled when no project is open.

 

Child Elements

Element

Attributes

Description

<Container>

Defines the window where the tool is displayed.

Note:    If the <Container > element appears under the parent element, it overrides the <Container > element of the child element

See <Container>” above.

<ToolTip>

title – Title of the tooltip.

description – Tooltip text.

Defines a tooltip that is displayed when placing the mouse cursor over the command on the drop-down menu.

<Icon>

path - Path to the icon that is displayed on the new ribbon button.

Defines an icon for the command on the drop-down menu.