mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-08 18:26:01 +02:00
Hide text in password and passphrase fields.
Signed-off-by: Greg Watson <g.watson@computer.org>
This commit is contained in:
parent
950f2d8bbb
commit
446ee9f33f
1 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ public class JSchConnectionPage extends WizardPage {
|
||||||
Label passwordLabel = new Label(controls, SWT.NONE);
|
Label passwordLabel = new Label(controls, SWT.NONE);
|
||||||
passwordLabel.setText(Messages.JSchNewConnectionPage_Password);
|
passwordLabel.setText(Messages.JSchNewConnectionPage_Password);
|
||||||
passwordLabel.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false));
|
passwordLabel.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false));
|
||||||
fPasswordText = new Text(controls, SWT.BORDER | SWT.SINGLE);
|
fPasswordText = new Text(controls, SWT.BORDER | SWT.SINGLE | SWT.PASSWORD);
|
||||||
fPasswordText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
|
fPasswordText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
|
||||||
|
|
||||||
// Key option box
|
// Key option box
|
||||||
|
@ -193,7 +193,7 @@ public class JSchConnectionPage extends WizardPage {
|
||||||
Label passphraseLabel = new Label(controls, SWT.NONE);
|
Label passphraseLabel = new Label(controls, SWT.NONE);
|
||||||
passphraseLabel.setText(Messages.JSchNewConnectionPage_Passphrase);
|
passphraseLabel.setText(Messages.JSchNewConnectionPage_Passphrase);
|
||||||
passphraseLabel.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false));
|
passphraseLabel.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false));
|
||||||
fPassphraseText = new Text(controls, SWT.BORDER | SWT.SINGLE);
|
fPassphraseText = new Text(controls, SWT.BORDER | SWT.SINGLE | SWT.PASSWORD);
|
||||||
fPassphraseText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
|
fPassphraseText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
|
||||||
|
|
||||||
fPasswordButton.setSelection(true);
|
fPasswordButton.setSelection(true);
|
||||||
|
|
Loading…
Add table
Reference in a new issue