performed javacscript:fix and worked on documentation
[taxeditor.git] / taxeditor-store / src / main / java / eu / etaxonomy / taxeditor / newWizards / NewNameWizard.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.newWizards;
12
13 import org.eclipse.jface.viewers.IStructuredSelection;
14 import org.eclipse.jface.wizard.Wizard;
15 import org.eclipse.ui.INewWizard;
16 import org.eclipse.ui.IWorkbench;
17
18 import eu.etaxonomy.cdm.model.name.NonViralName;
19
20 /**
21 * <p>NewNameWizard class.</p>
22 *
23 * @author n.hoffmann
24 * @created Apr 16, 2010
25 * @version 1.0
26 */
27 public class NewNameWizard extends Wizard implements INewWizard {
28
29 /** Constant <code>NEW_NAME="NEW_NAME"</code> */
30 public static final String NEW_NAME = "NEW_NAME";
31
32 private NewNameWizardPage page;
33
34 /**
35 * <p>Constructor for NewNameWizard.</p>
36 */
37 public NewNameWizard(){
38 setWindowTitle("New Scientific Name");
39 }
40
41 /*
42 * (non-Javadoc)
43 * @see org.eclipse.jface.wizard.Wizard#addPages()
44 */
45 /** {@inheritDoc} */
46 @Override
47 public void addPages() {
48 page = new NewNameWizardPage(NEW_NAME);
49
50 addPage(page);
51 }
52
53 /* (non-Javadoc)
54 * @see org.eclipse.jface.wizard.Wizard#performFinish()
55 */
56 /** {@inheritDoc} */
57 @Override
58 public boolean performFinish() {
59
60 // TODO
61
62 return false;
63 }
64
65 /** {@inheritDoc} */
66 public void init(IWorkbench workbench, IStructuredSelection selection) {
67
68 }
69
70 /**
71 * <p>getName</p>
72 *
73 * @return a {@link eu.etaxonomy.cdm.model.name.NonViralName} object.
74 */
75 public NonViralName getName() {
76 return null;
77 }
78 }