Backed out changeset: d83bca850b09
fixed by zk team:http://tracker.zkoss.org/browse/ZK-3022
This commit is contained in:
parent
5c8e620ca8
commit
96ff33064a
|
@ -149,13 +149,6 @@ public class SimpleTreeModel extends org.zkoss.zul.DefaultTreeModel<Object> impl
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean isExpandAll = true;
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean isPathOpened(int[] path) {
|
|
||||||
return isExpandAll || super.isPathOpened(path);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param ti
|
* @param ti
|
||||||
* @param node
|
* @param node
|
||||||
|
@ -335,12 +328,4 @@ public class SimpleTreeModel extends org.zkoss.zul.DefaultTreeModel<Object> impl
|
||||||
fireEvent(TreeDataEvent.CONTENTS_CHANGED, getPath(parent), i, i);
|
fireEvent(TreeDataEvent.CONTENTS_CHANGED, getPath(parent), i, i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isExpandAll() {
|
|
||||||
return isExpandAll;
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setExpandAll(boolean isExpandAll) {
|
|
||||||
this.isExpandAll = isExpandAll;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue