2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.taxeditor
.featuretree
;
14 import org
.eclipse
.jface
.wizard
.Wizard
;
16 import eu
.etaxonomy
.cdm
.model
.description
.Feature
;
19 * <p>AvailableFeaturesWizard class.</p>
22 * @created Aug 5, 2010
25 public class AvailableFeaturesWizard
extends Wizard
{
27 private AvailableFeaturesWizardPage page
;
29 private Set
<Feature
> additionalFeatures
;
31 public AvailableFeaturesWizard(){
36 public void addPages() {
37 page
= new AvailableFeaturesWizardPage();
43 public boolean performFinish() {
44 additionalFeatures
= page
.getSelectedFeatures();
45 return additionalFeatures
.size() > 0;
48 public Set
<Feature
> getAdditionalFeatures() {
49 return additionalFeatures
;