Hi Carsten, On Tue, Dec 31, 2013 at 11:46 AM, Carsten Ziegeler <cziege...@apache.org> wrote: > ...I thought about making this more generic and have an > adaptTo method on the Feature class instead and each functionality > (resource type mapping, hiding resources) gets an own interface and either > the feature can be adapted to this or now. So calling adaptTo would be the > equivalent of hasXXX or canXXX...
Works for me, good idea! I'd still keep the getDescription() method on the Feature, I think this it's useful even if we don't use it internally. -Bertrand