Part Design Guidelines

Before creating a new primitive part, answer the following questions:

To design a new part, do the following:

  1. Determine the attributes (properties) of the part.

  2. Determine the change-in-state notifications (events) that the part will signal.

  3. Determine the behaviors (actions) for the part. To minimize the number of connections that the users of your part will have to make, require as few input parameters as possible.

  4. After determining the part interface, investigate the available parts to see if one already exists or to determine which class to use as a base. Determine if any classes can be converted to parts.


Related concepts
Visual, Nonvisual, and Composite Parts
Naming Guidelines for Parts and Their Features