summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/states/OpenState.java16
1 files changed, 8 insertions, 8 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 78b9db3c..1e04a446 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
@@ -67,7 +67,7 @@ public class OpenState extends State {
**/
private static final Logger log = LoggerFactory
.getLogger(OpenState.class);
- private static final String advancedConfig = Constants.CONFIG_DIRECTORY + File.separator + "/cfg/advancedconfig.properties"; //
+ private static final String advancedConfig = Constants.CONFIG_DIRECTORY + File.separator + "/cfg/advancedconfig.properties";
private DataSourceSelectComposite selectionComposite = null;
@@ -106,7 +106,7 @@ public class OpenState extends State {
return;
}
}
- log.debug("Got Datasource: " + getStateMachine().getStatus().getDocument().getAbsolutePath()); //
+ log.debug("Got Datasource: " + getStateMachine().getStatus().getDocument().getAbsolutePath());
// scan for signature placeholders
// - see if we want to scan for placeholders in the settings
@@ -128,8 +128,8 @@ public class OpenState extends State {
// icon
MessageBox dialog = new MessageBox(getStateMachine().getGUIProvider().getMainShell(),
SWT.ICON_QUESTION | SWT.YES | SWT.NO | SWT.CANCEL);
- dialog.setText(Messages.getString("dataSourceSelection.usePlaceholderTitle")); //
- dialog.setMessage(Messages.getString("dataSourceSelection.usePlaceholderText")); //
+ dialog.setText(Messages.getString("dataSourceSelection.usePlaceholderTitle"));
+ dialog.setMessage(Messages.getString("dataSourceSelection.usePlaceholderText"));
// open dialog and await user selection
int result = dialog.open();
@@ -143,8 +143,8 @@ public class OpenState extends State {
} else if (fields.size() > 1) {
PlaceholderSelectionGui gui = new PlaceholderSelectionGui(
- getStateMachine().getGUIProvider().getMainShell(), 65570, "text", //
- "select the fields", fields); //
+ getStateMachine().getGUIProvider().getMainShell(), 65570, "text",
+ "select the fields", fields);
int res = gui.open();
if (res != -1) {
getStateMachine().getStatus().setSearchForPlaceholderSignature(true);
@@ -174,8 +174,8 @@ public class OpenState extends State {
// create a dialog with ok and cancel buttons and a question icon
MessageBox dialog = new MessageBox(getStateMachine().getGUIProvider().getMainShell(),
SWT.ICON_QUESTION | SWT.YES | SWT.NO | SWT.CANCEL);
- dialog.setText(Messages.getString("dataSourceSelection.usePlaceholderTitle")); //
- dialog.setMessage(Messages.getString("dataSourceSelection.usePlaceholderText")); //
+ dialog.setText(Messages.getString("dataSourceSelection.usePlaceholderTitle"));
+ dialog.setMessage(Messages.getString("dataSourceSelection.usePlaceholderText"));
// open dialog and await user selection
int result = dialog.open();