ConstrainedLayoutEditPolicy.getAddCommand() questions [message #169563] |
Thu, 24 February 2005 08:46 |
Eclipse User |
|
|
|
Under what conditions will the area of a figure change when the request type
is REQ_ADD? Specifically, I am trying to understand when (i.e. what would
cause the bounds to change) I need to account for the changing of the size
in the ChangeBoundsRequest in ConstrainedLayoutEditPolicy.getAddCommand().
(Yes, I know that ConstrainedLayoutEditPolicy.getAddCommand() already
handles all of this for me but unfotrunately my situation requires that I
work with the entire GroupRequest at once and not individually in
createAddCommand(). And yes, I -could- just copy the guts of
getAddCommand() into my implementation but those guts currently make me very
angry. Why is getResizeChildrenCommand() completely different from
getAddCommand() (both in ConstrainedLayoutEditPolicy)? )
Is there any particular reason that deltas were used for REQ_ADD (via
ChangeBoundsRequest)? And constrast that to why absolute sizes were used
for REQ_CREATE (via CreateRequest).
Thanks!
--
Rob Grzywinski
|
|
|
Powered by
FUDForum. Page generated in 0.74717 seconds