![]() |
Telelogic System Architect (steve huntington) | ![]() |
Topic Title: Extending the metamodel Topic Summary: Problems with the relations between defintions Created On: 17-Nov-2006 15:49 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() Answer: Answered by Telelogic Support within the scope of a case... RENAME RELATION "User 1" to "navigates" RENAME RELATION "User 2 complement" to "is navigated by" DEFINTION "car"{ ... PROPERTY "Driver" { EDIT LISTOF "Driver" RELATE BY "navigates"} ... } | |
![]() |
|
Hi,
I want to extend the metamodel and changed usrprops.cfg. I added a new diagram "traffic", new definitions "car", "street" and "driver" and the defintions "drives on" and "navigates" to create relations between my defintions. I also added corresponding symbols for my definitions.
When I draw my diagram I'm able to create relations between all symbols, e.g. "street navigates driver". How can I ensure, that I can create proper relations only like "driver navigates car"? And when I create a metamodel for my diagram (menue->draw->create metamodel), I can neither see relations between my defintion nor my symbols. So I dont't know, which relations exist between my defintions. That's very poor for generating reports :-( ... How can I see, which relation between my defintions/symbols exist?
best regards
Andreas
|
|
![]() |
|
![]() |
|
You should be able to create your meta model using these 3 options:
1. select by diagram type, then only select your traffic diagram. 2. I recommend starting with a depth setting of 1 3. Select horizontal. Run it with these settings and if you need more detail set it to depth 2 and run it again. Mark |
|
![]() |
|
![]() |
|
Hi Mark,
with your description I can see the metamodel of my traffic diagram and the relations between my defintions. But: I always see the relation "uses". Do you know if there is a possibilty to show a relation "navigates" etc. in my metamodel? Or can I only extend the metamodel with new diagrams/defintions/symbols and there is no way to define new relations between defintion?
best regards
Andreas
|
|
![]() |
|
![]() |
|
Answered by Telelogic Support within the scope of a case...
RENAME RELATION "User 1" to "navigates"
RENAME RELATION "User 2 complement" to "is navigated by"
DEFINTION "car"{
...
PROPERTY "Driver" { EDIT LISTOF "Driver" RELATE BY "navigates"}
...
}
Edited: 23-Nov-2006 at 10:54 by frank jungbeck |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.