You don't want users to have to explicitly add your plug-in to a perspective by customizing it.
12.11.2 Solution
Use the extension point org.eclipse.ui.perspectiveExtensions in plugin.xml to add the plug-in to the perspective automatically.
12.11.3 Discussion
To automatically add a plug-in to a perspective, use the extension point org.eclipse.ui.perspectiveExtensions in plugin.xml . You can make this just by editing the XML in plugin.xml . Here's how to automatically add the plug-in developed over the previous few recipes to the Java perspective in plugin.xml :
Save plugin.xml after editing it, and restart the Run-time Workbench. When you do, the new plug-in should appear on startup.
Other perspectives can be reached using similar nomenclature . For example, to add a plug-in to the Resource perspective, use org.eclipse.ui.resourcePerspective .