X-Git-Url: http://git.phpeclipse.com
diff --git a/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpdt/externaltools/internal/ui/MessageDialogWithToggle.java b/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpdt/externaltools/internal/ui/MessageDialogWithToggle.java
index 1e3e84f..f5d04a8 100644
--- a/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpdt/externaltools/internal/ui/MessageDialogWithToggle.java
+++ b/net.sourceforge.phpeclipse.externaltools/src/net/sourceforge/phpdt/externaltools/internal/ui/MessageDialogWithToggle.java
@@ -119,16 +119,16 @@ public class MessageDialogWithToggle extends MessageDialog {
* @return true
if the user presses the OK button,
* false
otherwise
*/
- public static boolean openConfirm(Shell parent, String title,
- String message, String preferenceKey, String toggleMessage,
- IPreferenceStore store) {
- MessageDialogWithToggle dialog = new MessageDialogWithToggle(parent,
- title, null, // accept the default window icon
- message, QUESTION, new String[] { IDialogConstants.OK_LABEL,
- IDialogConstants.CANCEL_LABEL }, 0, // OK is the default
- preferenceKey, toggleMessage, store);
- return dialog.open() == 0;
- }
+// public static boolean openConfirm(Shell parent, String title,
+// String message, String preferenceKey, String toggleMessage,
+// IPreferenceStore store) {
+// MessageDialogWithToggle dialog = new MessageDialogWithToggle(parent,
+// title, null, // accept the default window icon
+// message, QUESTION, new String[] { IDialogConstants.OK_LABEL,
+// IDialogConstants.CANCEL_LABEL }, 0, // OK is the default
+// preferenceKey, toggleMessage, store);
+// return dialog.open() == 0;
+// }
/**
* Convenience method to open a standard error dialog.
@@ -140,17 +140,17 @@ public class MessageDialogWithToggle extends MessageDialog {
* @param message
* the message
*/
- public static void openError(Shell parent, String title, String message,
- String preferenceKey, String toggleMessage, IPreferenceStore store) {
- MessageDialogWithToggle dialog = new MessageDialogWithToggle(parent,
- title, null, // accept the default window icon
- message, ERROR, new String[] { IDialogConstants.OK_LABEL }, 0, // ok
- // is
- // the
- // default
- preferenceKey, toggleMessage, store);
- dialog.open();
- }
+// public static void openError(Shell parent, String title, String message,
+// String preferenceKey, String toggleMessage, IPreferenceStore store) {
+// MessageDialogWithToggle dialog = new MessageDialogWithToggle(parent,
+// title, null, // accept the default window icon
+// message, ERROR, new String[] { IDialogConstants.OK_LABEL }, 0, // ok
+// // is
+// // the
+// // default
+// preferenceKey, toggleMessage, store);
+// dialog.open();
+// }
/**
* Convenience method to open a standard information dialog.
@@ -162,18 +162,18 @@ public class MessageDialogWithToggle extends MessageDialog {
* @param message
* the message
*/
- public static void openInformation(Shell parent, String title,
- String message, String preferenceKey, String toggleMessage,
- IPreferenceStore store) {
- MessageDialogWithToggle dialog = new MessageDialogWithToggle(parent,
- title,
- null, // accept the default window icon
- message, INFORMATION,
- new String[] { IDialogConstants.OK_LABEL }, 0, // ok is the
- // default
- preferenceKey, toggleMessage, store);
- dialog.open();
- }
+// public static void openInformation(Shell parent, String title,
+// String message, String preferenceKey, String toggleMessage,
+// IPreferenceStore store) {
+// MessageDialogWithToggle dialog = new MessageDialogWithToggle(parent,
+// title,
+// null, // accept the default window icon
+// message, INFORMATION,
+// new String[] { IDialogConstants.OK_LABEL }, 0, // ok is the
+// // default
+// preferenceKey, toggleMessage, store);
+// dialog.open();
+// }
/**
* Convenience method to open a simple Yes/No question dialog.
@@ -187,16 +187,16 @@ public class MessageDialogWithToggle extends MessageDialog {
* @return true
if the user presses the OK button,
* false
otherwise
*/
- public static boolean openQuestion(Shell parent, String title,
- String message, String preferenceKey, String toggleMessage,
- IPreferenceStore store) {
- MessageDialogWithToggle dialog = new MessageDialogWithToggle(parent,
- title, null, // accept the default window icon
- message, QUESTION, new String[] { IDialogConstants.YES_LABEL,
- IDialogConstants.NO_LABEL }, 0, // yes is the default
- preferenceKey, toggleMessage, store);
- return dialog.open() == 0;
- }
+// public static boolean openQuestion(Shell parent, String title,
+// String message, String preferenceKey, String toggleMessage,
+// IPreferenceStore store) {
+// MessageDialogWithToggle dialog = new MessageDialogWithToggle(parent,
+// title, null, // accept the default window icon
+// message, QUESTION, new String[] { IDialogConstants.YES_LABEL,
+// IDialogConstants.NO_LABEL }, 0, // yes is the default
+// preferenceKey, toggleMessage, store);
+// return dialog.open() == 0;
+// }
/**
* Convenience method to open a standard warning dialog.
@@ -208,15 +208,15 @@ public class MessageDialogWithToggle extends MessageDialog {
* @param message
* the message
*/
- public static void openWarning(Shell parent, String title, String message,
- String preferenceKey, String toggleMessage, IPreferenceStore store) {
- MessageDialogWithToggle dialog = new MessageDialogWithToggle(parent,
- title,
- null, // accept the default window icon
- message, WARNING, new String[] { IDialogConstants.OK_LABEL },
- 0, // ok is the default
- preferenceKey, toggleMessage, store);
- dialog.open();
- }
+// public static void openWarning(Shell parent, String title, String message,
+// String preferenceKey, String toggleMessage, IPreferenceStore store) {
+// MessageDialogWithToggle dialog = new MessageDialogWithToggle(parent,
+// title,
+// null, // accept the default window icon
+// message, WARNING, new String[] { IDialogConstants.OK_LABEL },
+// 0, // ok is the default
+// preferenceKey, toggleMessage, store);
+// dialog.open();
+// }
}