SetBounds Command - Position and size problem [message #202235] |
Mon, 18 August 2008 09:37  |
Eclipse User |
|
|
|
Hello all,
I am using the set bound command to set the position and size of the
editpart
eg :
SetBoundsCommand boundsCommand = new
SetBoundsCommand(getEditingDomain(),"",new
EObjectAdapter((View)graphicalEditPart.getModel()),rectangle .getCopy());
diagramEditPart.getDiagramEditDomain().getDiagramCommandStac k().execute(new
ICommandProxy(boundsCommand),monitor );
The command is working fine if its just a single editpart.But if the
editparts has children, on execution of this command changes the editpart
size .On every execution there delta increase in the size of the editpart.
I tried to debug but of no use.I also tried using RESIZE request which
also resulted in same problem.Can i known what could be the problem ?
Regards
BG
|
|
|
|
Powered by
FUDForum. Page generated in 0.02657 seconds