Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Option to omit using org.eclipse.emf.ecore.util.Switch
Option to omit using org.eclipse.emf.ecore.util.Switch [message #657271] Wed, 02 March 2011 09:53 Go to next message
Victor Roldan Betancort is currently offline Victor Roldan BetancortFriend
Messages: 524
Registered: July 2009
Senior Member
Hi everyone,

we've noticed there's a class recently introduced called
org.eclipse.emf.ecore.util.Switch. Despite I have nothing against it, I
wonder if its possible to omit using it in the generated code. Does the
generator have any option for that? The reason is that it makes the code
not compatible with EMF 2.6.0...

Thanks!
Victor
Re: Option to omit using org.eclipse.emf.ecore.util.Switch [message #657352 is a reply to message #657271] Wed, 02 March 2011 14:13 Go to previous messageGo to next message
Victor Roldan Betancort is currently offline Victor Roldan BetancortFriend
Messages: 524
Registered: July 2009
Senior Member
We found out changing runtimeVersion to 2.6 in our generator model fixed
our problem. Hooray!

Víctor Roldán Betancort escribió:
> Hi everyone,
>
> we've noticed there's a class recently introduced called
> org.eclipse.emf.ecore.util.Switch. Despite I have nothing against it, I
> wonder if its possible to omit using it in the generated code. Does the
> generator have any option for that? The reason is that it makes the code
> not compatible with EMF 2.6.0...
>
> Thanks!
> Victor
Re: Option to omit using org.eclipse.emf.ecore.util.Switch [message #657391 is a reply to message #657352] Wed, 02 March 2011 15:39 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30551
Registered: July 2009
Senior Member
Víctor,

Yes, we try to ensure that we can generate code that's compatible with
any of the older runtimes.


Víctor Roldán Betancort wrote:
> We found out changing runtimeVersion to 2.6 in our generator model
> fixed our problem. Hooray!
>
> Víctor Roldán Betancort escribió:
>> Hi everyone,
>>
>> we've noticed there's a class recently introduced called
>> org.eclipse.emf.ecore.util.Switch. Despite I have nothing against it, I
>> wonder if its possible to omit using it in the generated code. Does the
>> generator have any option for that? The reason is that it makes the code
>> not compatible with EMF 2.6.0...
>>
>> Thanks!
>> Victor
>
Previous Topic:ECore Cardinality & Optionality Issue
Next Topic:UnsupportedOperationException in DocumentRootImpl
Goto Forum:
  


Current Time: Fri Oct 18 08:26:52 GMT 2019

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

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

Back to the top