3 * Copyright (C) 2007 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
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.
11 package eu
.etaxonomy
.taxeditor
.ui
.section
.name
;
13 import org
.eclipse
.jface
.wizard
.Wizard
;
15 import eu
.etaxonomy
.cdm
.api
.conversation
.ConversationHolder
;
16 import eu
.etaxonomy
.cdm
.api
.conversation
.IConversationEnabled
;
17 import eu
.etaxonomy
.cdm
.model
.name
.NameRelationship
;
18 import eu
.etaxonomy
.cdm
.persistence
.hibernate
.CdmDataChangeMap
;
21 * <p>NameRelationshipWizard class.</p>
24 * @created Jun 1, 2010
27 public class NameRelationshipWizard
extends Wizard
implements IConversationEnabled
{
29 private static NameRelationshipDetailSection callingSection
;
32 * <p>Constructor for NameRelationshipWizard.</p>
34 * @param callingSection a {@link eu.etaxonomy.taxeditor.ui.section.name.NameRelationshipDetailSection} object.
36 public NameRelationshipWizard(NameRelationshipDetailSection callingSection
) {
37 NameRelationshipWizard
.callingSection
= callingSection
;
40 private NameRelationshipWizardPage page
;
44 public void addPages() {
45 page
= new NameRelationshipWizardPage(callingSection
);
51 * @see org.eclipse.jface.wizard.Wizard#performFinish()
55 public boolean performFinish() {
56 return page
.isPageComplete();
62 * <p>getNameRelationship</p>
64 * @return a {@link eu.etaxonomy.cdm.model.name.NameRelationship} object.
66 public NameRelationship
getNameRelationship() {
67 return page
.getNameRelationship();
71 * <p>getConversationHolder</p>
73 * @return a {@link eu.etaxonomy.cdm.api.conversation.ConversationHolder} object.
75 public ConversationHolder
getConversationHolder() {
76 return callingSection
.getConversationHolder();
80 public void update(CdmDataChangeMap changeEvents
) {}