## Adding New Objects

You add objects to your existing UI designs visible in the UI Design Editor using one of the following methods:

- Select the component, then click in the design itself to place it in the design
- Click and drag the component to the design

The component is added to the UI design (layout or non-layout regions as appropriate) and also appears in the Layout view.

Figure 1 - Ready to add an object

NOTE The UI Design Editor enforces many UIQ design principles. It will not permit you to add an object to a container which does not accept objects of that type.

#### Control Collection

Control collection contains information for a number of objects (controls). The benefit of control collection is that you are able to store the information about a control in one place. This benefit provides some order when you use the same control several times on different places or UI configurations. (Figure 2)

Figure 2 - Control Collection at Outline view

The control collection can contain a control in two ways:

- Adding it directly to the container of the control collection, which generates an instance of the control to be used. (Figure 3)

Figure 3 - Control added directly to the Control Collection

- Adding a component to the container or to the publisher of applications, in this case, first the instance to the control will be added to the control collection and later an instance of the control to the corresponding manager will be added (for example: container, layout) (Figure 4)

Figure 4 - Control added directly to the control Container

##### Related references

- Application Editor
- Component Palette
- Outline View
- UI Design Editor

##### Related tasks

- Deleting Objects
- Resizing Objects
- Row Layout Manager