[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Re: TextPropertyDescriptor and EInt
|
Did you check to see what the assertion was that failed? Chances are you're
passing in the EInt object itself, when you should be passing in a String.
"Dan" <dan@xxxxxxxx> wrote in message news:d1urrn$ppt$1@xxxxxxxxxxxxxxxxxxx
> Hi!
>
> How can I edit an EInt in a property sheet with a TextPropertyDescriptor,
or
> can this be done? Shouldn't it be working exactly like when using an
> EString? I keep getting an assertion error. Here is a bit of stack trace:
>
> org.eclipse.jface.util.Assert$AssertionFailedException: Assertion failed:
> at org.eclipse.jface.util.Assert.isTrue(Assert.java:180)
> at org.eclipse.jface.util.Assert.isTrue(Assert.java:165)
> at
>
org.eclipse.jface.viewers.TextCellEditor.doSetValue(TextCellEditor.java:226)
> at org.eclipse.jface.viewers.CellEditor.setValue(CellEditor.java:816)
> ...
>
> Thank you!
>
>