Reputation: 2543
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!
Upvotes: 0
Views: 1555
Reputation: 236
I think EPartService.isPartVisible(MPart)
(rather than MPart.isVisible()
) solves your first problem.
Upvotes: 1
Reputation: 111216
You can use the EPartService
addPartListener
method to add a listener that is notified about all part activation (and other) events.
Upvotes: 3