[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Force repaint the connections
|
- From: mgil@xxxxxxxxxxxxx (Marc )
- Date: Mon, 14 Sep 2009 09:42:24 +0000 (UTC)
- Newsgroups: eclipse.modeling.gmf
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hello,
I have one EditPart (BorderedBorderItemEditPart) than can be placed in the
South/North/East/West side.
This editPart could have links with another elements. But I want the link
always starts in the opposite side where it was placed.
For example, if the figure is placed in the EAST, all the links should
start in the EAST of this figure:
********
* *+++
* *+ +---------
* *+++
********
If the figure is placed in the SOUTH, all the links should start in the
SOUTH of this figure:
********
* *
********
+++
+++
|
|
|
The problem comes up when I change the figure position, for example from
SOUTH to EAST. The links should be reconnected automatically to the EAST
when a ChangeBoundsRequest arrives to the editPart, but I don't know how
to proceed. I set the Anchors in the correct position E/W/S/N, but I
create a ReconnectRequest and the Connections are not placed in the
correct side.
Any idea?
Thanks in advance.
Marc