automatically change perspective when switching between different editors [message #1717675] |
Tue, 15 December 2015 12:45 |
Eclipse User |
|
|
|
Hello,
My RCP application supports several different editor types, each with its own preferred perspective. The perspectives have a distinct set of views applicable to only that specific editor. What I want to do is programmatically force a perspective change when switching between different editor types. Is there a way to do this? (Right now, I am only able to do it on creation and not when clicking between tabs to change focus.)
With Eclipse 3.x it actually used to be possible to brute force a perspective change using part activation events and generally ugly code. However, the inner workings of the workbench has changed significantly enough with Eclipse 4.x that this workaround is not workable any longer.
Thanks,
Mark
|
|
|
Powered by
FUDForum. Page generated in 0.05793 seconds