0
在RCP jfacetreeview假设我有1000行,但我想只加载50行,然后,当我点击(更多...)我需要另一个50加载。 就像我需要虚拟树,所以我可以插入更多的数据,但我可以在需要时加载数据。Jface treeviewer lazyloading RCP java
http://www.vogella.com/tutorials/EclipseJFaceTableAdvanced/article.html 尝试延迟加载,但不知道该怎么做。
欢迎来到SO!你试过什么了?为了帮助我们,请添加[Minimal,Complete和Verifiable示例](https://stackoverflow.com/help/mcve) – ti7
对于使用'ILazyTreeContentProvider'的树,请参阅https://git.eclipse。 org/c/platform/eclipse.platform.ui.git/tree/examples/org.eclipse.jface.snippets/Eclipse%20JFace%20Snippets/org/eclipse/jface/snippets/viewsers/Snippet047VirtualLazyTreeViewer.java?id = R4_3 –
我得到了树使用lazycontent提供程序...但我怎么能决定,我需要10个孩子,然后通过坚持下一个我需要另外10个像明智 –