public abstract String getVar();
public abstract void setVar(String var);
public StackingTreeModel getStackingModel() {
StackingTreeModel stackingModel = super.getStackingModel();
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;