Bug 549295 - View added to existing perspective does not show after plugin install
Summary: View added to existing perspective does not show after plugin install
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.12   Edit
Hardware: PC Windows 10
: P1 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-15 16:44 EDT by Erin Harris CLA
Modified: 2020-07-20 06:28 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.