void () { RemoteServer<?> server = (RemoteServer<?>)myNode.getServerNode().getValue(); ServerConnection<?> connection = ServerConnectionManager.getInstance().getConnection(server); if (connection == null) return; Deployment deployment = findDeployment(connection); if (deployment == null) return; AppUIExecutor.onUiThread().expireWith(myProject).submit(() -> mySelector.select(connection, deployment.getName(), myLogName)); }