Bug 109932 Should not access resources plug-in on ide startup
20050819 As we are hitting the resources plug-in too early by adding a resource listener on startUp. This then eagerly sets the preference location which occurs before the preference chooser comes up. As a result running with -data noDefault results in an error. Moving this to preShutdown and postStartup of the advisor sorts this out.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchAdvisor.java
*/
    private String workspaceLocation = null;
    /**
     * Ordered map of versioned feature ids -> info that are new for this
     * session; <code>null</code> if uninitialized. Key type:
     * <code>String</code>, Value type: <code>AboutInfo</code>.
     */
    private Map newlyAddedBundleGroups;
    /**
     * Array of <code>AboutInfo</code> for all new installed
     * features that specify a welcome perspective.
     */
    private AboutInfo[] welcomePerspectiveInfos = null;
    /**
     * Helper for managing activites in response to workspace changes.
     */
    private IDEWorkbenchActivityHelper activityHelper = null;
    
    /**
     * Helper for managing work that is performed when the system is
     * otherwise idle.
     */
    private IDEIdleHelper idleHelper;
	/**
     * Creates a new workbench advisor instance.
     */
    public IDEWorkbenchAdvisor() {
        super();
        if (workbenchAdvisor != null) {
            throw new IllegalStateException();