Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
ADOxx modelling environment
Answer
4/11/14 11:41 AM
Hello,

I have a small issue with the ADOxx modelling environment. I have
created some libraries in the admin environment, but I can't seem to use
them in the modelling environment... Could you tell me how to load them
into that environment ?

RE: ADOxx modelling environment
Answer
4/11/14 11:42 AM as a reply to Anonymous.
After having implemented the classes and relation classes in the ADOxx Development Toolkit, you have to define model types before you can use the implemented classes or relations. The model types must be defined in the library attribute "Modi" of the Dynamic Library and of the Static Library, respectively.
The steps that need to be taken for defining a model type in the Dynamic Library are described in the following video in the Tutorial section of the www.adoxx.org portal

http://www.adoxx.org/live/create_modeltype

For more ADOxx videos, please visit the Tutorial page: http://www.adoxx.org/live/tutorial

RE: ADOxx modelling environment
Answer
4/11/14 11:42 AM as a reply to Wilfrid Utz.
I have a model type which is only defined in the library attribute "Modi" of the Dynamic Library and I can use it in the modelling environment, but I also have another model type (i*), which is also only defined in the Dynamic Library and it doesn't show in the modelling environment. Must the "Modi" of the Static Library be defined or is it another problem ?

RE: ADOxx modelling environment
Answer
4/11/14 11:44 AM as a reply to Anonymous.
If your classes are defined in the Dynamic Library, the model type must also be defined in the library attribute "Modi" of the Dynamic Library. If that's the case, you don't have to add anything to the library attribute "Modi" of the Static Library.

If the library attribute "Modi" of the Dynamic Library looks like this:

1MODELTYPE "MyModelType"
2INCL "A"
3INCL "B"
4
5MODELTYPE "i*"
6INCL "C"

then both model types should be available when creating a new model.
You can create a new model in two ways:
  1. In the menu bar select "Model" -> "New..." and then the "New Model"Dialog pops up (see attachment: new_model_menu.PNG)
  2. In the model group explorer, right click a  model group, then hover the mouse pointer over "New" (see attachment:new_model_quick.PNG)
If the model type "i*" does not appear, check the library attribute "Modi" to make sure the definition was properly saved.
Attachment

Attachment

Attachments: new_model_menu.PNG (12.2k), new_model_quick.PNG (32.7k)

RE: ADOxx modelling environment
Answer
4/11/14 11:46 AM as a reply to Wilfrid Utz.
So I looked at it, but it doesn't seem to work. The "Modi" for the library "i*" is nearly the same than the one from the library "UBSMM", but only this last one is present in the modelling environment. I'll continue looking at the "Modi" of the "i*" library, but I don't see what the problem is, since it isn't a "Modi" I've written. The only thing that could change a thing would be the "db:\\SDModel.BMP", that I don't really understand...
Attachment

Attachments: istar..JPG (60.3k)

RE: ADOxx modelling environment
Answer
4/11/14 11:51 AM as a reply to Anonymous.
The problem described relates to the assignment of users to library. This is a 1 to 1 match, meaning that a user can access only the functionality of one library. Please make sure to setup a user that points to your library and login using the modelling toolkit. Your implementation is then visisble.