Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to create two linked element in a diagram related to a single element in the model
how to create two linked element in a diagram related to a single element in the model [message #8248] Mon, 07 August 2006 12:18 Go to next message
Michele Puccio is currently offline Michele PuccioFriend
Messages: 9
Registered: July 2009
Junior Member
Hi all
I want to map the UML AssociationClass in my UML Class Diagram Editor. I
n the gmfmap I mapped the AssociationClass as a linkMapping; the link in
the diagram editor is correctly created. A class is also created because
the AssociationClass is a Class (that is mapped as a rectangle with
compartments). So I want to create a connection between the link and the
class: I'm able to do this using *note attachment* from the palette but
I would create this attachment programmatically.
Any idea/suggestions?

thanks

michele

|---------| |---------|
| A |---------------| B |
| | | | |
| | | | |
|---------| | |---------|
|-------|
| C |
| |
|-------|
Re: how to create two linked element in a diagram related to a single element in the model [message #33828 is a reply to message #8248] Wed, 30 August 2006 08:26 Go to previous message
Eclipse UserFriend
Originally posted by: strommer.big.tuwien.ac.at

i have i similar problem. do you have already found a solution for your
problem?

Michele Puccio schrieb:
> Hi all
> I want to map the UML AssociationClass in my UML Class Diagram Editor. I
> n the gmfmap I mapped the AssociationClass as a linkMapping; the link in
> the diagram editor is correctly created. A class is also created because
> the AssociationClass is a Class (that is mapped as a rectangle with
> compartments). So I want to create a connection between the link and the
> class: I'm able to do this using *note attachment* from the palette but
> I would create this attachment programmatically.
> Any idea/suggestions?
>
> thanks
>
> michele
>
> |---------| |---------|
> | A |---------------| B |
> | | | | |
> | | | | |
> |---------| | |---------|
> |-------|
> | C |
> | |
> |-------|
Previous Topic:doc and source for org.eclipse.gmf.runtime.diagram.ui.parts
Next Topic:To seperate out the code for the new diagram file creation and the GMF part
Goto Forum:
  


Current Time: Sun Oct 06 09:32:32 GMT 2024

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

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

Back to the top