|
Re: Spell checker like decoration (~~~~~~) for org.eclipse.draw2d.Label [message #167569 is a reply to message #167480] |
Wed, 09 February 2005 19:51 |
Eclipse User |
|
|
|
Originally posted by: none.us.ibm.com
You can subclass label and get the Text bounds, and draw the line
underneath. You won't be guaranteed that there is enough space for the line
unless you extend getPreferredSize.
"FreeGroup" <a.herz@FreeGroup.de> escreveu na mensagem
news:cucii4$otc$1@www.eclipse.org...
> Hi,
>
> I want add a decorator to the org.eclipse.draw2d.Label in my
> GEF Editor.
>
> The decoration should looks like the 'speel checker' decoration
> in StarOffice, Word, ...
>
> Like:
>
> this is an errror ....
> ~~~~~~
>
> If it possible to add such a decorator to a org.eclipse.draw2d.Label?
>
> Or should I create the Deco-Label with a toolbar-layout with a label and
> a dotted line?
>
>
> greetings
>
> Andreas Herz
|
|
|
|
Powered by
FUDForum. Page generated in 0.01893 seconds