d3b85d702b8464f0a87c716f2a0ee43c8a315201
[taxeditor.git] / taxeditor-store / src / main / java / eu / etaxonomy / taxeditor / preference / wizards / FeatureWizard.java
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.preference.wizards;
12
13 import org.apache.log4j.Logger;
14 import org.eclipse.jface.wizard.Wizard;
15
16 import eu.etaxonomy.cdm.model.description.Feature;
17
18 /**
19 * @author n.hoffmann
20 * @created 12.06.2009
21 * @version 1.0
22 */
23 public class FeatureWizard extends Wizard {
24 private static final Logger logger = Logger.getLogger(FeatureWizard.class);
25
26 private Feature selectedFeature = null;
27
28 /**
29 *
30 */
31 public FeatureWizard(){}
32
33 /**
34 *
35 * @param selectedFeature
36 */
37 public FeatureWizard(Feature selectedFeature){
38 this.selectedFeature = selectedFeature;
39 }
40
41 /* (non-Javadoc)
42 * @see org.eclipse.jface.wizard.Wizard#addPages()
43 */
44 @Override
45 public void addPages() {
46 super.addPages();
47
48 addPage(selectedFeature == null ? new FeatureWizardNewPage() : new FeatureWizardEditPage(selectedFeature));
49 }
50
51 /* (non-Javadoc)
52 * @see org.eclipse.jface.wizard.Wizard#performFinish()
53 */
54 @Override
55 public boolean performFinish() {
56 // TODO Auto-generated method stub
57 return false;
58 }
59
60
61
62
63 }