Project

General

Profile

« Previous | Next » 

Revision 3be6ef3e

Added by Niels Hoffmann over 13 years ago

performed javacscript:fix and worked on documentation

View differences:

taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/section/name/NameRelationshipWizardPage.java
28 28
import eu.etaxonomy.taxeditor.forms.term.NameRelationshipTypeComboElement;
29 29

  
30 30
/**
31
 * <p>NameRelationshipWizardPage class.</p>
32
 *
31 33
 * @author n.hoffmann
32 34
 * @created Jun 1, 2010
33 35
 * @version 1.0
......
63 65
	private RootElement rootElement;
64 66

  
65 67
	
68
	/**
69
	 * <p>Constructor for NameRelationshipWizardPage.</p>
70
	 *
71
	 * @param callingSection a {@link eu.etaxonomy.taxeditor.section.name.NameRelationshipDetailSection} object.
72
	 */
66 73
	protected NameRelationshipWizardPage(NameRelationshipDetailSection callingSection) {
67 74
		super("NameRelationshipWizardPage");
68 75
		setTitle("New Name Relationship");
......
77 84
	/* (non-Javadoc)
78 85
	 * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
79 86
	 */
87
	/** {@inheritDoc} */
80 88
	public void createControl(Composite parent) {
81 89
		this.setPageComplete(false);
82 90
		
......
93 101
		setControl(control);	
94 102
	}
95 103
	
104
	/**
105
	 * <p>getNameRelationship</p>
106
	 *
107
	 * @return a {@link eu.etaxonomy.cdm.model.name.NameRelationship} object.
108
	 */
96 109
	public NameRelationship getNameRelationship(){
97 110
		return entity.addRelationshipToName(toName, type, null, null, null);
98 111
	}
99 112
	
113
	/** {@inheritDoc} */
100 114
	public void propertyChange(PropertyChangeEvent event) {
101 115
		if(event == null){
102 116
			return;
......
112 126
		setPageComplete(type != null && toName != null);
113 127
	}
114 128
	
129
	/** {@inheritDoc} */
115 130
	@Override
116 131
	public void dispose() {
117 132
		rootElement.removeElements();

Also available in: Unified diff