use of com.revolsys.io.file.FileConnectionManager in project com.revolsys.open by revolsys.
the class FolderConnectionsTrees method newFolderConnectionsTreeNode.
public static BaseTreeNode newFolderConnectionsTreeNode() {
final FileConnectionManager connectionManager = FileConnectionManager.get();
final BaseTreeNode node = BaseTreeNode.newTreeNode(connectionManager);
node.setOpen(true);
return node;
}
use of com.revolsys.io.file.FileConnectionManager in project com.revolsys.open by revolsys.
the class ProjectFrame method setConnectionRegistries.
private void setConnectionRegistries() {
final String connectionRegistryName = this.project.getConnectionRegistryName();
final RecordStoreConnectionManager recordStoreConnectionManager = RecordStoreConnectionManager.get();
recordStoreConnectionManager.removeConnectionRegistry(connectionRegistryName);
final RecordStoreConnectionRegistry recordStores = this.project.getRecordStores();
recordStoreConnectionManager.addConnectionRegistry(recordStores);
final FileConnectionManager fileConnectionManager = FileConnectionManager.get();
fileConnectionManager.removeConnectionRegistry(connectionRegistryName);
final FolderConnectionRegistry folderConnections = this.project.getFolderConnections();
fileConnectionManager.addConnectionRegistry(folderConnections);
final WebServiceConnectionManager webServiceConnectionManager = WebServiceConnectionManager.get();
webServiceConnectionManager.removeConnectionRegistry(connectionRegistryName);
final WebServiceConnectionRegistry webServices = this.project.getWebServices();
webServiceConnectionManager.addConnectionRegistry(webServices);
}
Aggregations