XYLayoutEditPolicy - Extend to Select Additional EditParts [message #232671] |
Wed, 04 April 2007 17:04 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03009 seconds