Bug 81614 [RCP] [Wizards] Missing icons for wizards
The interface org.eclipse.ui.ISharedImages defines public final static String IMG_TOOL_NEW_WIZARD = "IMG_TOOL_NEW_WIZARD"; public final static String IMG_TOOL_NEW_WIZARD_DISABLED = "IMG_TOOL_NEW_WIZARD_DISABLED"; It is used in the NewWizardDropDownAction class but the corresponding icons are not yet moved to the platform. Icon name: new_wiz.gif
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchAdvisor.java
*/
    private void disconnectFromWorkspace() {
        
        final MultiStatus status = new MultiStatus(
                IDEWorkbenchPlugin.IDE_WORKBENCH, 1, IDEWorkbenchMessages
                        .getString("ProblemSavingWorkbench"), null); 
        IRunnableWithProgress runnable = new IRunnableWithProgress() {
            public void run(IProgressMonitor monitor) {
                try {
                    status.merge(ResourcesPlugin.getWorkspace().save(true,
                            monitor));
                } catch (CoreException e) {
                    status.merge(e.getStatus());
                }
            }
        };
        try {
            new ProgressMonitorJobsDialog(null).run(true, false, runnable);
        } catch (InvocationTargetException e) {
            status
                    .merge(new Status(
                            IStatus.ERROR,
                            IDEWorkbenchPlugin.IDE_WORKBENCH,
                            1,
                            IDEWorkbenchMessages.getString("InternalError"), e.getTargetException())); 
        } catch (InterruptedException e) {
            status.merge(new Status(IStatus.ERROR,
                    IDEWorkbenchPlugin.IDE_WORKBENCH, 1, IDEWorkbenchMessages
                            .getString("InternalError"), e)); 
        }