|
Re: Position of external labels inside a compartment [message #77845 is a reply to message #77115] |
Wed, 15 November 2006 14:40 |
Eclipse User |
|
|
|
Originally posted by: 5d5.mail.ru
I guess this is the same issue
https://bugs.eclipse.org/bugs/show_bug.cgi?id=149119
Alexander Schwartz wrote:
> Hi,
>
> I have a problem with external labels:
>
> My model has a "Group" with a containement
> reference to an "Item". The item has an attribute
> name. In the GMFMap model the Group is mapped to a
> top-level node with a compartment which contains
> Item nodes. The label of the Item is an external
> label (of a feature of Item).
>
> In the generated diagram the positions of the Item
> labels are correct if the containing group is located
> ate left upper corner.
>
> Otherwise the anchor of each Item label is wrong:
> its absolute position in the diagram is its *relative*
> position inside the containing Group.
> Concequently, if a Group is moved the positions of
> the contained Items remain unchanged, and the
> Format -> Snap back action moves the label back to
> the wrong positon.
>
>
>
> Is this a known issue? I assume its rather simple
> to be fixed if one knows how the positon of a label
> is retrieved from the labeled object.
>
>
> Thanks for any hints,
>
> Alex
|
|
|
|
Powered by
FUDForum. Page generated in 0.03755 seconds