summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main
diff options
context:
space:
mode:
authorJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-02 15:55:33 +0200
committerJakob Heher <jakob.heher@iaik.tugraz.at>2022-08-02 15:55:33 +0200
commit155dae9fe0b523bdeb91db0ecd8b5dee2b973ff8 (patch)
treedc29893ed7c4085439eb41fc4ce43ad3d381166c /pdf-over-gui/src/main
parent30728e24b02733736a7c629b7c2be130e5e8a899 (diff)
downloadpdf-over-155dae9fe0b523bdeb91db0ecd8b5dee2b973ff8.tar.gz
pdf-over-155dae9fe0b523bdeb91db0ecd8b5dee2b973ff8.tar.bz2
pdf-over-155dae9fe0b523bdeb91db0ecd8b5dee2b973ff8.zip
typos
Diffstat (limited to 'pdf-over-gui/src/main')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/BKUSelectionComposite.java3
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java12
2 files changed, 8 insertions, 7 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/BKUSelectionComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/BKUSelectionComposite.java
index f7253486..0f9fa724 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/BKUSelectionComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/BKUSelectionComposite.java
@@ -100,7 +100,8 @@ public class BKUSelectionComposite extends StateComposite {
/**
* SLF4J Logger instance
**/
- static final Logger log = LoggerFactory.getLogger(BKUSelectionComposite.class);
+ static final Logger log = LoggerFactory
+ .getLogger(BKUSelectionComposite.class);
private BKUs selected = BKUs.NONE;
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java
index f44367a2..e821d78f 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/configuration/SimpleConfigurationComposite.java
@@ -171,7 +171,7 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase {
int index = SimpleConfigurationComposite.this.cmbSignatureProfiles.getSelectionIndex();
Profile selected = Profile.values()[index];
if (!current.equals(selected)) {
- preformProfileSelectionChanged(selected);
+ performProfileSelectionChanged(selected);
}
}
});
@@ -430,11 +430,11 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase {
}
this.configurationContainer.setEmblem(filename);
- this.setVisibleImage();
+ this.updateSignatureBlockPreview();
this.doLayout();
}
- void setVisibleImage() {
+ void updateSignatureBlockPreview() {
String image = this.configurationContainer.getEmblem();
ImageData img = null;
ImageData logo = null;
@@ -530,7 +530,7 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase {
- void preformProfileSelectionChanged(Profile newProfile) {
+ void performProfileSelectionChanged(Profile newProfile) {
log.debug("Signature Profile {} was selected", newProfile.name());
Profile oldProfile = this.configurationContainer.getSignatureProfile();
this.configurationContainer.setSignatureProfile(newProfile);
@@ -625,11 +625,11 @@ public class SimpleConfigurationComposite extends ConfigurationCompositeBase {
this.txtSignatureNote.setText(note);
}
- this.setVisibleImage();
+ this.updateSignatureBlockPreview();
this.performSignatureLangSelectionChanged(this.configurationContainer.signatureLocale, null);
- this.preformProfileSelectionChanged(this.configurationContainer.getSignatureProfile());
+ this.performProfileSelectionChanged(this.configurationContainer.getSignatureProfile());
}