Project

General

Profile

Download (1.36 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
 * 
3
 */
4
package eu.etaxonomy.taxeditor.newWizards;
5

    
6
import org.eclipse.jface.viewers.IStructuredSelection;
7
import org.eclipse.jface.wizard.Wizard;
8
import org.eclipse.ui.INewWizard;
9
import org.eclipse.ui.IWorkbench;
10

    
11
import eu.etaxonomy.cdm.model.reference.Reference;
12

    
13
/**
14
 * <p>NewReferenceWizard class.</p>
15
 *
16
 * @author n.hoffmann
17
 * @created Apr 16, 2010
18
 * @version 1.0
19
 */
20
public class NewReferenceWizard extends Wizard implements INewWizard{
21

    
22
	/** Constant <code>NEW_REFERENCE="NEW_REFERENCE"</code> */
23
	public static final String NEW_REFERENCE = "NEW_REFERENCE";
24

    
25
	private NewGenericReferenceWizardPage page;
26
	
27
	/**
28
	 * <p>Constructor for NewReferenceWizard.</p>
29
	 */
30
	public NewReferenceWizard(){
31
		setWindowTitle("New Reference");
32
	}
33
	
34
	/** {@inheritDoc} */
35
	@Override
36
	public void addPages() {
37
		page = new NewGenericReferenceWizardPage(NEW_REFERENCE);
38
		
39
		addPage(page);
40
	}
41
	
42
	/* (non-Javadoc)
43
	 * @see org.eclipse.jface.wizard.Wizard#performFinish()
44
	 */
45
	/** {@inheritDoc} */
46
	@Override
47
	public boolean performFinish() {
48
		
49
		// TODO 
50
		
51
		
52
		return false;
53
	}
54

    
55
	/** {@inheritDoc} */
56
	public void init(IWorkbench workbench, IStructuredSelection selection) {
57
		// TODO Auto-generated method stub
58
		
59
	}
60
	
61
	/**
62
	 * <p>getReference</p>
63
	 *
64
	 * @return a {@link eu.etaxonomy.cdm.model.reference.ReferenceBase} object.
65
	 */
66
	public Reference getReference(){
67
		return null;
68
	}
69

    
70
}
(8-8/8)