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 06:05 Go to next message
Wok Show is currently offline Wok Show
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 07:29 Go to previous message
Jan Krakora is currently offline Jan Krakora
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 Jul 26 01:13:21 EDT 2014

Powered by FUDForum. Page generated in 0.10613 seconds