[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Setting Label position relative to another figure
|
- From: Wojciech Kopras <keypress@xxxxx>
- Date: Thu, 25 Jan 2007 17:53:37 +0100
- Newsgroups: eclipse.modeling.gmf
- Organization: EclipseCorner
- User-agent: Thunderbird 1.5.0.9 (X11/20061206)
Hi
I'm new to GMF so maybe it's very simple...
I have a rectangle and a label. They are siblings. The rectangle is used
in a node mapping and the label inside the same node mapping to map a
property. So when I move the rectangle on the diagram, then the label
moves too, but when I move the label, then the rectangle stays.
The problem is that, when I create the node, then the initial label
position is wrong, and I want to set the initial label position relative
to the rectangle (under it and centered). Probably I should use "Figure
ref." and "Location" or "Layout data" but how? I tried and failed..
--
Greetings,
Wojciech Kopras
| tel.: +48507731679
| Jabber: keypress@xxxxxxxxx
| Skype: wojciech.kopras
| Gizmo: keypress