Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Declaration of super interfaces during code generation
Declaration of super interfaces during code generation [message #1221796] Wed, 18 December 2013 12:59 Go to next message
Edgar Mueller is currently offline Edgar MuellerFriend
Messages: 89
Registered: March 2011
Member
Hi,

is it possible to avoid the declaration of redundant super interfaces
when regenerating the edit part of a model which extends a type from
another model?
For instance, if I have type B which extends type A, the declaration of
the ItemProvider for B will look something like this:

public class BItemProvider
extends AItemProvider
implements
IEditingDomainItemProvider,
IStructuredItemContentProvider,
ITreeItemContentProvider,
IItemLabelProvider,
IItemPropertySource { ... }

If AItemProvider already implements some or all of the listed
interfaces, BItemProvider unnecessarily re-declares those interfaces.
Is it somehow possible to avoid this declaration of the redundant super
interfaces when triggering the code generation facilities?

Thanks in advance

Edgar

--
Edgar Mueller

Get Professional Eclipse Support: http://eclipsesource.com/munich
Re: Declaration of super interfaces during code generation [message #1222155 is a reply to message #1221796] Thu, 19 December 2013 19:49 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33141
Registered: July 2009
Senior Member
Edgar,

No, https://bugs.eclipse.org/bugs/show_bug.cgi?id=370089 is open for this.

On 18/12/2013 1:59 PM, Edgar Mueller wrote:
> Hi,
>
> is it possible to avoid the declaration of redundant super interfaces
> when regenerating the edit part of a model which extends a type from
> another model?
> For instance, if I have type B which extends type A, the declaration of
> the ItemProvider for B will look something like this:
>
> public class BItemProvider
> extends AItemProvider
> implements
> IEditingDomainItemProvider,
> IStructuredItemContentProvider,
> ITreeItemContentProvider,
> IItemLabelProvider,
> IItemPropertySource { ... }
>
> If AItemProvider already implements some or all of the listed
> interfaces, BItemProvider unnecessarily re-declares those interfaces.
> Is it somehow possible to avoid this declaration of the redundant super
> interfaces when triggering the code generation facilities?
>
> Thanks in advance
>
> Edgar
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:TENEO - ID is coming as null
Next Topic:[EMFStore] dirty state notifications
Goto Forum:
  


Current Time: Fri Apr 26 05:59:40 GMT 2024

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

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

Back to the top