Scope problem in the structure reference

Hi,

I'm trying to create a reference from a structure called "RelationType" to another one called "ReferenceNode". RelationType is an abstract class and two other structures will extend it. The rough sketch of the relationships will be as below.

question.png
So, the problem is when I try to select Type1 or Type2 in the solution model(by hitting Ctrl+Space), it does not show Type1 and Type2, rather it shows the name of the solution model twice. When I select one of them, it actually selects Type1 or Type2. But I want to make sure that the user can see the name of the RelationTypes rather than name of the model itself. As far as I understood, the scope of the RelationType changes to ReferenceNode due to the reference.

question_scr.png

(Instead of TestNode I want it to show Type1 and Type2.)

Do you have any recommendations or solutions for that problem?

Thanks in advance
1 comment
Since RelationType contains a reference with cardinality "1". it is treated as a smart reference and so the editor tries to make the concept as visually transparent as possible.
I recommend that you should create a dedicated "reference" concept and use it as a child in RelationType:

abstract concept RelType extends BaseConcept
          implements INamedConcept

  instance can be root: false 
alias: <no alias> 
short description: <no short description> 
 
properties: 
<< ... >> 
 
children: 
ref : ActualReference[1] 
 
references: 
<< ... >>
prettyPrint();

concept ActualReference extends BaseConcept
         implements <none>

  instance can be root: false 
alias: <no alias> 
short description: <no short description> 
 
properties: 
<< ... >> 
 
children: 
<< ... >> 
 
references: 
refNode : ReferenceNode[1]
prettyPrint();
0

Please sign in to leave a comment.