Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » GEF related
GEF related [message #66259] Wed, 22 December 2004 07:29
Eclipse UserFriend
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.
Previous Topic:How to acquire a specific piug-in location path at runtime?
Next Topic:GEF related
Goto Forum:
  


Current Time: Mon Dec 22 15:06:59 GMT 2014

Powered by FUDForum. Page generated in 0.01813 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software