|Re: Eclipse 4 RCP build tabs immediately [message #989153 is a reply to message #989123]
||Tue, 04 December 2012 21:26
| John Steele
Registered: January 2010
That's an interesting inquiry. As you know, one of the big insensitives for adding a view to the plugin.xml is that the view, and it's companion code, are not loaded or instantiated until necessary (lazy). |
You could create your own perspective, add views to it, and then set their visibility to true, which will in turn cause them to be created once the perspective is opened.
1) Create a perspective, and add it to the org.eclipse.ui.perspective extension.
2) Create a view, and add it to the org.eclipse.ui.views extension.
3) Add an extension to the org.eclipse.ui.perspectiveExtension associated with the perspective you created.
4) Add the views to it, and set visibility flag to true.
Now, when the perspective is opened all those views will be opened, thus causing the views to be created.
Powered by FUDForum
. Page generated in 0.02379 seconds