Hi,
Something so strange just happened, I’ve launched vaadin, I get a wrong typo on a word so I changed it, then compiling for that the server use my modification and … boum :
MyCl.java:[128,16]
error: isReadOnly() in AbstractComponent cannot implement isReadOnly() in HasValue
About this method :
[code]
private <V, T extends AbstractComponent & HasValue> void setFilter( HeaderRow filteringHeader,
/*[128,16]
^ is here */ T element,
String column,
V type) {
element.addValueChangeListener(new HasValue.ValueChangeListener<V>() {
@Override
public void valueChange(final HasValue.ValueChangeEvent<V> event) {
filter();
}
});
filteringHeader.getCell(column).setComponent(element);
}
// example of use : setColonneFiltre(topHeader, firstDatePicker, “date”, LocalDateTime.MAX);
[/code]
AbstractComponent
: is because I need to ad the element somewhere
HasValue
: is because I need to set a valueListenner on it
I’ve made this method last week, and I’ve compiled the module avout 100 times, and I just get this error, and I’m 100% sure to have not made changes related to this since the last compilation
So I’ve noooo idea what to do, why this happen and so on ,