use of com.kyj.fx.voeditor.visual.component.sql.dbtree.postgre.PostgreDatabaseItemTree in project Gargoyle by callakrsos.
the class PostgreSqlPane method apply.
@Override
public TreeItem<DatabaseItemTree<String>> apply(String t, Supplier<Connection> conSupplier) {
try {
DatabaseItemTree<String> databaseItemTree = new PostgreDatabaseItemTree("databases", conSupplier);
TreeItem<DatabaseItemTree<String>> createNode = new DatabaseTreeNode().createNode(databaseItemTree);
return createNode;
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
Aggregations