diff options
author | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2012-11-13 09:36:16 +0100 |
---|---|---|
committer | Tobias Kellner <tobias.kellner@iaik.tugraz.at> | 2012-11-13 09:36:16 +0100 |
commit | b15a94495a1ddaaffd9fca1d6a3523ecaddabf90 (patch) | |
tree | 46c40527ba136eb3d3c08d8f9bcef343f7aeb80d /trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OutputState.java | |
parent | 3f391a2382f24945dd28d61f5a6bcd49910f9fe7 (diff) | |
download | pdf-over-b15a94495a1ddaaffd9fca1d6a3523ecaddabf90.tar.gz pdf-over-b15a94495a1ddaaffd9fca1d6a3523ecaddabf90.tar.bz2 pdf-over-b15a94495a1ddaaffd9fca1d6a3523ecaddabf90.zip |
Add new Dialog class to display a general messagebox
Diffstat (limited to 'trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OutputState.java')
-rw-r--r-- | trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OutputState.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OutputState.java b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OutputState.java index a7dcbd0a..cdf8694a 100644 --- a/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OutputState.java +++ b/trunk/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OutputState.java @@ -27,8 +27,10 @@ import org.slf4j.LoggerFactory; import at.asit.pdfover.gui.MainWindow.Buttons; import at.asit.pdfover.gui.MainWindowBehavior; import at.asit.pdfover.gui.composites.OutputComposite; +import at.asit.pdfover.gui.controls.Dialog; import at.asit.pdfover.gui.controls.ErrorDialog; -import at.asit.pdfover.gui.controls.ErrorDialog.ERROR_BUTTONS; +import at.asit.pdfover.gui.controls.Dialog.BUTTONS; +import at.asit.pdfover.gui.controls.Dialog.ICON; import at.asit.pdfover.gui.utils.Messages; import at.asit.pdfover.gui.workflow.StateMachine; import at.asit.pdfover.gui.workflow.Status; @@ -101,7 +103,7 @@ public class OutputState extends State { } catch (IOException e) { log.error("Failed to save signed document to configured output folder.", e); //$NON-NLS-1$ ErrorDialog dialog = new ErrorDialog(outputComposite.getShell(), - Messages.getString("error.SaveOutputFolder"), ERROR_BUTTONS.OK); //$NON-NLS-1$ + Messages.getString("error.SaveOutputFolder"), BUTTONS.OK); //$NON-NLS-1$ dialog.open(); } } |