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個像明智 –