Project

General

Profile

Revision 20abbff9

ID20abbff92d2bee3ea7063633f35dbdfa5d2c960c
Parent eac96113
Child e0a54776

Added by Andreas Kohlbecker about 2 years ago

ref #8398 adapting taxeditor to changes in NameRelationship

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/ui/section/name/NameRelationshipWizardPage.java
9 9

  
10 10
package eu.etaxonomy.taxeditor.ui.section.name;
11 11

  
12
import java.awt.Composite;
13
import java.beans.PropertyChangeEvent;
14

  
12 15
import org.eclipse.jface.util.IPropertyChangeListener;
13
import org.eclipse.jface.util.PropertyChangeEvent;
14 16
import org.eclipse.swt.SWT;
15
import org.eclipse.swt.widgets.Composite;
16 17

  
17 18
import eu.etaxonomy.cdm.model.name.NameRelationship;
18 19
import eu.etaxonomy.cdm.model.name.NameRelationshipType;
......
102 103
	public NameRelationship getNameRelationship() {
103 104
	    NameRelationship rel;
104 105
	    if (inverse){
105
	        rel = entity.addRelationshipFromName(relatedName, type, null, null, null);
106
	        rel = entity.addRelationshipFromName(relatedName, type, null, null, null, null);
106 107
	    }else{
107
	        rel = entity.addRelationshipToName(relatedName, type, null, null, null);
108
	        rel = entity.addRelationshipToName(relatedName, type, null, null, null, null);
108 109
	    }
109 110
	    return rel;
110 111
	}

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)