Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » XYLayoutEditPolicy - Extend to Select Additional EditParts
XYLayoutEditPolicy - Extend to Select Additional EditParts [message #232671] Wed, 04 April 2007 17:04
Eclipse UserFriend
Originally posted by: david.cooper.lawson.com

I'm currently using a subclass of XYLayoutEditPolicy to manage move and
resize actions on a particular edit part in my application.

I would like to enhance this so that, in some cases, when an object is
selected by the user in the editor, I can tell the editor to also
simultaneously select certain other parts.

For example, in one case, I would like to select a set of other parts, so
that when the primary selected part is moved across the editor surface, the
other selected parts follow. (Akin to what would happen when CTRL is clicked
and multiple items are selected.)

I cannot make them child parts, becuase in other cases, I need to keep the
ability to select and move a part throughout the editor surface (I had run
into the problem of being unable to drag a child outside the parent's
bounds.)

Any clues would be appreciated. Examples would be great.

Thanks
Previous Topic:No more handles when using ScrollableThumbnail
Next Topic:Graphical Editor as a view
Goto Forum:
  


Current Time: Tue Apr 23 06:01:52 GMT 2024

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

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

Back to the top