Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Relayout the entire editor?
Relayout the entire editor? [message #234251] Thu, 17 May 2007 01:13 Go to next message
Eclipse UserFriend
Originally posted by:

how is it possible to relayout the entire editor?

I have tried something like
((GraphicalEditPart) getRoot()).getFigure().invalidateTree();
((GraphicalEditPart) getRoot()).getFigure().repaint();
out of refreshVisuals(), but without any success.

What I want is the same result the editor deliveres after calling openEditor(...).

Any suggestions?
Re: Relayout the entire editor? [message #234406 is a reply to message #234251] Tue, 22 May 2007 18:24 Go to previous message
Alex Boyko is currently offline Alex BoykoFriend
Messages: 200
Registered: July 2009
Senior Member

AFAIU you'd like to re-layout the figures on your diagram. I'd like to
point you to the example of this in GMF (open source project built on top
of GEF). There is "Arrange" action on the toolbar in GMF example editors
- this is probably exactly what you need.
Hope this helps.

Previous Topic:selection handles remain after resize
Next Topic:Draw2D: figures with real coordinates.
Goto Forum:

Current Time: Wed Oct 05 03:41:53 GMT 2022

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

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

Back to the top