Bug 269844 [GlobalActions] "Close Unrelated Projects" is dangerous and needs confirmation
I20090317-1745 "Close Unrelated Projects" is a dangerous operation with and hence needs a confirmation dialog (with a "don't nag me again" checkbox, if you want). I just inadvertently executed this action from the context menu, and now I have to manually restore my workspace state. Even if Undo would work, that would still cause a full build of all closed projects.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEInternalPreferences.java
public static final String SAVE_ALL_BEFORE_BUILD = "SAVE_ALL_BEFORE_BUILD"; 
     
    public static final String REFRESH_WORKSPACE_ON_STARTUP = "REFRESH_WORKSPACE_ON_STARTUP"; 
    
    
    public final static String SAVE_INTERVAL = "saveInterval"; 
    public static final int MAX_SAVE_INTERVAL = 9999;
    
    
    
    public static final String EXIT_PROMPT_ON_CLOSE_LAST_WINDOW = "EXIT_PROMPT_ON_CLOSE_LAST_WINDOW"; 
    
    public static final String PROJECT_SWITCH_PERSP_MODE = "SWITCH_PERSPECTIVE_ON_PROJECT_CREATION"; 
    /**
     * (String) Whether to open required projects when opening a project.
     */ 
    public static final String OPEN_REQUIRED_PROJECTS = "OPEN_REQUIRED_PROJECTS"; 
    public static final String PSPM_PROMPT = MessageDialogWithToggle.PROMPT;
    public static final String PSPM_ALWAYS = MessageDialogWithToggle.ALWAYS;
    public static final String PSPM_NEVER = MessageDialogWithToggle.NEVER;
    
    public static final String WELCOME_DIALOG = "WELCOME_DIALOG"; 
    
    
    public static final String LIMIT_PROBLEMS = "LIMIT_PROBLEMS";