3 * Copyright (C) 2017 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.taxeditor
.ui
.dialog
.configurator
;
12 import org
.eclipse
.jface
.wizard
.Wizard
;
14 import eu
.etaxonomy
.cdm
.api
.service
.config
.PublishForSubtreeConfigurator
;
15 import eu
.etaxonomy
.taxeditor
.l10n
.Messages
;
22 public class SetPublishForSubtreeWizard
extends Wizard
{
24 private final PublishForSubtreeConfigurator configurator
;
25 private PublishSubTreeConfiguratorWizardPage page
;
31 * @param dialogTitleImage
32 * @param dialogMessage
33 * @param dialogImageType
34 * @param dialogButtonLabels
38 public SetPublishForSubtreeWizard(PublishForSubtreeConfigurator config
) {
40 this.configurator
= config
;
41 setNeedsProgressMonitor(true);
42 this.setWindowTitle(Messages
.SetPublishConfiguration_Title
);
52 public boolean performFinish() {
59 * @see org.eclipse.jface.wizard.Wizard#addPages()
63 public void addPages() {
64 page
= new PublishSubTreeConfiguratorWizardPage(configurator
);