Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/CompileErrorProjectPromptStatusHandler.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/CompileErrorProjectPromptStatusHandler.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/CompileErrorProjectPromptStatusHandler.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/CompileErrorProjectPromptStatusHandler.java
index f8124b2f3..af014e1ed 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/CompileErrorProjectPromptStatusHandler.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/launchConfigurations/CompileErrorProjectPromptStatusHandler.java
@@ -54,7 +54,7 @@ public class CompileErrorProjectPromptStatusHandler implements IStatusHandler {
projects.add(arg);
}
}
- }
+ }
Shell shell = DebugUIPlugin.getShell();
StringBuffer projectList = new StringBuffer();
//we need to limit this
@@ -71,22 +71,22 @@ public class CompileErrorProjectPromptStatusHandler implements IStatusHandler {
} else{
projectMessage = projectList.toString();
}
- String title = LaunchConfigurationsMessages.CompileErrorPromptStatusHandler_0;
+ String title = LaunchConfigurationsMessages.CompileErrorPromptStatusHandler_0;
String message = MessageFormat.format(LaunchConfigurationsMessages.CompileErrorPromptStatusHandler_2, new Object[] { projectMessage });
- IPreferenceStore store = DebugUIPlugin.getDefault().getPreferenceStore();
-
+ IPreferenceStore store = DebugUIPlugin.getDefault().getPreferenceStore();
+
String pref = store.getString(IInternalDebugUIConstants.PREF_CONTINUE_WITH_COMPILE_ERROR);
if (pref != null) {
if (pref.equals(MessageDialogWithToggle.ALWAYS)) {
return Boolean.TRUE;
}
}
- MessageDialogWithToggle dialog = new MessageDialogWithToggle(shell,
- title,
- null,
- message,
+ MessageDialogWithToggle dialog = new MessageDialogWithToggle(shell,
+ title,
+ null,
+ message,
MessageDialog.QUESTION,
- new String[] {IDialogConstants.PROCEED_LABEL, IDialogConstants.CANCEL_LABEL},
+ new String[] {IDialogConstants.PROCEED_LABEL, IDialogConstants.CANCEL_LABEL},
0,
LaunchConfigurationsMessages.CompileErrorProjectPromptStatusHandler_1,
false);
@@ -96,7 +96,7 @@ public class CompileErrorProjectPromptStatusHandler implements IStatusHandler {
store.setValue(IInternalDebugUIConstants.PREF_CONTINUE_WITH_COMPILE_ERROR, MessageDialogWithToggle.ALWAYS);
}
return Boolean.TRUE;
- }
+ }
else {
return Boolean.FALSE;
}

Back to the top