How to: Add an Element Tool
The following procedure demonstrates how to add an element tool, which represents a domain class, into the Toolbox for a generated designer.
To add an element item to a generated designer
In DSL Explorer, expand the Editor node, and then expand the Toolbox Tabs node.
Right-click the node to which you want to add an element item, and click Add New ElementTool.
A highlighted ElementTool node appears under the Tools node.
In the Properties window, set the Class property to the class that has been established on the diagram.
Set the Name and ToolboxIcon properties to appropriate values.
Warning
Icons must be 16 pixels high by 16 pixels wide to appear in the Toolbox.
Optionally, set the values of the remaining properties in the Properties window.
For information about how to rearrange the order in which the Toolbox items appear in the generated designer, see How to: Configure the Order of Objects in the Toolbox.