Position of external labels inside a compartment [message #77115] |
Mon, 13 November 2006 06:57  |
Eclipse User |
|
|
|
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.05607 seconds