I am trying to import com.vaadin.shared.ui.JavaScriptComponentState. I used this import in vaadin 7, but when I update to vaadin 8 I can't do this anymore. I am using vaadin bom 8.0.3 in the pom. Any hints what I am doing wrong here?
import com.vaadin.shared.ui.JavaScriptComponentState;
public class Graph extends JavaScriptComponentState {
private ArrayList<String> nodes;
private ArrayList<String> edges;
public ArrayList<String> getNodes() {
return nodes;
}
public ArrayList<String> getEdges() {
return edges;
}
}
Error:
The import com.vaadin.shared.ui.JavaScriptComponentState cannot be resolved