Search in sources :

Example 1 with EntityTreeStructureInfo

use of io.jmix.reports.app.EntityTreeStructureInfo in project jmix by jmix-framework.

the class EntityTreeModelBuilder method buildEntityTree.

public EntityTree buildEntityTree(MetaClass metaClass) {
    EntityTreeStructureInfo entityTreeStructureInfo = new EntityTreeStructureInfo();
    EntityTreeNode root = createRootNode(metaClass);
    fillChildNodes(root, 1, new HashSet<>(), entityTreeStructureInfo);
    return new EntityTree(root, entityTreeStructureInfo);
}
Also used : EntityTreeNode(io.jmix.reports.entity.wizard.EntityTreeNode) EntityTreeStructureInfo(io.jmix.reports.app.EntityTreeStructureInfo) EntityTree(io.jmix.reports.app.EntityTree)

Aggregations

EntityTree (io.jmix.reports.app.EntityTree)1 EntityTreeStructureInfo (io.jmix.reports.app.EntityTreeStructureInfo)1 EntityTreeNode (io.jmix.reports.entity.wizard.EntityTreeNode)1