## 9. Containers

> 9.1 Introduction

> 9.2 Creation of a container

> 9.3 Creation palette button of a container

> 9.4 Application of a container

## 9.1 Introduction

> Many cases of application of this software are very completive and require a lot of squares of objects and arrows. However you can merge a set of squares of objects and arrows. You can also combine sets of squares into containers. Then the result picture shall be clear and easy to understand.

## 9.2 Creation of a container

> For creation of container user should create scenario and select the Tools/Container designer option of main menu. Let us suppose that we have created a following scenario:

> After selection the Tools/Container designer option we have:

> Right part of this form enables us to select public components by checking checkboxes. Left one enables us to set geomerical positions of public components. When these positions are set you can save the container to the *.cont file. Click here to download container file of this example.

## 9.3 Creation of palette button of a container

> For creation of a palette button you should place the *.cont to the Application path/cfa directory and create an icon of the button and place it Application path. Then you should create or edit the Containers.xml file. Click here to show a sample of Containers.xml file. This file contains information about additional tabs of toolbar additional buttons and their icons and filenames of containers.Contains of this file is clear and omitted here. Creation or edition of the Containers.xml file results to apearing of new tabs and buttons like it is presented on the following picture:

## 9.4 Application of a container

> If palette button is created you can use a container as usual component. It looks like:

> You just need to linlk its public components (little black squares) to other components of the scenario.

> Click here to download scenario of application of container.

##