GEF related [message #66259] |
Wed, 22 December 2004 02:29 |
Eclipse User |
|
|
|
Originally posted by: user.domain.invalid
Hi all,
I have a GEF application in which i want to create the figures at the
point i click.My basic container for figures extends the FreeformLayout.
By default all the figures are added at the top left corner(near
origin).I want them to be added at the point i click.I am using the
XYLayout edit policy and in the method
getCreateCommand(CreateRequest request)
is there any way to get the child figure which is currently selected and
to be dropped at the point where we want to?I can get the location by
request.getLocation()
but to set constraint i also need the child figure.
|
|
|
Powered by
FUDForum. Page generated in 0.02859 seconds