[gme-users] how to get one element's location relative to the editing panel inGME?

Zoltan Molnar zolmol at isis.vanderbilt.edu
Mon Aug 7 11:27:17 CDT 2006


If you inquire the registry of Atoms, Models, Sets, References you get back a FCOExRegistryNode class, which have a method called getLocation:
BON::Point p = BON::Atom( bon_ptr)->getRegistry()->getLocation("Visualization"); 

Br, Zoli


> -----Original Message-----
> From: gme-users-bounces at list.isis.vanderbilt.edu 
> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf 
> Of zgshu2004 at 163.com
> Sent: Friday, July 21, 2006 9:27 PM
> To: gme-users
> Subject: [gme-users] how to get one element's location 
> relative to the editing panel inGME?
> 
> 
> hi,All
> 
> 
>      I am developing an interpreter,which translate the  
> contents of user model into the true interface of windows 
> applications. I want to know how to get one element's x and y 
> coordiation relative to the editing panel of GME's user 
> model, these information can help me arrange the location of 
> true windows controls.
> 
> Can I get these information by developing a decorator for a 
> special element ?
> 
> 	
> Z.G.Shu
> 
>   Ph.D Candidate
>   College of Automation Engineering, South China University 
> of Technology, 
>   Guangzhou, China.
>   Phone: +86-20-87114637
>   Email: zgshu2004 at 163.com
> 


More information about the gme-users mailing list