3 * Copyright (C) 2017 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.taxeditor
.navigation
.navigator
.e4
;
12 import eu
.etaxonomy
.taxeditor
.navigation
.navigator
.Root
;
13 import eu
.etaxonomy
.taxeditor
.util
.TaxonTreeNodeContentProvider
;
20 public class TaxonNavigatorContentProviderE4
extends TaxonTreeNodeContentProvider
{
26 public Object
[] getChildren(Object parentElement
) {
27 if (parentElement
instanceof Root
) {
28 return ((Root
) parentElement
).getParentBeans().toArray();
30 return super.getChildren(parentElement
);