开发者

Where to start if I want to create a custom combo with popup tree viewer

开发者 https://www.devze.com 2023-01-17 10:16 出处:网络
The normal SWT combo can only show a popup list when you clic开发者_JAVA百科k the triangle button. For some reason, I want to orgnize the selectable items in tree instead of list. It turns out I\'ve t

The normal SWT combo can only show a popup list when you clic开发者_JAVA百科k the triangle button. For some reason, I want to orgnize the selectable items in tree instead of list. It turns out I've to customize the combo to realize this. Can anyone tell me where should I begin with?


Take a look at project Nebula. It is a collection of more advanced SWT components. It does not have a tree combo, but it does have a table combo. Perhaps it will fit your needs. Even if it doesn't, you can read the source and get a good idea on how to implement it, perhaps use it as a starting point.

You can find more SWT custom widgets floating around (GIYF).

0

精彩评论

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

关注公众号