Add a Model
MyContexts is a framework application with little functionality by itself. You add functionality by downloading a model file from a repository.
Let’s do that now. You’ll add a model to your installation that provides you with a perspective on a context that holds a list of chats
. You’ll be able to create fresh contexts in which you can actually chat with a peer (provided that you are connected to any peers, of course).
Go to Manage new models
. At the bottom of Default (Base) Repository
, a form with just the field Domain
, double-click the small white rectangle with the text perspectives.domains
. We call rectangle like this cards. This will open a new context (that of the repository for perspectives.domains), showing a table Manifests
. These describe models that can be added to your installation.
Select the row Simple Chat
(by clicking in the column Name on the row with that name). Double-click it to open a new context: the manifest for Simple Chat. Notice the bottom table, Model versions
Now, in that table’s controls, click the thunderbolt icon. A drop down menu appears having the item StartUsing
. Select that item. The cursor changes to the 'waiting' shape. This will take a few seconds.
Now, if notifications are still turned on, within a few seconds a notification will appear saying model:SimpleChat added!. Inspect the Notifications table at the bottom of the screen and find that notification, there, too.
Tip
|
If you had turned off notifications while adding model:SimpleChat, the notification still has been generated. It will appear in the table, regardless whether it had been brought to your attention as a notification or not. |