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/IDEWorkbenchPlugin.java
private static IDEWorkbenchPlugin inst;
    
    
    public static boolean DEBUG = false;
    /**
     * The IDE workbench plugin ID.
     */
    public static final String IDE_WORKBENCH = "org.eclipse.ui.ide"; 
    /**
     * The ID of the default text editor.
     * This must correspond to EditorsUI.DEFAULT_TEXT_EDITOR_ID.
     */
    public static final String DEFAULT_TEXT_EDITOR_ID = "org.eclipse.ui.DefaultTextEditor"; 
    
    public static final String PL_MARKER_IMAGE_PROVIDER = "markerImageProviders"; 
    public static final String PL_MARKER_HELP = "markerHelp"; 
    public static final String PL_MARKER_RESOLUTION = "markerResolution"; 
    public static final String PL_CAPABILITIES = "capabilities"; 
    public static final String PL_PROJECT_NATURE_IMAGES = "projectNatureImages"; 
	
	private final static String ICONS_PATH = "$nl$/icons/full/";
    /**
     * Project image registry; lazily initialized.
     */
    private ProjectImageRegistry projectImageRegistry = null;