(no commit message)
[taxeditor.git] / taxeditor-printpublisher / src / main / java / eu / etaxonomy / printpublisher / wizard / OverviewWizardPage.java
1 // $Id$
2 /**
3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
6 *
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
9 */
10
11 package eu.etaxonomy.printpublisher.wizard;
12
13 import org.apache.log4j.Logger;
14 import org.eclipse.swt.SWT;
15 import org.eclipse.swt.layout.GridLayout;
16 import org.eclipse.swt.widgets.Composite;
17 import org.eclipse.swt.widgets.Label;
18
19 /**
20 * @author n.hoffmann
21 * @created Apr 6, 2010
22 * @version 1.0
23 */
24 public class OverviewWizardPage extends AbstractPublishWizardPage {
25 private static final Logger logger = Logger
26 .getLogger(OverviewWizardPage.class);
27
28 private Composite composite;
29
30 private Label serviceUrl;
31
32 private Label exportFolder;
33
34 /**
35 * @param pageName
36 */
37 public OverviewWizardPage(String pageName) {
38 super(pageName);
39 setTitle("Overview");
40 }
41
42 /* (non-Javadoc)
43 * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
44 */
45 public void createControl(Composite parent) {
46
47 composite = new Composite(parent, SWT.NULL);
48 composite.setLayout(new GridLayout());
49
50 // serviceUrl = new Label(composite, SWT.NULL);
51
52 exportFolder = new Label(composite, SWT.NULL);
53
54 setControl(composite);
55 }
56
57 public void refresh() {
58 // serviceUrl.setText(getConfigurator().getWebserviceUrl().toString());
59 exportFolder.setText(getConfigurator().getExportFolder().toString());
60 composite.layout();
61 }
62 }