Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » When are a Figure's bounds available with getBounds()?
When are a Figure's bounds available with getBounds()? [message #1385274] Thu, 05 June 2014 10:29
Stephan Druskat is currently offline Stephan DruskatFriend
Messages: 96
Registered: October 2011
Location: Berlin, Germany
Member

After the original creation of the editor, at what time are the bounds of a Figure (e.g., child figure of the main diagram figure) available via Figure.getBounds()?

I've found that when I loop through getParent().getFigure().getChildren() in an EditPart's refreshVisuals(), the child's bounds are always Rectangle(0,0,0,0)...
Previous Topic:Hit-testing for overlapping figures in refreshVisuals() or elsewhere?
Next Topic:Export a GEF diagram as a PNG
Goto Forum:
  


Current Time: Sun Dec 17 14:11:45 GMT 2017

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

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