Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » GEF related
GEF related [message #598224] Wed, 22 December 2004 07:29
user is currently offline userFriend
Messages: 296
Registered: July 2009
Senior Member
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:GEF related
Next Topic:eclipse startup error
Goto Forum:
  


Current Time: Thu Apr 25 05:03:59 GMT 2024

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

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

Back to the top