[gme-users] Writing Java Intepreter...........Help needed !!!
Zoltan Molnar
zolmol at isis.vanderbilt.edu
Thu Aug 10 10:00:37 CDT 2006
That depends on you, how your interpreter processes the objects.
You get three incoming parameters on every invokation of the interpreter:
1.the project itself which contains the rootfolder and below it the whole object hierarchy. (this one interests you most)
2.the set of selected objects in the view
3.the focused object
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 Adi Mallikarjuna Reddy V
Sent: Thursday, August 10, 2006 4:22 AM
To: gme-users
Subject: Re: [gme-users] Writing Java Intepreter...........Help needed !!!
Hi Nicki,
Anyway thnks for responding now. I came to know that the error msg that I have attached in the earlier mail gives the impression that the interpreter is up and running. But I dont want this interpreter to be applied only to the selected objects or otherthing. I would like to have the interpreter for the entire model. I would like to generate some code from the model. I know that " TestBONComponent.Java" is an example file. But is it possible to write the interpreter that works over the entire model without selecting any objects in the model??/
Thanks in advance,
Regards
Adi
On 8/10/06, Nicki Lehmann Møller <nicki at itu.dk> wrote:
Hi Adi,
Sorry for not answering you earlier but I've been on a small vacation :) However the pic that you have attached indicates that you are up and running. If you select a couple of modelelement and run your interpreter again you should be able to see the number of objects change.
Regards,
Nicki
On 8/9/06, Adi Mallikarjuna Reddy V < adimallikarjunareddy at gmail.com> wrote:
Hi,
I could able to solve the above mentioned problem. After all that process I am getting the following message. I attached that image. Please let me know if there is anything wrong in that. Or is it working properly.
Regards
Adi
On 8/9/06, Brian Williams < <mailto:BrianW at isis.vanderbilt.edu> BrianW at isis.vanderbilt.edu> wrote:
Hi Adi,
Did you make the class part of a package? If so, in the RegisterComponent program, you would need to set the path to the package, then put the classname with the package name, e.g. MyPackage.TestComponent
Brian
-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu <mailto:gme-users-bounces at list.isis.vanderbilt.edu> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Adi Mallikarjuna Reddy V
Sent: Wednesday, August 09, 2006 10:19 AM
To: gme-users
Subject: [gme-users] Writing Java Intepreter...........Help needed !!!
Hi all,
I am using Java to write interpreter for GME metamodel. I succeeded to some extent in getting it, but I am getting some error and could not able solve it.
1. I used TestBONComponent.java file and compiled it.
2. I opened "C:\ProgramFile\GME\SDK\Java\RegisterComponent.exe" and registered the .class file that was generated in the first step for some paradigm.
3. Then I created a model based on the paradigm chosen in Step2.
4. After a creating a model and I tried interpreting it with 'Javacup' symbol shown at the top.
I am getting the following error. Help me regarding this.
Exception in Java Interpreter: TestComponent.class is not found.
What might be the problem???
Regards
Adi
_______________________________________________
gme-users mailing list
gme-users at list.isis.vanderbilt.edu <mailto:gme-users at list.isis.vanderbilt.edu>
http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
_______________________________________________
gme-users mailing list
gme-users at list.isis.vanderbilt.edu <mailto:gme-users at list.isis.vanderbilt.edu>
http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
--
Kind Regards,
Nicki
_______________________________________________
gme-users mailing list
gme-users at list.isis.vanderbilt.edu <mailto:gme-users at list.isis.vanderbilt.edu>
http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20060810/9c6439d9/attachment.htm
More information about the gme-users
mailing list