Runnable () { AbstractTreeNode<?> node = getNode(); if (node instanceof RemoteServerNode) { return () -> RemoteServersManager.getInstance().removeServer(((RemoteServerNode)node).getServer()); } return null; }