Display a link inside compartment [message #169488] |
Wed, 23 January 2008 07:48  |
Eclipse User |
|
|
|
Originally posted by: Andrey_Medvedev.epam.com
Hello all,
I have an EditPart (call it TP1) with a compartment, and I have a link
which has TP1 as source and as target also.
I need to show this link inside compartment of this TP1, but it renders on
the diagram, like this:
________
| TP1 |
--| |--
| -------- |<- link
| |
------------
How to do it like this:
________
| TP1 |
|------|
--------
As an example, if I adding a child to compartment and connecting it by
link (source: child, target: TP1) then it will render inside TP1 on the
compartment.
It's about some link rendering policies or other? Where to look?
Thank you.
|
|
|
Re: Display a link inside compartment [message #172174 is a reply to message #169488] |
Mon, 11 February 2008 11:18  |
Eclipse User |
|
|
|
Andrey,
This is handled by the connection router. If you search the
ObliqueRouter for "SelfRel" you will see where it is implemented.
Regards,
Cherie
Andrey Medvedev wrote:
> Hello all,
>
> I have an EditPart (call it TP1) with a compartment, and I have a link
> which has TP1 as source and as target also.
> I need to show this link inside compartment of this TP1, but it renders
> on the diagram, like this:
> ________
> | TP1 |
> --| |--
> | -------- |<- link
> | |
> ------------
>
>
> How to do it like this:
> ________
> | TP1 |
> |------|
> --------
>
> As an example, if I adding a child to compartment and connecting it by
> link (source: child, target: TP1) then it will render inside TP1 on the
> compartment.
>
> It's about some link rendering policies or other? Where to look?
>
> Thank you.
>
|
|
|
Powered by
FUDForum. Page generated in 0.02486 seconds