summaryrefslogtreecommitdiff
path: root/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java
diff options
context:
space:
mode:
authortkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 18:58:27 +0000
committertkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7>2013-04-10 18:58:27 +0000
commit96a1a5c9d04238c63247794ad9c76e5a2001b8d0 (patch)
treec0b05f0378e84e53a73cdfb62612a7d3e6ecb40a /pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java
parentb8b015d3fa3b58cb5e70b4cd2ad1b8fe2a424af9 (diff)
downloadpdf-over-96a1a5c9d04238c63247794ad9c76e5a2001b8d0.tar.gz
pdf-over-96a1a5c9d04238c63247794ad9c76e5a2001b8d0.tar.bz2
pdf-over-96a1a5c9d04238c63247794ad9c76e5a2001b8d0.zip
Moved Mobile BKU URL to configuration file
Extracted localizable Strings git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@61 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java')
-rw-r--r--pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java29
1 files changed, 3 insertions, 26 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java
index 8a9c217d..1086992b 100644
--- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java
+++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/MainWindow.java
@@ -21,7 +21,6 @@ import java.util.EnumMap;
import java.util.Map;
import org.eclipse.swt.SWT;
-import org.eclipse.swt.custom.CLabel;
import org.eclipse.swt.custom.StackLayout;
import org.eclipse.swt.events.MouseEvent;
import org.eclipse.swt.events.MouseListener;
@@ -59,7 +58,6 @@ public class MainWindow {
static final Logger log = LoggerFactory.getLogger(MainWindow.class);
private Shell shell;
- private CLabel lbl_status;
private Composite container;
private StackLayout stack;
StateMachine stateMachine;
@@ -117,18 +115,6 @@ public class MainWindow {
}
/**
- * Set current status (may be removed in production release)
- *
- * @param value
- */
- public void setStatus(String value) {
- if (this.getShell().isDisposed()) {
- return;
- }
- this.lbl_status.setText("[DEBUG]: Current workflow state: " + value); //$NON-NLS-1$
- }
-
- /**
* Sets top level composite for stack layout
*
* @param ctrl
@@ -252,8 +238,8 @@ public class MainWindow {
fd_btn_open.top = new FormAttachment(0);
fd_btn_open.left = new FormAttachment(0, 45);
this.btn_open.setLayoutData(fd_btn_open);
- this.btn_open.setText(Messages.getString("main.open")); //$NON-NLS-1$
- this.btn_open.setToolTipText(Messages.getString("main.open")); //$NON-NLS-1$
+ this.btn_open.setText(Messages.getString("common.open")); //$NON-NLS-1$
+ this.btn_open.setToolTipText(Messages.getString("common.open")); //$NON-NLS-1$
this.btn_open.addMouseListener(new MouseListener() {
@Override
@@ -327,22 +313,13 @@ public class MainWindow {
this.container = new Composite(getShell(), SWT.RESIZE);
FormData fd_composite_1 = new FormData();
- fd_composite_1.bottom = new FormAttachment(100, -25);
+ fd_composite_1.bottom = new FormAttachment(100, -5);
fd_composite_1.right = new FormAttachment(100, -5);
fd_composite_1.top = new FormAttachment(0, 50);
fd_composite_1.left = new FormAttachment(0, 5);
this.container.setLayoutData(fd_composite_1);
this.stack = new StackLayout();
this.container.setLayout(this.stack);
-
- this.lbl_status = new CLabel(getShell(), SWT.NONE);
- FormData fd_lblNewLabel = new FormData();
- fd_lblNewLabel.right = new FormAttachment(100, -5);
- fd_lblNewLabel.bottom = new FormAttachment(100, -5);
- fd_lblNewLabel.top = new FormAttachment(100, -20);
- fd_lblNewLabel.left = new FormAttachment(0, 5);
- this.lbl_status.setLayoutData(fd_lblNewLabel);
- this.lbl_status.setText("DEBUG LABEL!!"); //$NON-NLS-1$
}
/**