Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » JET templates for interfaces missing with EMF 2.2.1
JET templates for interfaces missing with EMF 2.2.1 [message #56780] Mon, 09 October 2006 08:45 Go to next message
nalaka gamage is currently offline nalaka gamageFriend
Messages: 30
Registered: July 2009
Member
Hi All,
We had been using EMF 2.0.1 for code generation using JETEmitter
templates. EMF 2.0.1 codegen used to include following JET templates.
Interface_
PackageInterface_
FactoryInterface_
Now I found that EMF codgen 2.2.1 no longer included these templates. Does
that mean generated code (using JET templates) no longer include
XXXXPackage interface class which will be implemented by the
XXXXPackageImpl class ?
Thanks
Nalaka
Re: JET templates for interfaces missing with EMF 2.2.1 [message #56808 is a reply to message #56780] Mon, 09 October 2006 13:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Nalaka,

In the 2.2 development cycle we introduce an option that allows clients
to generate code that combines the interface and the implementation into
a single generated result. For this reason, Interface.javajet and
Class.javajet were merged into a single template able to generate the
interface, the impl, or a combined result. A similar thing has happened
for the factory and the package.


Nalaka Gamage wrote:
> Hi All,
> We had been using EMF 2.0.1 for code generation using JETEmitter
> templates. EMF 2.0.1 codegen used to include following JET templates.
> Interface_
> PackageInterface_
> FactoryInterface_
> Now I found that EMF codgen 2.2.1 no longer included these templates.
> Does that mean generated code (using JET templates) no longer include
> XXXXPackage interface class which will be implemented by the
> XXXXPackageImpl class ?
> Thanks
> Nalaka
>
>
>
Re: JET templates for interfaces missing with EMF 2.2.1 [message #56835 is a reply to message #56808] Tue, 10 October 2006 10:47 Go to previous message
nalaka gamage is currently offline nalaka gamageFriend
Messages: 30
Registered: July 2009
Member
Thanks Merks.

Nalaka


Ed Merks wrote:

> Nalaka,

> In the 2.2 development cycle we introduce an option that allows clients
> to generate code that combines the interface and the implementation into
> a single generated result. For this reason, Interface.javajet and
> Class.javajet were merged into a single template able to generate the
> interface, the impl, or a combined result. A similar thing has happened
> for the factory and the package.


> Nalaka Gamage wrote:
>> Hi All,
>> We had been using EMF 2.0.1 for code generation using JETEmitter
>> templates. EMF 2.0.1 codegen used to include following JET templates.
>> Interface_
>> PackageInterface_
>> FactoryInterface_
>> Now I found that EMF codgen 2.2.1 no longer included these templates.
>> Does that mean generated code (using JET templates) no longer include
>> XXXXPackage interface class which will be implemented by the
>> XXXXPackageImpl class ?
>> Thanks
>> Nalaka
>>
>>
>>
Re: JET templates for interfaces missing with EMF 2.2.1 [message #593785 is a reply to message #56780] Mon, 09 October 2006 13:09 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Nalaka,

In the 2.2 development cycle we introduce an option that allows clients
to generate code that combines the interface and the implementation into
a single generated result. For this reason, Interface.javajet and
Class.javajet were merged into a single template able to generate the
interface, the impl, or a combined result. A similar thing has happened
for the factory and the package.


Nalaka Gamage wrote:
> Hi All,
> We had been using EMF 2.0.1 for code generation using JETEmitter
> templates. EMF 2.0.1 codegen used to include following JET templates.
> Interface_
> PackageInterface_
> FactoryInterface_
> Now I found that EMF codgen 2.2.1 no longer included these templates.
> Does that mean generated code (using JET templates) no longer include
> XXXXPackage interface class which will be implemented by the
> XXXXPackageImpl class ?
> Thanks
> Nalaka
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: JET templates for interfaces missing with EMF 2.2.1 [message #593799 is a reply to message #56808] Tue, 10 October 2006 10:47 Go to previous message
nalaka gamage is currently offline nalaka gamageFriend
Messages: 30
Registered: July 2009
Member
Thanks Merks.

Nalaka


Ed Merks wrote:

> Nalaka,

> In the 2.2 development cycle we introduce an option that allows clients
> to generate code that combines the interface and the implementation into
> a single generated result. For this reason, Interface.javajet and
> Class.javajet were merged into a single template able to generate the
> interface, the impl, or a combined result. A similar thing has happened
> for the factory and the package.


> Nalaka Gamage wrote:
>> Hi All,
>> We had been using EMF 2.0.1 for code generation using JETEmitter
>> templates. EMF 2.0.1 codegen used to include following JET templates.
>> Interface_
>> PackageInterface_
>> FactoryInterface_
>> Now I found that EMF codgen 2.2.1 no longer included these templates.
>> Does that mean generated code (using JET templates) no longer include
>> XXXXPackage interface class which will be implemented by the
>> XXXXPackageImpl class ?
>> Thanks
>> Nalaka
>>
>>
>>
Previous Topic:JET templates for interfaces missing with EMF 2.2.1
Next Topic:EMF + Omondo: problems with diagrams
Goto Forum:
  


Current Time: Fri Dec 27 01:36:53 GMT 2024

Powered by FUDForum. Page generated in 0.03447 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top