Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » org.eclipse.emf.codegen.ecore.generatorAdapters extension point
org.eclipse.emf.codegen.ecore.generatorAdapters extension point [message #418495] Thu, 17 April 2008 10:41 Go to next message
Reinhold Bihler is currently offline Reinhold BihlerFriend
Messages: 64
Registered: July 2009
Member
Hello,

I am using the org.eclipse.emf.codegen.ecore.generatorAdapters extension
point
to register a AdapterFactory for the C# code generation of EMF4Net.

Calling the generator now produces C# as well as Java code (because the
org.eclipse.emf.codegen.ecore registers its
GenModelGeneratorAdapterFactory).

Is there a way to avoid the generation of the Java code. E.g. by
deregistering
the GenModelGeneratorAdapterFactory somehow?

Reinhold
--
www.emf4net.org
Re: org.eclipse.emf.codegen.ecore.generatorAdapters extension point [message #418504 is a reply to message #418495] Thu, 17 April 2008 11:45 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Reinhold,

It really was designed purely to extend the generator, i.e., to provide
additional capabilities, not to remove existing capabilities. Perhaps
it's best to have a different action entirely to "Generate C# code"
instead...


Reinhold Bihler wrote:
> Hello,
>
> I am using the org.eclipse.emf.codegen.ecore.generatorAdapters extension
> point
> to register a AdapterFactory for the C# code generation of EMF4Net.
>
> Calling the generator now produces C# as well as Java code (because the
> org.eclipse.emf.codegen.ecore registers its
> GenModelGeneratorAdapterFactory).
>
> Is there a way to avoid the generation of the Java code. E.g. by
> deregistering
> the GenModelGeneratorAdapterFactory somehow?
>
> Reinhold
> --
> www.emf4net.org
>
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:GenModel annotations
Next Topic:EcoreValidator - EClassifier::WellFormedInstanceTypeName constraint
Goto Forum:
  


Current Time: Wed Apr 24 14:20:50 GMT 2024

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

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

Back to the top