Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Ternary Relations in GMF
Ternary Relations in GMF [message #552972] Sun, 15 August 2010 12:47
masija . is currently offline masija .Friend
Messages: 59
Registered: July 2010
Member
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: Tue May 28 15:00:26 GMT 2024

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

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

Back to the top