list.add(netInterfaces);
}
/* the same host */
for (final Info info: treeMenuController.nodesToInfos(hostBrowser.getNetInterfacesNode().children())) {
final NetInfo netInfo = (NetInfo) info;
final ProxyNetInfo proxyNetInfo = proxyNetInfoProvider.get();
proxyNetInfo.init(netInfo, hostBrowser, hostBrowser.getHost());
list.add(proxyNetInfo);
}
/* other nodes */
for (final Host h : getCluster().getProxyHosts()) {
if (h == hostBrowser.getHost()) {
continue;
}
for (final Info info : treeMenuController.nodesToInfos(hostBrowser.getNetInterfacesNode().children())) {
final NetInfo netInfo = (NetInfo) info;
if (netInfo.isLocalHost()) {
continue;
}
final ProxyNetInfo proxyNetInfo = proxyNetInfoProvider.get();
proxyNetInfo.init(netInfo, hostBrowser, h);
list.add(proxyNetInfo);