Open GoogleCodeExporter opened 8 years ago
Perhaps an another option instead of using a HasWatermark interface might be to
allow developers to add custom bindings, perhaps something like
MetadataPlugin.defaults().registerWatermarkBinding(Class<T>,
AbstractWatermarkBinding<T>). That way you could watermark third party widgets
without having to extend them.
Might also be worth moving watermarks to their own plugin.
Original comment by andrew.pietsch
on 25 Jul 2010 at 3:40
Since 0.8 pectin will now watermark widgets that implement the Watermarkable
interface. Watermarkable extends HasValue<String> & HasAllFocusHandlers and
defines methods for applying and removing a watermark style.
Original comment by andrew.pietsch
on 29 Jul 2010 at 11:22
Original issue reported on code.google.com by
andrew.pietsch
on 21 Nov 2009 at 12:05