Hi Wim,

Correct me if I'm wrong, but there is no API for that, because there's no
event fired on color and/or font change.

A possible way to do that is to use AOP with a pointcut on setFont,
setBackground and setForeground() methods.

Mickael's solution has the advantage of not using external librairies.

Hope that helps,

Laurent


Le jeu. 20 déc. 2018 à 15:33, Wim Jongman <wim.jong...@gmail.com> a écrit :

> Hi,
>
> Is anyone aware  of an API to detect font and color changes of a widget?
>
> Cheers,
>
> Wim
> _______________________________________________
> platform-dev mailing list
> platform-dev@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/platform-dev
_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/platform-dev

Reply via email to