Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Ternary Relations in GMF
Ternary Relations in GMF [message #552972] Sun, 15 August 2010 08:47
Eclipse UserFriend
Hi @ all,

I am trying to create an editor which has ternatry relations.
I need two classes in my diagram: ClassA and ClassB.

If I now create a relation between them, there should be automatically created another Class C, which describes the attributes of the relation.
Something like this.

ClassA
|
|------------- ClassC
|
|
ClassB

I can achieve such an look, if I add a Class Relation to my .ecore, which has three references (of type ClassA, B and C). But then I have to create first the Reference Class on the canvas, and then link it manually to the other classes....

Does anybody know how to achieve such a behavior for an gmf editor?

Best regards,
Masija

Previous Topic:Affixed element resizable.
Next Topic:How can we use shortcuts in an RCP application
Goto Forum:
  


Current Time: Sat May 17 09:34:30 EDT 2025

Powered by FUDForum. Page generated in 0.02191 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top