The DOMAIN

First, we must choose the in which we want to work. A DOMAIN stores the types of objects that were created. For instance, we may create a DOMAIN that contains different service stations, each implementing a different queueing discipline.

To choose a DOMAIN, click on Special and, then on DOMAIN $\rightarrow$ Change Domain. A window with several options appears. Choose TANGRAM2_OBJECTS.

After this, we are able to use objects types stored in the . If you can't see any Tangram-II objects in the list, and in the messages box of the main Tgif window there is an error like `` can't be created'', it means that you need to set up correct Domain paths. One way to do that is by setting them into your .Xdefaults config file. In your home directory, open or create the .Xdefaults file (plain text) and put these lines at the end of the file:

  Tgif*MaxDomains:  1
  Tgif*DefaultDomain:0
  Tgif*DomainPath0: TANGRAM2:/usr/local/Tangram2/Domain/TANGRAM2_OBJECTS:.
We can also create a new type of object from an and store it in a new user . To do that, just increment the MaxDomains variable we just created inside the .Xdefaults file and create a new variable DomainPath with the new path and name you want to add as your newly-created user domain.

Guilherme Dutra Gonzaga Jaime 2010-10-27