use of org.apache.cayenne.modeler.util.EntityTreeRelationshipFilter in project cayenne by apache.
the class ObjRelationshipInfo method initFromModel.
void initFromModel() {
if (view.pathBrowser.getModel() == null) {
EntityTreeModel treeModel = new EntityTreeModel(getStartEntity());
treeModel.setFilter(new EntityTreeRelationshipFilter());
view.pathBrowser.setModel(treeModel);
setSelectionPath(getSavedDbRelationships());
}
}
Aggregations