Hi Markus,

the DSL plug-ins that are generated by EMFText do not use a builder to 
parse files, at least not primarily. The generated classes can be used 
in different ways to obtain models from files. For example, one can 
simply use the EMF resource framework to get access to textual models. 
This is what most people do with JaMoPP. They programmatically load 
source files and analyse or transform the respective models.

The generated editor also uses EMF's resource mechanism to load DSL files.

The builder that is generated is only for your convenience in case you 
want to compile your DSL files to something else whenever files are 
saved. However, this is only one possible scenario to invoke the parser 
and to obtain models. It is not the primary way to do so.

The post processors are also not intended to get access to models. Their 
purpose is to modify models after parsing (e.g., to add implicit 
elements). Please consult the user guide for a more detailed explaination.

Best regards,

Mirko


Am 10.10.2012 18:59, schrieb Markus:
> Yes, this works (thanks sincerely for your help)!
>
> Though I am sorry I not yet done questioning ^^.
>
> In the documentation for emftext and the code it generates it seems that
> they use an IncrementalProjectBuilder for parsing the files.
> And then one has to implement a post-processor to process these models,
> where the developer has to extend a certain extension point to get
> access to those.
>
> This seems not the case for jamopp, where a kind of on demand approach
> is used, or does the same approach still exist in jamopp?
>
> Best regards,
> Markus
>
> On 10/10/2012 12:33 PM, Jan Reimann wrote:
>> Hi Markus,
>>
>> Markus wrote:
>>> 1) I really don't find any documentation about how to use jamopp, do you
>>> have any links to tutorials?
>> The only documentation I know is the web page http://www.jamopp.org/
>> Could follow the instructions I posted yesterday? Were there any problems?
>>
>>> 2) this maybe the stupidest question: I'm writing a plugin for eclipse,
>>> so where has jamopp to be installed, in the in the eclipse where the
>>> code will be written or in the version that is started, or in both?
>> Install JaMoPP in your host Eclipse. Done so, you can work with the API
>> from JaMoPP in that way I posted yesterday. JaMoPP then will be
>> available in the runtime Eclipse, tool.
>>
>> HTH
>>
>> best regards,
>> Jan
>>
>>
>>
>
> _______________________________________________
> emftext-users mailing list
> [email protected]
> http://mail-st.inf.tu-dresden.de/cgi-bin/mailman/listinfo/emftext-users
>

-- 
Dr.-Ing. Mirko Seifert
Geschäftsführer
DevBoost GmbH
Rungestr. 22-24
10179 Berlin

Tel.: +49 1577 444 1168
E-Mail: [email protected]

Handelsregister Amtsgericht Berlin (Charlottenburg) HRB 140026
_______________________________________________
emftext-users mailing list
[email protected]
http://mail-st.inf.tu-dresden.de/cgi-bin/mailman/listinfo/emftext-users

Reply via email to