use of org.apache.cayenne.modeler.dialog.db.load.TransferableNode in project cayenne by apache.
the class DbImportTree method printIncludeTables.
private void printIncludeTables(Collection<IncludeTable> collection, DbImportTreeNode parent) {
for (IncludeTable includeTable : collection) {
DbImportTreeNode node = !isTransferable ? new DbImportTreeNode(includeTable) : new TransferableNode(includeTable);
if (!node.getSimpleNodeName().equals("")) {
if (isTransferable && includeTable.getIncludeColumns().isEmpty() && includeTable.getExcludeColumns().isEmpty()) {
printParams(Collections.singletonList(new IncludeColumn("Loading...")), node);
}
printParams(includeTable.getIncludeColumns(), node);
printParams(includeTable.getExcludeColumns(), node);
parent.add(node);
}
}
}
Aggregations