Bug 77738 [IDE] IDE plug-in needs to get off of the core compatibility layer
20041102 The IDE plug-in is still on the compatibility layer. All of the code that needs migrating is in IDEWorkbenchAdvisor
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/IDEWorkbenchAdvisor.java
if (product != null) {
                productName = product.getName();
            }
            if (productName == null) {
                message = IDEWorkbenchMessages
                        .getString("PromptOnExitDialog.message0"); 
            } else {
                message = IDEWorkbenchMessages
                        .format(
                                "PromptOnExitDialog.message1", new Object[] { productName }); 
            }
            MessageDialogWithToggle dlg = MessageDialogWithToggle
                    .openOkCancelConfirm(windowConfigurer.getWindow()
                            .getShell(), IDEWorkbenchMessages
                            .getString("PromptOnExitDialog.shellTitle"), 
                            message, IDEWorkbenchMessages
                                    .getString("PromptOnExitDialog.choice"), 
                            false, null, null);
            if (dlg.getReturnCode() != IDialogConstants.OK_ID) {
                return false;
            }
            if (dlg.getToggleState()) {
                store
                        .setValue(
                                IDEInternalPreferences.EXIT_PROMPT_ON_CLOSE_LAST_WINDOW,
                                false);
                IDEWorkbenchPlugin.getDefault().savePluginPreferences();
            }
        }
        return true;