password style cells in table [message #444667] |
Wed, 20 October 2004 08:05 |
Eclipse User |
|
|
|
Originally posted by: myname.myname.info
Is it possible to have the subject?
Instead of showing the actual content of a cell, to have some dots there.
|
|
|
|
Re: password style cells in table [message #444693 is a reply to message #444669] |
Wed, 20 October 2004 15:24 |
Eclipse User |
|
|
|
Originally posted by: myname.myname.info
I know that is possible to have password style in Text class, but I want
the same thing in a table cell (or row, or column) if it's possible.
Takaido wrote:
> Use setEchoChar(String) (Text class).
> -MaRc
> "MyName" <myname@myname.info> a écrit dans le message de news:
> cl567r$ig5$1@eclipse.org...
> >
> > Is it possible to have the subject?
> > Instead of showing the actual content of a cell, to have some dots there.
> >
> >
|
|
|
|
Re: password style cells in table [message #444852 is a reply to message #444693] |
Thu, 21 October 2004 11:43 |
Eclipse User |
|
|
|
Originally posted by: notavalidaddress.notavaliddomain.com
Is the table just going to display the values or are you using a cell
editor?
If you're just displaying it, wrap the Table around a TableViewer and create
a ITableLabelProvider that will only display echo chars for that cell.
If you're using a cell editor, and I assume you will use a TextCellEditor,
you can call getControl() and cast the value to Text, and then set the echo
char.
Hope this helps.
"MyName" <myname@myname.info> wrote in message
news:cl5vv9$c1d$1@eclipse.org...
>
> I know that is possible to have password style in Text class, but I want
> the same thing in a table cell (or row, or column) if it's possible.
>
> Takaido wrote:
>
> > Use setEchoChar(String) (Text class).
>
> > -MaRc
>
> > "MyName" <myname@myname.info> a
|
|
|
|
Powered by
FUDForum. Page generated in 0.03137 seconds