REQ_DELETE_DEPENDANT [message #189699] |
Thu, 28 July 2005 13:01 |
Eclipse User |
|
|
|
Originally posted by: sidney.lee.ibs.net
Hi!
Didn't get a reponse to the following message in an earlier thread
(news://news.eclipse.org:119/42E10BE8.9070103@ibs.net) so thought I
would ask again:
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.
Where am I going wrong?
Many Thanks as always!
|
|
|
Powered by
FUDForum. Page generated in 0.03256 seconds