Revision 707b6237
Added by Niels Hoffmann over 12 years ago
eu.etaxonomy.taxeditor.printpublisher/src/main/java/eu/etaxonomy/taxeditor/printpublisher/wizard/DirectPublishingWizard.java | ||
---|---|---|
10 | 10 |
|
11 | 11 |
package eu.etaxonomy.taxeditor.printpublisher.wizard; |
12 | 12 |
|
13 |
import org.eclipse.jface.viewers.IStructuredSelection; |
|
14 |
import org.eclipse.ui.IWorkbench; |
|
15 |
|
|
13 | 16 |
import eu.etaxonomy.cdm.print.PublishConfigurator; |
17 |
import eu.etaxonomy.cdm.print.out.IPublishOutputModule; |
|
14 | 18 |
|
15 | 19 |
/** |
16 | 20 |
* <p>DirectPublishingWizard class.</p> |
... | ... | |
28 | 32 |
*/ |
29 | 33 |
public DirectPublishingWizard(PublishConfigurator configurator) { |
30 | 34 |
setConfigurator(configurator); |
31 |
setOutputModule(configurator.getOutputModules().iterator().next()); |
|
35 |
IPublishOutputModule module = configurator.getOutputModules().iterator().next(); |
|
36 |
setOutputModule(module); |
|
32 | 37 |
} |
33 | 38 |
|
34 | 39 |
/** {@inheritDoc} */ |
35 | 40 |
@Override |
36 | 41 |
public void addPages() { |
37 |
pageOptions = new OptionsWizardPage(PAGE_OPTIONS); |
|
42 |
pageOptions = new SelectOptionsWizardPage(PAGE_OPTIONS);
|
|
38 | 43 |
addPage(pageOptions); |
39 | 44 |
|
40 | 45 |
pageFeatureTree = new SelectFeatureTreeWizardPage(PAGE_FEATURETREE); |
41 | 46 |
addPage(pageFeatureTree); |
42 | 47 |
|
43 |
pageFolder = new SelectFolderWizardPage(PAGE_FOLDER); |
|
48 |
pageStylesheet = new SelectStylesheetWizardPage(PAGE_STYLESHEET); |
|
49 |
addPage(pageStylesheet); |
|
50 |
|
|
51 |
pageFolder = new SelectDirectoryWizardPage(PAGE_FOLDER); |
|
44 | 52 |
addPage(pageFolder); |
45 | 53 |
|
46 |
pageOverview = new OverviewWizardPage(PAGE_OVERVIEW); |
|
47 |
addPage(pageOverview); |
|
48 | 54 |
} |
49 |
|
|
55 |
|
|
50 | 56 |
/** {@inheritDoc} */ |
51 | 57 |
@Override |
52 | 58 |
public boolean performFinish() { |
Also available in: Unified diff
Merged with trunk