summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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());
}