开发者

Defer Eclipse Treeviewer loading by DeferredTreeContentManager

I understand there is an approach to defer T开发者_如何学PythonreeViewer loading by using DeferredTreeContentManager, learnt from this useful tutorial.

However, this mechanism requires the model to implement IDeferredWorkbenchAdapter interface, which introduces problem to my legacy immutable model classes. Is it possible to use DeferredTreeContentManager without having model implementing IDeferredWorkbenchAdapter interface?


Just realized that I can use AdapterFactory to covert the model to IDeferredWorkbenchAdapter. Problem solved!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜