selectionListeners [message #814471] |
Tue, 06 March 2012 08:45  |
Eclipse User |
|
|
|
I updated to M2 and then get error on datagrid definition with message "SelectionListener and cellClicked are not compatible types in the expression".
My source compares to the example in "Tutorial: RUI With DataBase Lesson 8" and my source was without errors before I upgraded. I cannot find documentation for how I need to change my sourcecode. Anyone who has a tip?
Rgds Trond
|
|
|
|
|
Re: selectionListeners [message #814564 is a reply to message #814530] |
Tue, 06 March 2012 10:52  |
Eclipse User |
|
|
|
Trond,
I am glad the "clean" worked for you, although you shouldn't have had to invoke a clean build in this situation.
In general, migrating from one version of the code to another should not cause valid code to be marked invalid, assuming the code is actually valid. While working on .8 we have found instances of invalid code that was not being marked with an error, specifically in the area of using null values, but that is not the case in this situation. I am guessing that this error message was caused by a change to an internal data structure in M2, which caused the validation routine to think that your function did not match the delegate signature. A clean build recreates the saved version of these structures in your workspace and re-runs validation, which removed the invalid error message.
-Brian
|
|
|
Powered by
FUDForum. Page generated in 0.05213 seconds