diff options
author | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-07-14 09:56:11 +0200 |
---|---|---|
committer | Jakob Heher <jakob.heher@iaik.tugraz.at> | 2022-07-14 09:56:11 +0200 |
commit | e9aeb2a74cfb58ee0e4c90fcca032ebe9afbb977 (patch) | |
tree | 0ad6ddd76e4a538c33b4e93244099883cbf9d9ee /pdf-over-gui/src/main/java | |
parent | f9fd33632d674062c1a6f675939eb4ddc0fee653 (diff) | |
download | pdf-over-e9aeb2a74cfb58ee0e4c90fcca032ebe9afbb977.tar.gz pdf-over-e9aeb2a74cfb58ee0e4c90fcca032ebe9afbb977.tar.bz2 pdf-over-e9aeb2a74cfb58ee0e4c90fcca032ebe9afbb977.zip |
add "remember password" toggle box (no functionality yet)
Diffstat (limited to 'pdf-over-gui/src/main/java')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java index be20c05c..077099ff 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/MobileBKUEnterNumberComposite.java @@ -124,6 +124,7 @@ public class MobileBKUEnterNumberComposite extends StateComposite { Button btn_ok;
Button btn_cancel;
+ Button btn_remember;
/**
* @return the errorMessage
@@ -206,6 +207,8 @@ public class MobileBKUEnterNumberComposite extends StateComposite { this.lbl_error = new Label(containerComposite, SWT.WRAP | SWT.NATIVE );
StateComposite.anchor(lbl_error).top(87, -15).bottom(103, -20).left(5, 0).right(btn_cancel, -10).set();
+ this.btn_remember = new Button(containerComposite, SWT.CHECK);
+ StateComposite.anchor(btn_remember).right(100, -10).top(0, 5).set();
}
@Override
@@ -282,8 +285,11 @@ public class MobileBKUEnterNumberComposite extends StateComposite { public void reloadResources() {
StateComposite.setLocalizedText(lbl_number, "mobileBKU.number");
StateComposite.setLocalizedText(lbl_password, "mobileBKU.password");
+ StateComposite.setLocalizedText(btn_remember, "mobileBKU.rememberPassword");
StateComposite.setLocalizedText(btn_ok, "common.Ok");
StateComposite.setLocalizedText(btn_cancel, "common.Cancel");
+
+ this.btn_remember.setToolTipText(Messages.getString("mobileBKU.rememberPasswordNote"));
}
}
|