import org.eclipse.swt.widgets.Text;
import org.eclipse.swt.widgets.Tree;
+import eu.etaxonomy.cdm.api.service.l10n.TermRepresentation_L10n;
import eu.etaxonomy.cdm.model.description.Feature;
import eu.etaxonomy.cdm.model.name.Rank;
import eu.etaxonomy.cdm.model.term.TermTree;
import eu.etaxonomy.cdm.model.term.TermType;
import eu.etaxonomy.cdm.persistence.dto.TermDto;
-import eu.etaxonomy.cdm.remote.l10n.TermRepresentation_L10n;
import eu.etaxonomy.taxeditor.editor.l10n.Messages;
-import eu.etaxonomy.taxeditor.featuretree.e4.FeatureTreeEditorComposite;
+import eu.etaxonomy.taxeditor.featuretree.e4.TermTreeEditorComposite;
import eu.etaxonomy.taxeditor.model.ImageResources;
import eu.etaxonomy.taxeditor.ui.combo.term.TermUuidComboViewer;
import eu.etaxonomy.taxeditor.util.TaxonTreeNodeContentProvider;
private Text txtDescriptiveDataSet;
private TermUuidComboViewer comboRankMin;
private TermUuidComboViewer comboRankMax;
- private FeatureTreeEditorComposite<Feature> featureTreeEditorComposite;
+ private TermTreeEditorComposite<Feature> TermTreeEditorComposite;
private TreeViewer taxonNodeTree;
private List<TermDto> areas = new ArrayList<>();
private Text textAreaText;
btnChooseArea = new Button(composite, SWT.NONE);
btnChooseArea.setImage(ImageResources.getImage(ImageResources.BROWSE_ICON));
- featureTreeEditorComposite = new FeatureTreeEditorComposite<>(this, SWT.NONE);
- featureTreeEditorComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1));
+ TermTreeEditorComposite = new TermTreeEditorComposite<>(this, SWT.NONE);
+ TermTreeEditorComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true, 2, 1));
}
@Override
comboRankMax.setElement(max);
}
- public FeatureTreeEditorComposite<Feature> getFeatureTreeEditorComposite() {
- return featureTreeEditorComposite;
+ public TermTreeEditorComposite<Feature> getTermTreeEditorComposite() {
+ return TermTreeEditorComposite;
}
public TermTree<Feature> getCharacters(){
- return featureTreeEditorComposite.getFeatureTree();
+ return TermTreeEditorComposite.getFeatureTree();
}
public void setCharacters(TermTree<Feature> characters) {
- featureTreeEditorComposite.setSelectedTree(characters);
+ TermTreeEditorComposite.setSelectedTree(characters);
}
public TreeViewer getTaxonNodeTree() {