在一个应用窗口的左边有个tree导航,假如只有两个节点(TreeItem),另外有两个事先设计好的composite(存放在一个包中),如何实现点击每个节点在应用窗口的右边就显示出相应的composite,谢谢!
基于20个网页-相关网页
In this case, the reference widget is the TreeItem widget the user selects.
在这里,参照的部件是用户选择的TreeIte m部件。
When a TreeItem widget is created, an ItemData bean is associated with the widget.
在创建TreeIte m部件时,把一个ItemData bean与这个部件关联起来。
It then creates a TreeItem widget and binds the application object with the widget.
然后,创建TreeIte m部件并把应用程序对象与部件绑定起来。
应用推荐