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 #189699] Thu, 28 July 2005 13:01
Eclipse UserFriend
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!
Previous Topic:size of graphical editor
Next Topic:Produce vertical text
Goto Forum:
  


Current Time: Tue Dec 03 05:42:50 GMT 2024

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

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

Back to the top