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.taxeditor.printpublisher.wizard;
|
12
|
|
13
|
import org.eclipse.swt.SWT;
|
14
|
import org.eclipse.swt.layout.GridLayout;
|
15
|
import org.eclipse.swt.widgets.Composite;
|
16
|
import org.eclipse.swt.widgets.Label;
|
17
|
|
18
|
/**
|
19
|
* <p>OverviewWizardPage class.</p>
|
20
|
*
|
21
|
* @author n.hoffmann
|
22
|
* @created Apr 6, 2010
|
23
|
* @version 1.0
|
24
|
*/
|
25
|
public class OverviewWizardPage extends AbstractPublishWizardPage {
|
26
|
|
27
|
private Composite composite;
|
28
|
|
29
|
private Label serviceUrl;
|
30
|
|
31
|
private Label exportFolder;
|
32
|
|
33
|
/**
|
34
|
* <p>Constructor for OverviewWizardPage.</p>
|
35
|
*
|
36
|
* @param pageName a {@link java.lang.String} object.
|
37
|
*/
|
38
|
public OverviewWizardPage(String pageName) {
|
39
|
super(pageName);
|
40
|
setTitle("Overview");
|
41
|
}
|
42
|
|
43
|
/* (non-Javadoc)
|
44
|
* @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
|
45
|
*/
|
46
|
/** {@inheritDoc} */
|
47
|
public void createControl(Composite parent) {
|
48
|
|
49
|
composite = new Composite(parent, SWT.NULL);
|
50
|
composite.setLayout(new GridLayout());
|
51
|
|
52
|
// serviceUrl = new Label(composite, SWT.NULL);
|
53
|
|
54
|
exportFolder = new Label(composite, SWT.NULL);
|
55
|
|
56
|
setControl(composite);
|
57
|
}
|
58
|
|
59
|
/**
|
60
|
* <p>refresh</p>
|
61
|
*/
|
62
|
public void refresh() {
|
63
|
// serviceUrl.setText(getConfigurator().getWebserviceUrl().toString());
|
64
|
exportFolder.setText(getConfigurator().getExportFolder().toString());
|
65
|
composite.layout();
|
66
|
}
|
67
|
}
|