Bug 549295

Summary: View added to existing perspective does not show after plugin install
Product: [Eclipse Project] Platform Reporter: Erin Harris <eharris>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: major    
Priority: P1 CC: thatnitind
Version: 4.12   
Target Milestone: ---   
Hardware: PC   
OS: Windows 10   
Whiteboard:

Description Erin Harris CLA 2019-07-15 16:44:55 EDT
I have added a view to the J2EE perspective but after my plugin is installed and Eclipse restarted, the view does not show up.  If I select Window > Perspective > Reset Perspective then the view will be displayed.  Or if I close the perspective and open it again it will be displayed.  I am using the Eclipse IDE for Enterprise Java Developers 2019-03 where the J2EE perspective is the default perspective.

Here is the snippet from the plugin.xml:

	<extension point="org.eclipse.ui.perspectiveExtensions">
		<perspectiveExtension 
			targetID="org.eclipse.jst.j2ee.J2EEPerspective">
	        <view id="org.eclipse.codewind.ui.explorerView" 
	                relative="org.eclipse.wst.server.ui.ServersView" 
	                relationship="stack"
	                visible="true"/>
		</perspectiveExtension> 
	</extension>

It looks like the views that do show in the perspective when Eclipse is first started are hard coded in org.eclipse.jst.j2ee.internal.perspective.J2EEPerspective

Is there any way to get my view to display immediately after the plugin is installed so that users know it is there?
Comment 1 Nitin Dahyabhai CLA 2019-07-15 22:25:14 EDT
As far as I know, no, not for extensions.
Comment 2 Erin Harris CLA 2019-07-24 14:44:54 EDT
Upgrading the priority as this is a usability issue for Eclipse Codewind.  The user installs Codewind but then they do not see anything Codewind related after the install.