Hi some answers bellow,

Le 02/04/2010 17:37, [email protected] a écrit :

Hello,

I have to work in Topcased. I can’t write well in Enghlish.

I have 2 questions about generation of editor.

1. I have 2 class A and B. And they contain class C. They are defined in Ecore. But, after generation of editor, 2 objects A and B can’t contain a same object C.

Yes this is not a TOPCASED problem but an EMF concept. Each eclass instance is contained by only one element. I think there is a problem in your meta model

2. And I have class A. It contains class B (0..*). I want to show all objects of class B in Properties of objects of class A (ex: a object have any constraints, we can see them in it’s properties). I want show them as constraints in properties.

i don't sure i understand your question. Maybe you should make the reference A --> B, a standard reference and not a containment reference ?

Can you propose a solution?

Thank you very much

Regards
Tristan FAURE

--
Thái Lê Vinh
Université de Toulouse 2 Le Mirail


_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

<<attachment: tristan_faure.vcf>>

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to