I'm writting an RCP application which has an application model that can be simplified as below:
==================================================
= lpart || rpart1 | rpart2 =
= -------------------- || ---------------------- =
= <a table> || <some sfuff about =
= || the selected item> =
==================================================
The problem:
What I want to achieve:
Any help would be really appreciated! Thanks a lot!
您可以使用EPartService
addPartListener
方法添加一个侦听器,该侦听器将收到有关所有零件激活(和其他)事件的通知。
我认为EPartService.isPartVisible(MPart)
(而不是MPart.isVisible()
)解决了您的第一个问题。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.