public abstract String getVar();
public abstract void setVar(String var);
protected StackingTreeModel createRecursiveModel() {
StackingTreeModel recursiveModel = new VisualStackingTreeModel(getId(), getVar(), new StackingTreeModelDataProvider() {
public Object getData() {
return UIRecursiveTreeNodesAdaptor.this.getNodes();
}
}, UIRecursiveTreeNodesAdaptor.this) {
public StackingTreeModel getModelById(String id) {
StackingTreeModel model = super.getModelById(id);
if (model == null) {
model = this.getParent().getModelById(id);
}
return model;