Skip to main content



      Home
Home » Eclipse Projects » GEF » Rectangle bounds values getting changed
Rectangle bounds values getting changed [message #243000] Fri, 16 May 2008 10:21
Eclipse UserFriend
Hello all,
The rectangle bounds of the figure gets changed after hide and unhide
operation. Even though it appears back in the right position ,but the
bounds value is actually getting changed.

I am accessing the position in below specified way,

Rectangle source =
graphicalEditPart.getFigure().getBounds()graphicalEditPart.g etFigure().translateToAbsolute(source);
Point startPoint = source.getCenter();

Same way i am accessing after hide-unhide it returns different value.

Regards
BG
Previous Topic:order icons in pop-up-menu
Next Topic:center figure in editor and arrange client figures around it
Goto Forum:
  


Current Time: Mon May 12 19:40:20 EDT 2025

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

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

Back to the top