Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 55477 - [RCP] [Perspectives] Default perspective not getting picked up from primary feature
Summary: [RCP] [Perspectives] Default perspective not getting picked up from primary f...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 3.0 M9   Edit
Assignee: Nick Edgar CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-21 09:20 EST by Nick Edgar CLA
Modified: 2004-05-12 22:46 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2004-03-21 09:20:43 EST
M7

According to bug 54283, the primary feature's perspective is being ignored.
It brings up the resource perspective instead.
If -perspective is used, it brings up both the resource perspective and the
specified perspective.

This is a regression from 2.1.
Comment 1 Nick Edgar CLA 2004-05-12 22:46:22 EDT
This was caused by bug 52515 -- the plugin_customization.ini file was just not
being read.

I've also clarified the spec for
WorkbenchAdvisor.getInitialWindowPerspectiveId() to refer to the preference:

	/**
	 * Returns the id of the perspective to use for the initial workbench window.
	 * <p>
	 * This method is called during startup when the workbench is creating 
	 * the first new window. Subclasses must implement.
	 * </p>
	 * <p>
	 * If the {@link IWorkbenchPreferenceConstants#DEFAULT_PERSPECTIVE_ID} preference
	 * is specified, it supercedes the perspective specified here.
	 * </p>
	 * 
	 * @return the id of the perspective for the initial window
	 */