Customizing profile-tooling model elements

Similar to the relationship between the profile and the profile-tooling model, a relationship exists between the profile-tooling model and the profile-tooling code. For example, the tooling model, by default, includes all profile-tooling elements in one palette and one FlyoutMenu menu. You can customize this tool and then regenerate the tooling code.

About this task

You can customize your profile tooling directly through the properties of your tooling elements. Or, you can visually analyze your tooling model, and customize elements in the diagram editor.

Tip: To view the properties of any profile tooling element, select the element in the Project Explorer view; then click Window > Show View > Properties.

To create a dynamic diagram based on an element of your profile modeling:

Procedure

  1. In the Project Explorer view, right-click a profile tooling element, then click Add Diagram > Add Profile_Tooling_Element Diagram. A diagram is created that visually represents the profile tooling element and its relationships.
  2. In the diagram editor, create palettes, FlyoutMenus, and other items by dragging an element from the palette into the diagram editor. The palette is already populated with shapes that you can create in your tooling model.
  3. After you customize the tooling model, save the model and regenerate the tooling code: in the Project Explorer view, right-click the tooling model; then click Generate Tooling Code.
    Note: This command does not delete code, so if you remove functionality from the tooling model after you generate the tooling code, you must manually delete the source code that relates to that specific functionality.

Feedback