문제

Is possible use JTree in Eclipse plugin development instead of standard JFace tree?
I'm developing it in Kepler, wan't work with custom icons etc. like in JTree.

도움이 되었습니까?

해결책

You can use JTree and other Swing controls using SWT_AWT bridge. However, this is far from trivial, as Swing will have its own event loop, you'll have to figure out which UI thread different code should run on, translate between different types of events (e.g. when resizing) etc. Generally it's better to figure out how to achieve your purposes in the SWT/JFace/RCP way.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top