Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Auto Resize
Auto Resize [message #1059658] Tue, 21 May 2013 06:49 Go to next message
serhat gezgin is currently offline serhat gezginFriend
Messages: 242
Registered: January 2013
Location: Izmir
Senior Member
Hi all,

When doSave method activated i want to resize all elements on diagram. But cant find how can i trigger this function any one can help me ?

Regards
Re: Auto Resize [message #1060348 is a reply to message #1059658] Fri, 24 May 2013 08:51 Go to previous message
Ralph Gerbig is currently offline Ralph GerbigFriend
Messages: 697
Registered: November 2009
Senior Member
Hi,

try calling this on an EditPart:

Request r = new Request(RequestConstants.REQ_AUTOSIZE);
performRequest(r);


Ralph
Previous Topic:Export product
Next Topic:GMF delete node problem
Goto Forum:
  


Current Time: Fri Dec 19 00:38:10 GMT 2014

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

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