How to implement GWT editors for subclasses of a type?
问题 Let's say I have an object hierarchy like this: Account > Site > Supply An Account is an actual company, a Site is a building they have, and a Supply is either an ElecSupply or GasSupply . Supply is never instantiated and could be an abstract class in theory. I am using Objectify for persistence, and have a page that displays the list of Supplies for each Site, regardless of whether they are an ElecSupply or GasSupply . Now I am implementing the GWT Editor Framework and have come up against a