use of com.kyj.fx.voeditor.visual.component.sql.dbtree.DatabaseTreeNode 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;
}
use of com.kyj.fx.voeditor.visual.component.sql.dbtree.DatabaseTreeNode in project Gargoyle by callakrsos.
the class MysqlPane method apply.
@Override
public TreeItem<DatabaseItemTree<String>> apply(String t, Supplier<Connection> conSupplier) {
try {
DatabaseItemTree<String> databaseItemTree = new MySQLDatabaseItemTree("databases", conSupplier);
TreeItem<DatabaseItemTree<String>> createNode = new DatabaseTreeNode().createNode(databaseItemTree);
return createNode;
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
use of com.kyj.fx.voeditor.visual.component.sql.dbtree.DatabaseTreeNode in project Gargoyle by callakrsos.
the class OracleSqlPane method apply.
@Override
public TreeItem<DatabaseItemTree<String>> apply(String t, Supplier<Connection> conSupplier) {
try {
DatabaseItemTree<String> databaseItemTree = new OracleDatabaseItemTree("databases", conSupplier);
TreeItem<DatabaseItemTree<String>> createNode = new DatabaseTreeNode().createNode(databaseItemTree);
return createNode;
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
use of com.kyj.fx.voeditor.visual.component.sql.dbtree.DatabaseTreeNode in project Gargoyle by callakrsos.
the class H2Pane method apply.
@Override
public TreeItem<DatabaseItemTree<String>> apply(String t, Supplier<Connection> conSupplier) {
try {
DatabaseItemTree<String> databaseItemTree = new H2DatabaseItemTree("databases", conSupplier);
TreeItem<DatabaseItemTree<String>> createNode = new DatabaseTreeNode().createNode(databaseItemTree);
return createNode;
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
use of com.kyj.fx.voeditor.visual.component.sql.dbtree.DatabaseTreeNode in project Gargoyle by callakrsos.
the class SqlitePane method apply.
@Override
public TreeItem<DatabaseItemTree<String>> apply(String t, Supplier<Connection> conSupplier) {
try {
DatabaseItemTree<String> databaseItemTree = new SqliteDatabaseItemTree("databases", conSupplier);
TreeItem<DatabaseItemTree<String>> createNode = new DatabaseTreeNode().createNode(databaseItemTree);
return createNode;
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
Aggregations