ref #6805 Disallow dropping feature nodes above/below feature trees
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / featuretree / AvailableFeaturesWizard.java
index 17151394ca01e7d8c360fb0675c508ee011835e4..bcb659649ab8b74395c498e5af31b7c3a846fbb1 100644 (file)
@@ -1,8 +1,8 @@
 /**
 * Copyright (C) 2007 EDIT
-* European Distributed Institute of Taxonomy 
+* European Distributed Institute of Taxonomy
 * http://www.e-taxonomy.eu
-* 
+*
 * The contents of this file are subject to the Mozilla Public License Version 1.1
 * See LICENSE.TXT at the top of this package for the full license terms.
 */
@@ -14,7 +14,6 @@ import java.util.Set;
 import org.eclipse.jface.wizard.Wizard;
 
 import eu.etaxonomy.cdm.model.description.Feature;
-import eu.etaxonomy.cdm.model.description.FeatureTree;
 
 /**
  * <p>AvailableFeaturesWizard class.</p>
@@ -24,29 +23,21 @@ import eu.etaxonomy.cdm.model.description.FeatureTree;
  * @version 1.0
  */
 public class AvailableFeaturesWizard extends Wizard {
-       
-       private FeatureTree featureTree;
 
        private AvailableFeaturesWizardPage page;
 
        private Set<Feature> additionalFeatures;
-       
-       /**
-        * <p>Constructor for AvailableFeaturesWizard.</p>
-        *
-        * @param featureTree a {@link eu.etaxonomy.cdm.model.description.FeatureTree} object.
-        */
-       public AvailableFeaturesWizard(FeatureTree featureTree){
-               this.featureTree = featureTree;
+
+       public AvailableFeaturesWizard(){
        }
-       
+
        /** {@inheritDoc} */
        @Override
        public void addPages() {
-               page = new AvailableFeaturesWizardPage(featureTree);
+               page = new AvailableFeaturesWizardPage();
                addPage(page);
        }
-       
+
        /** {@inheritDoc} */
        @Override
        public boolean performFinish() {
@@ -54,11 +45,6 @@ public class AvailableFeaturesWizard extends Wizard {
                return additionalFeatures.size() > 0;
        }
 
-       /**
-        * <p>Getter for the field <code>additionalFeatures</code>.</p>
-        *
-        * @return a {@link java.util.Set} object.
-        */
        public Set<Feature> getAdditionalFeatures() {
                return additionalFeatures;
        }