diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:01:09 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 19:01:09 +0000 |
commit | 01f6e6d262fbc0be426e72e047d255399002e335 (patch) | |
tree | c936d58b38ab8eb549e43f2270bdeda3576b2f5b /pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow | |
parent | fa1fe4e607377417b0e9c6483e734b599f7b6f8d (diff) | |
download | pdf-over-01f6e6d262fbc0be426e72e047d255399002e335.tar.gz pdf-over-01f6e6d262fbc0be426e72e047d255399002e335.tar.bz2 pdf-over-01f6e6d262fbc0be426e72e047d255399002e335.zip |
+ added Signator Placeholder generation for PDF-AS:
check: SignatureParameter.getPlaceholder()
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@84 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java index 08212c8f..a158d7ca 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java @@ -26,6 +26,9 @@ import at.asit.pdfover.gui.composites.DataSourceSelectComposite; 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.FileNameEmlbem; +import at.asit.pdfover.signator.SignatureException; +import at.asit.pdfover.signator.SignatureParameter; /** * Selects the data source for the signature process. @@ -58,6 +61,9 @@ public class OpenState extends State { @Override public void run() { + + + Status status = this.stateMachine.getStatus(); if (!(status.getPreviousState() instanceof PrepareConfigurationState) && !(status.getPreviousState() instanceof OpenState)) @@ -67,7 +73,7 @@ public class OpenState extends State { status.setDocument(null); status.setSignaturePosition(config.getDefaultSignaturePosition()); } - + if (status.getDocument() == null) { DataSourceSelectComposite selection = this .getSelectionComposite(); |