summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:03:33 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 19:03:33 +0000
commitf15550e22839d60619ef300d543aa68f6d533efa (patch)
tree505b8a5c320fe53e792a5c4d6284041dcfea2bdb
parent77386f4859e7c2538a58750e932c2669c0e1d34c (diff)
downloadmocca-f15550e22839d60619ef300d543aa68f6d533efa.tar.gz
mocca-f15550e22839d60619ef300d543aa68f6d533efa.tar.bz2
mocca-f15550e22839d60619ef300d543aa68f6d533efa.zip
Emlbem -> Emblem
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@105 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java4
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java4
-rw-r--r--pdf-over-signator/src/main/java/at/asit/pdfover/signator/FileNameEmblem.java (renamed from pdf-over-signator/src/main/java/at/asit/pdfover/signator/FileNameEmlbem.java)6
3 files changed, 7 insertions, 7 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java
index 9282ef03..c4e1f03a 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/SimpleConfigurationComposite.java
@@ -65,7 +65,7 @@ import at.asit.pdfover.gui.exceptions.InvalidNumberException;
import at.asit.pdfover.gui.exceptions.InvalidPortException;
import at.asit.pdfover.gui.workflow.ConfigurationContainer;
import at.asit.pdfover.gui.workflow.states.State;
-import at.asit.pdfover.signator.FileNameEmlbem;
+import at.asit.pdfover.signator.FileNameEmblem;
import at.asit.pdfover.signator.SignatureParameter;
/**
@@ -227,7 +227,7 @@ public class SimpleConfigurationComposite extends BaseConfigurationComposite {
if (this.signer != null) {
SignatureParameter param = this.signer.getPDFSigner()
.newParameter();
- param.setEmblem(new FileNameEmlbem(image));
+ param.setEmblem(new FileNameEmblem(image));
img = ImageConverter.convertToSWT((BufferedImage) param
.getPlaceholder());
} else {
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java
index 7d8b5987..f51a3289 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PrepareSigningState.java
@@ -29,7 +29,7 @@ import at.asit.pdfover.gui.workflow.ConfigProvider;
import at.asit.pdfover.gui.workflow.StateMachine;
import at.asit.pdfover.gui.workflow.Status;
import at.asit.pdfover.signator.BKUs;
-import at.asit.pdfover.signator.FileNameEmlbem;
+import at.asit.pdfover.signator.FileNameEmblem;
import at.asit.pdfover.signator.PDFFileDocumentSource;
import at.asit.pdfover.signator.SignatureParameter;
import at.asit.pdfover.signator.Signer;
@@ -93,7 +93,7 @@ public class PrepareSigningState extends State {
this.state.signatureParameter.setSignaturePosition(status.getSignaturePosition());
if(configuration.getDefaultEmblem() != null && !configuration.getDefaultEmblem().equals("")) { //$NON-NLS-1$
- this.state.signatureParameter.setEmblem(new FileNameEmlbem(configuration.getDefaultEmblem()));
+ this.state.signatureParameter.setEmblem(new FileNameEmblem(configuration.getDefaultEmblem()));
}
this.state.signingState = this.state.signer.prepare(this.state.signatureParameter);
diff --git a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/FileNameEmlbem.java b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/FileNameEmblem.java
index 53e8faeb..320de5fa 100644
--- a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/FileNameEmlbem.java
+++ b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/FileNameEmblem.java
@@ -22,13 +22,13 @@ import org.slf4j.LoggerFactory;
/**
*
*/
-public class FileNameEmlbem implements Emblem {
+public class FileNameEmblem implements Emblem {
/**
* SLF4J Logger instance
**/
@SuppressWarnings("unused")
private static final Logger log = LoggerFactory
- .getLogger(FileNameEmlbem.class);
+ .getLogger(FileNameEmblem.class);
private String fileName = null;
@@ -36,7 +36,7 @@ public class FileNameEmlbem implements Emblem {
* Constructor
* @param filename
*/
- public FileNameEmlbem(String filename) {
+ public FileNameEmblem(String filename) {
this.fileName = filename;
}