Community
Participate
Working Groups
Created attachment 241091 [details] Customized Perspective In Kepler, I moved an editor(e.g. Activator.java editor) adjacent to the views. After this I saved the perspective. Now when ever I reset this perspective the mentioned editor automatically moves to the defined place. This is great. But now the problem is I want to use the same perspective in my eclipse application also. But when I checked Perspective class, it does not has any methods to fix the position of a specific editor. Even PerspectiveExtensions extension point does not has any attributes for this. So, Can please anyone let me know how to achieve this.
Right now this isn't possible. When declaring a perspective through the factory the state is fairly stable when dealing with views. It's far less so for arbitrarily contributing an editor since the 'input' (the resource being edited) also needs to exist as well as defining the 'type' of editor to use. You may be better off by using a view instead of an editor (note that you can mark a view as 'dirty' same as you can an editor. The main difference is that the view's implementation will have to be capable of finding the stuff it wants to show.