2 * Copyright (C) 2019 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
9 package eu
.etaxonomy
.taxeditor
.featuretree
.e4
;
11 import java
.util
.List
;
13 import eu
.etaxonomy
.cdm
.api
.service
.ITermTreeService
;
14 import eu
.etaxonomy
.cdm
.model
.term
.TermTree
;
15 import eu
.etaxonomy
.cdm
.model
.term
.TermType
;
16 import eu
.etaxonomy
.taxeditor
.store
.CdmStore
;
23 public class StructureTreeEditor
extends AbstractTermTreeEditor
{
26 protected List
<TermTree
> getTrees(){
27 return CdmStore
.getService(ITermTreeService
.class).list(TermType
.Structure
, null, null, null, TREE_PROPERTY_PATH
);
31 public TermType
getTermType() {
32 return TermType
.Structure
;