Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Rectangle bounds values getting changed
Rectangle bounds values getting changed [message #243000] Fri, 16 May 2008 14:21
BG is currently offline BGFriend
Messages: 45
Registered: July 2009
Member
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: Sat Oct 19 08:48:19 GMT 2024

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

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

Back to the top