Project

General

Profile

Revision 1c59050a

ID1c59050acd480a3774375da608653b2431629a74
Parent 4832aaf7
Child df6e6291

Added by Patrick Plitzner over 1 year ago

ref #8146 Restrict tree selection in descriptive data set editor

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/descriptiveDataSet/DescriptiveDataSetEditor.java
58 58
import eu.etaxonomy.cdm.api.service.ITaxonNodeService;
59 59
import eu.etaxonomy.cdm.api.service.ITermService;
60 60
import eu.etaxonomy.cdm.model.common.DefinedTermBase;
61
import eu.etaxonomy.cdm.model.common.TermType;
61 62
import eu.etaxonomy.cdm.model.description.DescriptiveDataSet;
62 63
import eu.etaxonomy.cdm.model.description.FeatureTree;
63 64
import eu.etaxonomy.cdm.model.location.NamedArea;
......
165 166
            }
166 167
        });
167 168

  
168
        composite.getFeatureTreeEditorComposite().init("Character Tree", null, null, e->selectionService.setSelection(e.getSelection()), this, null);
169
        composite.getFeatureTreeEditorComposite().init("Character Tree",
170
                TermType.Character,
171
                null,
172
                null,
173
                e->selectionService.setSelection(e.getSelection()),
174
                this,
175
                null);
169 176

  
170 177
        //add drag'n'drop support
171 178
        Transfer[] transfers = new Transfer[] {LocalSelectionTransfer.getTransfer()};

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)