Thanks, 1. In fact, I want to show object C (contained in object A) on diagram B, beacause in B, there ares objects that have references to C. I have to show C on diagram B to create references without B contains C.
2. In UML, each class contains constraints, and in my metamodel, each objet contains many types of contrains (post condition, pre condition,...). And I want to show them in properties. Bonne journée Le 02/04/2010 17:37, topcased-users at gforge.enseeiht.fr <http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users> 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é des Sciences Naturelles Université nationale - HCMV
_______________________________________________ Topcased-users mailing list [email protected] http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users
