[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Re: Weird problem with ICellValidator
|
The label grows as you're typing because its text is set to what you're
entering in the TextCellEditor. The answer to your query is in the javadoc
of CellEditor's getValue() method. It will return null if the value is not
valid.
"Pavan Podila" <pavan.podila@xxxxxxxxx> wrote in message
news:coacnp$5t8$1@xxxxxxxxxxxxxxxxxx
> Hi,
> I have attached a CellValidator for the TextCellEditor of my label.
> When I type my text in the TextCellEditor, the label size automatically
> grows. However when the isValid() of the CellValidator returns a string
> error message, the label size stops growing and resizes just big enough
> to fit one character. I am attaching the screenshots below for the two
> cases. What could be the problem?
>
> thanks in advance,
> Pavan
>
----------------------------------------------------------------------------
----
----------------------------------------------------------------------------
----