diff options
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/PasswordPrompt.java')
-rw-r--r-- | org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/PasswordPrompt.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/PasswordPrompt.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/PasswordPrompt.java index 1eb238f69..511dfe203 100644 --- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/PasswordPrompt.java +++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/stringsubstitution/PasswordPrompt.java @@ -1,10 +1,10 @@ /******************************************************************************* * Copyright (c) 2007 Benjamin Muskalla and others. - * All rights reserved. This program and the accompanying materials + * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html - * + * * Contributors: * Benjamin Muskalla - initial implementation * IBM Canada - review initial contribution and commit @@ -27,9 +27,9 @@ import org.eclipse.swt.widgets.Text; * typed characters are hidden on the screen. */ public class PasswordPrompt extends PromptingResolver { - + private String returnValue; - + /* (non-Javadoc) * @see org.eclipse.debug.internal.ui.stringsubstitution.PromptingResolver#prompt() */ @@ -37,7 +37,7 @@ public class PasswordPrompt extends PromptingResolver { public void prompt() { Dialog dialog = new Dialog((Shell)null){ private Text text; - + /* (non-Javadoc) * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite) */ @@ -66,7 +66,7 @@ public class PasswordPrompt extends PromptingResolver { applyDialogFont(composite); return composite; } - + /* (non-Javadoc) * @see org.eclipse.jface.dialogs.Dialog#buttonPressed(int) */ @@ -79,7 +79,7 @@ public class PasswordPrompt extends PromptingResolver { } super.buttonPressed(buttonId); } - + /* (non-Javadoc) * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell) */ @@ -88,9 +88,9 @@ public class PasswordPrompt extends PromptingResolver { super.configureShell(newShell); newShell.setText(StringSubstitutionMessages.StringPromptExpander_0); } - + }; - + int dialogResult = dialog.open(); if (dialogResult == Window.OK) { dialogResultString = returnValue; |