Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » REQ_DELETE_DEPENDANT
REQ_DELETE_DEPENDANT [message #189918] Mon, 01 August 2005 09:33
Eclipse UserFriend
Originally posted by: sidney.lee.ibs.net

Hi!

Didn't get a response to this
news://news.eclipse.org:119/42E10BE8.9070103@ibs.net so I thought I
would repost it here:

I would like to adjust the constraints of siblings after a component has
been resized or deleted. For *resize*, I have implemented
getResizeChildrenCommand(ChangeBoundsRequest) in my XYLayoutEditPolicy -
which works perfectly. Now I would like to do the same for *delete*
using getDeleteDependantCommand(Request) since, according to the
documentation for ConstrainedLayoutEditPolicy and REQ_DELETE_DEPENDANT,
"complex layouts may decide to adjust the constraints of the remaining
children". My problem is that I can't seem to get a REQ_DELETE_DEPENDANT
when I delete a component and seem only to be able to delete anything if
I have a ComponetEdiPolicy implement createDeleteCommand and have it
installed for the COMPONENT_ROLE.

Any suggestion?

Many Thanks (as always)!
Previous Topic:Documentation for draw2d text package
Next Topic:Editpart selection
Goto Forum:
  


Current Time: Tue Dec 10 14:57:58 GMT 2024

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

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

Back to the top