Skip to main content



      Home
Home » Eclipse Projects » GEF » Poseidon-like connection behaviour
Poseidon-like connection behaviour [message #86261] Tue, 01 July 2003 17:07 Go to next message
Eclipse UserFriend
Originally posted by: carlos.grahl.senior.com.br

Hi, all!

Does anyone here already used the Poseidon Case tool? When you create an
association, the multiplicity (1..n) and the role of the association are
"draggable" labels. How to reproduce this same behaviour on the GEF
connections? I tried to create a ConnectionEndpointLocator and a Label, and
added both as children to a PolylineConnection. It works, but I can't change
the label position dragging...

Any ideas?

Thanks in advance

Carlos Augusto Grahl
Re: Poseidon-like connection behaviour [message #86369 is a reply to message #86261] Wed, 02 July 2003 16:20 Go to previous message
Eclipse UserFriend
Originally posted by: carlos.grahl.senior.com.br

Hello!

I've noticed that EMF also have the same behaviour: when you create an
association on the Class Diagram the multiplicity, roles and the Association
Name appears near the Connection, and I can drag this labels wherever I want
on the diagram. I've take a look at the EMF source, but can't find where it
is implemented. Anyone can help me, please?

Thanks in advance

Carlos Augusto Grahl

"Carlos Augusto C. Grahl" <carlos.grahl@senior.com.br> escreveu na mensagem
news:bdst63$2rn$1@rogue.oti.com...
> Hi, all!
>
> Does anyone here already used the Poseidon Case tool? When you create an
> association, the multiplicity (1..n) and the role of the association are
> "draggable" labels. How to reproduce this same behaviour on the GEF
> connections? I tried to create a ConnectionEndpointLocator and a Label,
and
> added both as children to a PolylineConnection. It works, but I can't
change
> the label position dragging...
>
> Any ideas?
>
> Thanks in advance
>
> Carlos Augusto Grahl
>
>
Previous Topic:[Draw2d] How to set a Figure Tooltip ?
Next Topic:how can i use SWT widget in draw2d
Goto Forum:
  


Current Time: Mon Nov 10 01:50:26 EST 2025

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

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

Back to the top