Skip to main content



      Home
Home » Eclipse Projects » GEF » ConstrainedLayoutEditPolicy.getAddCommand() questions
ConstrainedLayoutEditPolicy.getAddCommand() questions [message #169563] Thu, 24 February 2005 08:46
Eclipse UserFriend
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
Previous Topic:FanRouter
Next Topic:connection to go under figure
Goto Forum:
  


Current Time: Thu May 29 21:21:10 EDT 2025

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

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

Back to the top