User Tools

Site Tools


eiffel:faq:cluster

This is an old revision of the document!


Add a Cluster (recursive)

Each cluster (to group a set of classes) can be associated with its own folder. In Settings below, a cluster (e.g. cluster “root”) is set to recursive. Below we show how to add a new sub-cluster model to the root cluster.

For the recursive case, use the terminal (or windows explorer/finder) to create subfolders in cluster “root”. To add cluster model

>pwd
.../project
>ls
EIFGENs/     project.ecf  root/
> cd root
> mkdir model
> ls
application.e  model/

On compiling, the new cluster name model appears. Right click on model to add a new class in that cluster.

If we add the file FOO, we obtain

project/
├── project.ecf
└── root
    ├── application.e
    └── model
        └── foo.e
eiffel/faq/cluster.1514765224.txt.gz · Last modified: 2018/01/01 00:07 by jonathan