Thanks for the reply rjcarr but, perhaps I didn't ask the right
question... given the following ListEditor bits:
interface ListEditorDriver extends
SimpleBeanEditorDriver,
ListEditor> {}
private ListEditor editor =
ListEditor.of(new AbstractAnimalSource());
private ListEditorDriver driver = GWT.
Is this a GWT question? It sounds like a generic polymorphism
question.
If the latter, you have two options. Either add wing span information
to the parent type (Animal) or do explicit checks for Birds and then
do a cast.
Good luck!
On Dec 8, 9:11 am, DaveC wrote:
> Hi,
>
> What I'm trying to
Hi,
What I'm trying to do is pass ListEditor a list of generic types e.g.
an AbstractAnimal type but what the list gets might be a Bird type, a
Fish type, Mammal... etc...
The problem is that that my Bird type has a property "wingSpan" which
the Fish type does not.. they might also share a proper