Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » automatically change perspective when switching between different editors
automatically change perspective when switching between different editors [message #1717675] Tue, 15 December 2015 12:45
Eclipse UserFriend
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
Previous Topic:"Failed to create the Java Virtual Machine."..huh?
Next Topic:Core Expression that checks whether selection is zero-length string?
Goto Forum:
  


Current Time: Sun Mar 23 20:00:50 EDT 2025

Powered by FUDForum. Page generated in 0.05793 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top