Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Coorindate of the left Corner of the ClientArea
Coorindate of the left Corner of the ClientArea [message #820591] Wed, 14 March 2012 10:05 Go to next message
Wok Show is currently offline Wok ShowFriend
Messages: 40
Registered: July 2009
Member
Hello together,

I work with Gauss-Kr├╝ger Coordinates and if I want to visualizate Objects they have Coordinate x = 4321000, y = 5422124, how can i programmatically move to this point? Or how can I set the Coordinate of the left corner to new Point?

Are this possible?

Thanks for help.

Greez Chau
Re: Coorindate of the left Corner of the ClientArea [message #834776 is a reply to message #820591] Mon, 02 April 2012 11:29 Go to previous message
Jan Krakora is currently offline Jan KrakoraFriend
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Hi Chau,

you can set layout's constraints on the parent figure. I assume you are using the XYLayout on the parent figure, so call figure.getParent(figure, new Rectangle(4321000, 5422124, -1, -1));
Previous Topic:[Zest] Recursively nested Elements
Next Topic:SVG rendering on linux
Goto Forum:
  


Current Time: Sat Nov 22 16:36:30 GMT 2014

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

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