Cool! I have implemented a badge myself in the Tip of the Day [1] (see your
help menu if it is installed). I'm not too happy with the result (Aliasing)

[image: image.png]

[1]
https://git.eclipse.org/c/platform/eclipse.platform.ua.git/tree/org.eclipse.tips.ui/src/org/eclipse/tips/ui/internal/Slider.java#n404



On Wed, Dec 19, 2018 at 9:09 PM Laurent Caron <laurent.ca...@gmail.com>
wrote:

> Hi
>
> Thank you for your contributions. Well,I did not expect that this
> discussion could go so far :)
>
> Wim, there is no underlying widget, the "button" is drawn because the
> whole component is a Canvas.
>
> I like the idea of extending the ControlDecoration component of JFace.
>
> I'm gonna go back on this after Christmas Eve.
>
> Have a nice evening,
>
> Laurent
>
> Le lun. 17 déc. 2018 à 20:34, Mickael Istria <mist...@redhat.com> a
> écrit :
>
>> Hi
>>
>> On Mon, Dec 17, 2018 at 7:15 PM Wim Jongman <wim.jong...@gmail.com>
>> wrote:
>>
>>> My first reaction (but I don't want to look a gift horse in the mouth)
>>> was that I just wanted to have the pill that I could superimpose on any
>>> widget just like a JFace ControlDecoration.
>>>
>>
>> That's something to investigate. Maybe this can be an opportunity to
>> generalize ControlDecoration to something else than an image. I don't know
>> the details of both APIs, but the goals seem pretty similar so there could
>> be room for factorization.
>> I'll try to have a look later and report whether I find some
>> opportunities here.
>>
>> Cheers,
>> _______________________________________________
>> nebula-dev mailing list
>> nebula-dev@eclipse.org
>> To change your delivery options, retrieve your password, or unsubscribe
>> from this list, visit
>> https://www.eclipse.org/mailman/listinfo/nebula-dev
>
> _______________________________________________
> nebula-dev mailing list
> nebula-dev@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
nebula-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/nebula-dev

Reply via email to