Share via


How to: Add a Connection Tool

The following procedure demonstrates how to add a connection tool into the Toolbox for a generated designer. You use a connection tool to create a connector tool in the generated designer's Toolbox.

To add a connection tool to your designer

  1. In DSL Explorer, expand the Editor node, and then expand the Toolbox Tabs node.

  2. Right-click the node to which you want to add a connection item, and click Add New Connection Tool.

    A new highlighted ConnectTool node appears under the Tools node.

  3. In the Properties window, set the value of the Connection Builder property to the relationship that has been established on the diagram.

  4. Set the ToolboxIcon property either by typing the path of a bitmap file or by clicking the (…) button to locate an appropriate file.

    Warning

    Icons must be 16 pixels high by 16 pixels wide to appear in the Toolbox.

  5. (Optional.) Set additional properties in the Properties window.

    For information about rearranging the order in which Toolbox items appear in the generated designer, see How to: Configure the Order of Objects in the Toolbox.

See Also

Concepts

Defining Toolboxes in Domain-Specific Language Explorer

Domain-Specific Language Tools Glossary