[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.modeling.gmf] Location of a EditPart and setLocation in CreateViewRequest
|
Hi!
I have some problems with the conversion between relative and absolute
coordinates.
I have a gmf generated editor and I want to use the CreateViewRequest
Request to create a new model element and its view.
AFAIU expects the setLocation methode of the request an absolute location,
but the EditPart.getLocation returns a location realive to the EditParts
parent.
So my question is: If I have the realitve location of a EditPart (strictly
speaking the corresponding View), how can I convert this location to
absolute value?
Thanks for your help,
Jörg