[gme-users] Re: gme-users Digest, Vol 30, Issue 3

=?gb2312?B?yubV17jb?= zgshu2004 at 163.com
Tue Jun 13 13:47:13 CDT 2006



that's great,thanks a lot!

you are a very friendly man!

Z.G.Shu

	

======= 2006-06-13 01:00:02 ÄúÔÚÀ´ÐÅÖÐдµÀ£º=======

>Send gme-users mailing list submissions to
>	gme-users at list.isis.vanderbilt.edu
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>or, via email, send a message with subject or body 'help' to
>	gme-users-request at list.isis.vanderbilt.edu
>
>You can reach the person managing the list at
>	gme-users-owner at list.isis.vanderbilt.edu
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of gme-users digest..."
>
>
>Today's Topics:
>
>   1. 	How to get one element's location relative to the editing
>      panel of	GME? (=?gb2312?B?yubV17jb?=)
>   2. RE: How to get one element's location relative to the	editing
>      panel ofGME? (Zoltan Molnar)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Mon, 12 Jun 2006 17:53:19 +0800
>From: "=?gb2312?B?yubV17jb?=" <zgshu2004 at 163.com>
>Subject: [gme-users] 	How to get one element's location relative to
>	the editing panel of	GME?
>To: "gme-users" <gme-users at list.isis.vanderbilt.edu>
>Message-ID: <448D39B8.044EB3.14332>
>Content-Type: text/plain;	charset="gb2312"
>
>hi£¬All
>
>
>     I am developing an interpreter,which translates 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-
>
>coordinate relative to the editing panel of GME, these information can help me arrange the 
>
>locations of true windows controls.
>
>Can I get these information by developing a decorator for a special element?
>
>thank you!
>
>	
>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
>
>------------------------------
>
>Message: 2
>Date: Mon, 12 Jun 2006 10:11:24 -0500
>From: "Zoltan Molnar" <zolmol at isis.vanderbilt.edu>
>Subject: RE: [gme-users] How to get one element's location relative to
>	the	editing panel ofGME?
>To: "gme-users" <gme-users at list.isis.vanderbilt.edu>
>Message-ID:
>	<7AB1C26C64423249964AB392C6EBF0E02C7F71 at discovery.isis.vanderbilt.edu>
>Content-Type: text/plain;	charset="ISO-2022-JP"
>
>The element registry contains the information you need:
>Right click on an element, Select Registry from the Popup menu and you will find some registry nodes. The PartRegs contains position in each aspect that element is shown.
>So you will find the position information following the PartRegs/<<AspectName>>/Position path.
>
>For your BON2 interpreter take this codesnippet: 
>
>void getXY( BON::Atom& m_ptr, unsigned int * x, unsigned int * y) const
>{
>	if( m_ptr == BON::Atom()) return;
>
>	BON::Point p = m_ptr->getRegistry()->getLocation("Visualization");
>	*x = p.first;
>	*y = p.second;
>}
>
>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: Monday, June 12, 2006 4:53 AM
>> To: gme-users
>> Subject: [gme-users] How to get one element's location 
>> relative to the editing panel ofGME?
>> 
>> 
>> hi,All
>> 
>> 
>>      I am developing an interpreter,which translates 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-
>> 
>> coordinate relative to the editing panel of GME, these 
>> information can help me arrange the 
>> 
>> locations of true windows controls.
>> 
>> Can I get these information by developing a decorator for a 
>> special element?
>> 
>> thank you!
>> 
>> 	
>> 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
>> 
>
>------------------------------
>
>_______________________________________________
>gme-users mailing list
>gme-users at list.isis.vanderbilt.edu
>http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>
>
>End of gme-users Digest, Vol 30, Issue 3
>****************************************

-------------- next part --------------
A non-text attachment was scrubbed...
Name: =?gb2312?B?yubV17jbLnZjZg==?=
Type: text/x-vcard
Size: 365 bytes
Desc: not available
Url : http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20060613/fe667a41/gb2312ByubV17jbLnZjZg.vcf


More information about the gme-users mailing list