diff options
author | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2014-11-27 21:02:02 +0100 |
---|---|---|
committer | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2014-11-27 21:02:02 +0100 |
commit | 93c95e60f52cb9b37c8cc3d5ceaa37417cf71001 (patch) | |
tree | 407e5348703762e2f86ff1c196ac7ae4182dc393 /pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow | |
parent | c5601292f85bc02ca277c04ef6bbae938d07a335 (diff) | |
download | mocca-93c95e60f52cb9b37c8cc3d5ceaa37417cf71001.tar.gz mocca-93c95e60f52cb9b37c8cc3d5ceaa37417cf71001.tar.bz2 mocca-93c95e60f52cb9b37c8cc3d5ceaa37417cf71001.zip |
Cache the signature placeholder
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/PositioningState.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java index fed293fc..6c3d11a8 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/PositioningState.java @@ -32,6 +32,7 @@ import at.asit.pdfover.gui.composites.PositioningComposite; import at.asit.pdfover.gui.controls.Dialog.BUTTONS; import at.asit.pdfover.gui.controls.ErrorDialog; import at.asit.pdfover.gui.utils.Messages; +import at.asit.pdfover.gui.utils.SignaturePlaceholderCache; import at.asit.pdfover.gui.workflow.StateMachine; import at.asit.pdfover.gui.workflow.Status; import at.asit.pdfover.signator.Emblem; @@ -109,7 +110,7 @@ public class PositioningState extends State { param.setSignatureLanguage(getStateMachine().getConfigProvider().getSignLocale().getLanguage()); this.positionComposite.setPlaceholder( - param.getPlaceholder(), + SignaturePlaceholderCache.getPlaceholder(param), param.getPlaceholderDimension().getWidth(), param.getPlaceholderDimension().getHeight(), getStateMachine().getConfigProvider().getPlaceholderTransparency()); |