Declaration of super interfaces during code generation [message #1221796] |
Wed, 18 December 2013 07:59  |
Eclipse User |
|
|
|
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 14:49  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.05134 seconds