diff options
author | Michael Rennie | 2007-08-23 16:08:04 +0000 |
---|---|---|
committer | Michael Rennie | 2007-08-23 16:08:04 +0000 |
commit | a6c636680515f047ee9b0148ce3ab6bd4f1ec602 (patch) | |
tree | 1d0529bb32a35ab8f4e44c69f54ed6e4badc176a /org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/MultipleInputDialog.java | |
parent | 944435bf16a29f497764c75644e342a998f11b65 (diff) | |
download | eclipse.platform.debug-a6c636680515f047ee9b0148ce3ab6bd4f1ec602.tar.gz eclipse.platform.debug-a6c636680515f047ee9b0148ce3ab6bd4f1ec602.tar.xz eclipse.platform.debug-a6c636680515f047ee9b0148ce3ab6bd4f1ec602.zip |
Bug 198545 Debug Core should use EMPTY_STRING constant
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/MultipleInputDialog.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/MultipleInputDialog.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/MultipleInputDialog.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/MultipleInputDialog.java index c2b339905..51c6753b4 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/MultipleInputDialog.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/MultipleInputDialog.java @@ -17,6 +17,7 @@ import java.util.Iterator; import java.util.List; import java.util.Map; +import org.eclipse.debug.internal.core.IInternalDebugCoreConstants; import org.eclipse.debug.ui.StringVariableSelectionDialog; import org.eclipse.jface.dialogs.Dialog; import org.eclipse.jface.dialogs.IDialogConstants; @@ -140,7 +141,7 @@ public class MultipleInputDialog extends Dialog { if (!allowEmpty) { validators.add(new Validator() { public boolean validate() { - return !text.getText().equals(IInternalDebugUIConstants.EMPTY_STRING); + return !text.getText().equals(IInternalDebugCoreConstants.EMPTY_STRING); } }); text.addModifyListener(new ModifyListener() { @@ -181,7 +182,7 @@ public class MultipleInputDialog extends Dialog { if (!allowEmpty) { validators.add(new Validator() { public boolean validate() { - return !text.getText().equals(IInternalDebugUIConstants.EMPTY_STRING); + return !text.getText().equals(IInternalDebugCoreConstants.EMPTY_STRING); } }); @@ -198,7 +199,7 @@ public class MultipleInputDialog extends Dialog { DirectoryDialog dialog = new DirectoryDialog(getShell()); dialog.setMessage(DebugUIMessages.MultipleInputDialog_7); String currentWorkingDir = text.getText(); - if (!currentWorkingDir.trim().equals(IInternalDebugUIConstants.EMPTY_STRING)) { + if (!currentWorkingDir.trim().equals(IInternalDebugCoreConstants.EMPTY_STRING)) { File path = new File(currentWorkingDir); if (path.exists()) { dialog.setFilterPath(currentWorkingDir); @@ -245,7 +246,7 @@ public class MultipleInputDialog extends Dialog { if (!allowEmpty) { validators.add(new Validator() { public boolean validate() { - return !text.getText().equals(IInternalDebugUIConstants.EMPTY_STRING); + return !text.getText().equals(IInternalDebugCoreConstants.EMPTY_STRING); } }); |