diff options
author | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 18:55:06 +0000 |
---|---|---|
committer | tkellner <tkellner@174cde9d-5d70-4d2a-aa98-46368bc2aaf7> | 2013-04-10 18:55:06 +0000 |
commit | dae9f0b267ddd4f6acbef3721e7910823ebedc05 (patch) | |
tree | a2cb0c2121b00c380769c4599043faa6f9bc5c81 /pdf-over-gui | |
parent | 2ffbf6be3efa295b5883c94b32f634218082d4a1 (diff) | |
download | pdf-over-dae9f0b267ddd4f6acbef3721e7910823ebedc05.tar.gz pdf-over-dae9f0b267ddd4f6acbef3721e7910823ebedc05.tar.bz2 pdf-over-dae9f0b267ddd4f6acbef3721e7910823ebedc05.zip |
Remove accidentally committed file
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@37 174cde9d-5d70-4d2a-aa98-46368bc2aaf7
Diffstat (limited to 'pdf-over-gui')
-rw-r--r-- | pdf-over-gui/src/main/java/at/asit/pdfover/gui/GUI.java | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/GUI.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/GUI.java deleted file mode 100644 index 9b9f8a63..00000000 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/GUI.java +++ /dev/null @@ -1,100 +0,0 @@ -/* - * Copyright 2012 by A-SIT, Secure Information Technology Center Austria - * - * Licensed under the EUPL, Version 1.1 or - as soon they will be approved by - * the European Commission - subsequent versions of the EUPL (the "Licence"); - * You may not use this work except in compliance with the Licence. - * You may obtain a copy of the Licence at: - * http://joinup.ec.europa.eu/software/page/eupl - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the Licence is distributed on an "AS IS" basis, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the Licence for the specific language governing permissions and - * limitations under the Licence. - */ -package at.asit.pdfover.gui; - -// Imports -import org.eclipse.swt.SWT; -import org.eclipse.swt.events.SelectionAdapter; -import org.eclipse.swt.events.SelectionEvent; -import org.eclipse.swt.widgets.Button; -import org.eclipse.swt.widgets.Composite; -import org.eclipse.swt.widgets.Display; -import org.eclipse.swt.widgets.Label; -import org.eclipse.swt.widgets.Shell; - -/** - * - */ -public class GUI { - /** - * Main window - */ - protected Shell shell; - - /** - * Launch the application. - * @param args - */ - public static void main(String[] args) { - try { - GUI window = new GUI(); - window.open(); - } catch (Exception e) { - e.printStackTrace(); - } - } - - /** - * Open the window. - */ - public void open() { - Display display = Display.getDefault(); - createContents(); - this.shell.open(); - this.shell.layout(); - while (!this.shell.isDisposed()) { - if (!display.readAndDispatch()) { - display.sleep(); - } - } - } - - /** - * Create contents of the window. - */ - protected void createContents() { - this.shell = new Shell(); - this.shell.setSize(640, 480); - this.shell.setText("PDF-Over 4.0"); - - final Composite compOpenFile = new Composite(this.shell, SWT.NONE); - compOpenFile.setBounds(0, 0, 640, 480); - - final Composite compPosition = new Composite(this.shell, SWT.NONE); - compPosition.setBounds(0, 0, 640, 480); - - - Label lblPage1 = new Label(compOpenFile, SWT.NONE); - lblPage1.setBounds(20, 20, 70, 17); - lblPage1.setText("Open file"); - - Button btnNext = new Button(compOpenFile, SWT.NONE); - btnNext.addSelectionListener(new SelectionAdapter() { - @Override - public void widgetSelected(SelectionEvent arg0) { - compPosition.moveAbove(compOpenFile); - } - }); - btnNext.setBounds(20, 50, 91, 29); - btnNext.setText("Next"); - - Label lblPage2 = new Label(compPosition, SWT.NONE); - lblPage2.setBounds(20, 20, 140, 17); - lblPage2.setText("Position signature"); - - - } -} |